CVS patchset: 2171
CVS date: 1998/07/16 14:23:41
2.5.3 -> 3.0
+ - build.c: fix incorrect check for successful open
- add new fully recursive macro.c
- add {init,add,expand}Macro args everywhere (new macro.c compatibility)
- create /usr/lib/rpm directory and move rpmrc et al there
return 1;
}
- if (!(fd = open(specfile, O_RDONLY))) {
+ if ((fd = open(specfile, O_RDONLY)) < 0) {
fprintf(stderr, _("Unable to open spec file: %s\n"), specfile);
return 1;
}