Initialize fileStack.

CVS patchset: 2411
CVS date: 1998/10/06 23:11:54
This commit is contained in:
jbj 1998-10-06 23:11:54 +00:00
parent 7ad030f18f
commit 081efe9cfa
1 changed files with 3 additions and 0 deletions

View File

@ -286,6 +286,9 @@ int parseSpec(Spec *specp, char *specFile, char *buildRoot,
/* Set up a new Spec structure with no packages. */
spec = newSpec();
spec->fileStack = newOpenFileInfo();
spec->fileStack->fileName = strdup(specFile);
spec->specFile = strdup(specFile);
if (buildRoot) {
spec->gotBuildRoot = 1;