summaryrefslogtreecommitdiff
path: root/netkit-ftp-0.17-runique_mget.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-05 02:00:14 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-05 02:00:14 +0000
commit361fec5b672ef8fdb44f61fb12b2cbb2f950b347 (patch)
tree9de49e1f2fc574f4e68e0c5eb903cb537c8c2695 /netkit-ftp-0.17-runique_mget.patch
parent75ec6de8f8f0b5d1c1905cb24264099d45eea096 (diff)
automatic import of ftpopeneuler24.03_LTS
Diffstat (limited to 'netkit-ftp-0.17-runique_mget.patch')
-rw-r--r--netkit-ftp-0.17-runique_mget.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/netkit-ftp-0.17-runique_mget.patch b/netkit-ftp-0.17-runique_mget.patch
new file mode 100644
index 0000000..8ba1152
--- /dev/null
+++ b/netkit-ftp-0.17-runique_mget.patch
@@ -0,0 +1,13 @@
+--- netkit-ftp-0.17/ftp/ftp.c.runique_mget 2004-12-07 12:05:49.360133092 +0100
++++ netkit-ftp-0.17/ftp/ftp.c 2004-12-07 12:06:48.480883902 +0100
+@@ -923,7 +923,9 @@
+ return;
+ }
+ }
+- else if (runique && (local = gunique(local)) == NULL) {
++ else if (runique && (strcmp(cmd, "NLST") != 0) &&
++ (local = gunique(local)) == NULL)
++ {
+ (void) signal(SIGINT, oldintr);
+ code = -1;
+ return;