Exuberant cut-n-paste fix:
Index: build.c
============================================================
=======
RCS file: /cvs/devel/rpm/build.c,v
retrieving revision 2.103.2.5
diff -u -b -B -w -p -r2.103.2.5 build.c
--- build.c 24 Nov 2006 17:34:41 -0000 2.103.2.5
+++ build.c 25 Nov 2006 17:46:29 -0000
 -220,7
+220,7  static int buildForTarget(rpmts ts, cons
specut = urlPath(specURL, &specFile);
if (*specFile != '/') {
char *s = alloca(BUFSIZ);
- if (getcwd(buf, BUFSIZ) == NULL) strcpy(buf,
".");
+ if (getcwd(s, BUFSIZ) == NULL) strcpy(s,
".");
strcat(s, "/");
strcat(s, arg);
specURL = s;
73 de Jeff
_______________________________________________
Rpm-devel mailing list
Rpm-devel lists.dulug.duke.edu
https://lists.dulug.duke.edu/mailman/listinfo/rpm-devel
a>
|