fixed bug where a long name was getting mapped to a long name
authorroot <devnull@localhost>
Wed, 17 Jul 1996 21:33:01 +0000 (21:33 +0000)
committerroot <devnull@localhost>
Wed, 17 Jul 1996 21:33:01 +0000 (21:33 +0000)
CVS patchset: 882
CVS date: 1996/07/17 21:33:01

lib/rpmrc.c

index d599a7e..4aeeaca 100644 (file)
@@ -336,8 +336,8 @@ static int addCanon(struct canonEntry **table, int *tableLen, char *line,
 
     /* From A B C entry */
     /* Add  B B C entry */
-    t[1].name = strdup(t->name);
-    t[1].short_name = strdup(t->name);
+    t[1].name = strdup(t->short_name);
+    t[1].short_name = strdup(t->short_name);
     t[1].num = t->num;
 
     return 0;