copy specfile name
authorroot <devnull@localhost>
Thu, 15 Feb 1996 22:55:44 +0000 (22:55 +0000)
committerroot <devnull@localhost>
Thu, 15 Feb 1996 22:55:44 +0000 (22:55 +0000)
CVS patchset: 290
CVS date: 1996/02/15 22:55:44

build/spec.c

index 79accdb..23bd91e 100644 (file)
@@ -552,7 +552,7 @@ Spec parseSpec(FILE *f, char *specfile)
     Spec spec = (struct SpecRec *) malloc(sizeof(struct SpecRec));
 
     spec->name = NULL;
-    spec->specfile = specfile;
+    spec->specfile = strdup(specfile);
     spec->numSources = 0;
     spec->numPatches = 0;
     spec->sources = NULL;