CVS patchset: 2400
CVS date: 1998/10/06 14:21:06
- add new fully recursive macro.c
2.5.4 -> 2.5.5:
+ - fix check for trailing / in Prefix:
- remove 2 character language name assumption.
- add /usr/lib/rpm/find-lang.sh (W. L. Estes <wlestes@uncg.edu>)
- miscellaneous portability cruft (Eugene Kanter).
headerGetEntry(pkg->header, tag, NULL, (void **)&array, &num);
while (num--) {
len = strlen(array[num]);
- if (array[num][len - 1] == '/') {
+ if (array[num][len - 1] == '/' && len > 1) {
rpmError(RPMERR_BADSPEC,
_("line %d: Prefixes must not end with \"/\": %s"),
spec->lineNum, spec->line);