1 --- rpm-4.3/build.c.orig 2005-04-10 02:35:15.000000000 +0200
2 +++ rpm-4.3/build.c 2005-04-10 02:35:43.000000000 +0200
4 directory for this run */
7 - (void)getcwd(buf, BUFSIZ);
8 + if (getcwd(buf, BUFSIZ) == NULL) strcpy(buf, ".");
13 specut = urlPath(specURL, &specFile);
14 if (*specFile != '/') {
15 char *s = alloca(BUFSIZ);
16 - (void)getcwd(s, BUFSIZ);
17 + if (getcwd(s, BUFSIZ) == NULL) strcpy(s, ".");