]> git.pld-linux.org Git - packages/pure-ftpd.git/commitdiff
- rename fix
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 11 Nov 2001 23:24:57 +0000 (23:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pure-ftpd-rename.patch -> 1.1

pure-ftpd-rename.patch [new file with mode: 0644]

diff --git a/pure-ftpd-rename.patch b/pure-ftpd-rename.patch
new file mode 100644 (file)
index 0000000..5f8c20e
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urN pure-ftpd-1.0.1.orig/src/ftpd.c pure-ftpd-1.0.1/src/ftpd.c
+--- pure-ftpd-1.0.1.orig/src/ftpd.c    Wed Oct 31 12:45:51 2001
++++ pure-ftpd-1.0.1/src/ftpd.c Sun Nov 11 21:01:51 2001
+@@ -3244,7 +3244,7 @@
+     if (hasquota() == 0) {
+         struct stat st;
+-        if (lstat(name, &st) != 0) {
++        if (lstat(name, &st) == 0) {
+             goto norename;
+         }
+     }
This page took 0.130461 seconds and 4 git commands to generate.