]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-getcwd.patch
- obsolete
[packages/rpm.git] / rpm-getcwd.patch
diff --git a/rpm-getcwd.patch b/rpm-getcwd.patch
deleted file mode 100644 (file)
index f641a87..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
---- rpm-4.3/build.c.orig       2005-04-10 02:35:15.000000000 +0200
-+++ rpm-4.3/build.c    2005-04-10 02:35:43.000000000 +0200
-@@ -206,7 +206,7 @@
-          directory for this run */
-       if (*arg != '/') {
--          (void)getcwd(buf, BUFSIZ);
-+          if (getcwd(buf, BUFSIZ) == NULL) strcpy(buf, ".");
-           strcat(buf, "/");
-           strcat(buf, arg);
-       } else 
-@@ -225,7 +225,7 @@
-     specut = urlPath(specURL, &specFile);
-     if (*specFile != '/') {
-       char *s = alloca(BUFSIZ);
--      (void)getcwd(s, BUFSIZ);
-+      if (getcwd(s, BUFSIZ) == NULL) strcpy(s, ".");
-       strcat(s, "/");
-       strcat(s, arg);
-       specURL = s;
This page took 0.03928 seconds and 4 git commands to generate.