avoid segfault. FIXME please
authorDuncan Mac-Vicar P <dmacvicar@suse.de>
Wed, 6 Feb 2008 02:08:04 +0000 (02:08 +0000)
committerDuncan Mac-Vicar P <dmacvicar@suse.de>
Wed, 6 Feb 2008 02:08:04 +0000 (02:08 +0000)
tools/repo_rpmdb.c

index b407528255c42e41f5e004c4dff50dbf905da5ce..c1d892d84a0e1ba28b51c5b3b7e70d57e276863c 100644 (file)
@@ -486,7 +486,7 @@ rpm2solv(Pool *pool, Repo *repo, Solvable *s, RpmHead *rpmhead)
   evr = headtoevr(rpmhead);
   s->evr = str2id(pool, evr, 1);
   sat_free(evr);
-  s->vendor = str2id(pool, headstring(rpmhead, TAG_VENDOR), 1);
+  //s->vendor = str2id(pool, headstring(rpmhead, TAG_VENDOR), 1);
 
   s->provides = makedeps(pool, repo, rpmhead, TAG_PROVIDENAME, TAG_PROVIDEVERSION, TAG_PROVIDEFLAGS, 0);
   s->provides = addfileprovides(pool, repo, rpmhead, s->provides);