From: root Date: Thu, 15 Feb 1996 22:55:44 +0000 (+0000) Subject: copy specfile name X-Git-Tag: tznext/4.11.0.1.tizen20130304~11670 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=67a5d89bbec226f70a71aeb7a0bc5ca33a96360a;p=tools%2Flibrpm-tizen.git copy specfile name CVS patchset: 290 CVS date: 1996/02/15 22:55:44 --- diff --git a/build/spec.c b/build/spec.c index 79accdb..23bd91e 100644 --- a/build/spec.c +++ b/build/spec.c @@ -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;