diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2017-09-24 13:47:04 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2017-09-24 14:03:41 +0200 |
| commit | b9509c0fbc13679393389611a5c4b88b0324306a (patch) | |
| tree | 0fdc411bb8beca88bc2c48899b87f7ceea9e5a27 /setup.cfg | |
| parent | 62c63e03ec968f0a38fb6d05222336c4e738dcd2 (diff) | |
Fix defconfig srctree absolute/relative mixup bug
This code in zconf.l says !=, not ==. Thought the behavior seemed weird.
if (!f && name != NULL && name[0] != '/') {
env = getenv(SRCTREE);
if (env) {
sprintf(fullname, "%s/%s", env, name);
f = fopen(fullname, "r");
}
}
return f;
Thankfully only broken for a short while. Also gives much simpler code.
Diffstat (limited to 'setup.cfg')
0 files changed, 0 insertions, 0 deletions
