Corrected problem that can cause magic to crash on a "lef read"
command due to an uninitialized variable.
This commit is contained in:
parent
8e85c3a96e
commit
0aca80dbc2
|
|
@ -121,6 +121,8 @@ lefFileOpen(def, file, suffix, mode, prealfile)
|
||||||
else
|
else
|
||||||
locsuffix = NULL;
|
locsuffix = NULL;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
locsuffix = suffix;
|
||||||
|
|
||||||
/* Try once as-is, and if this fails, try stripping any leading */
|
/* Try once as-is, and if this fails, try stripping any leading */
|
||||||
/* path information in case cell is in a read-only directory (mode */
|
/* path information in case cell is in a read-only directory (mode */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue