Initialize fileStack.
CVS patchset: 2411 CVS date: 1998/10/06 23:11:54
This commit is contained in:
parent
7ad030f18f
commit
081efe9cfa
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue