CVS patchset: 2840
CVS date: 1999/02/26 21:47:33
2.90 -> 2.91
+ - fix: build of packages w/o BuildRoot segfault.
- permit substitution of I18N strings from PO meta-catalogues.
- rename file before unlinking to avoid EBUSY failures.
- add callbacks for installer updates while doing URL xfers.
const char *s;
va_list ap;
+ if (path == NULL)
+ return strdup("");
+
p = buf;
strcpy(p, path);
pe = p + strlen(p);
va_start(ap, path);
while ((s = va_arg(ap, const char *)) != NULL) {
- /* XXX FIXME: this fixes onle some of the "...//..." problems */
+ /* XXX FIXME: this fixes only some of the "...//..." problems */
if (pe > p && pe[-1] == '/')
while(*s && *s == '/') s++;
if (*s != '\0') {