diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-05 02:00:14 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-05 02:00:14 +0000 |
commit | 361fec5b672ef8fdb44f61fb12b2cbb2f950b347 (patch) | |
tree | 9de49e1f2fc574f4e68e0c5eb903cb537c8c2695 /netkit-ftp-0.17-size.patch | |
parent | 75ec6de8f8f0b5d1c1905cb24264099d45eea096 (diff) |
automatic import of ftpopeneuler24.03_LTS
Diffstat (limited to 'netkit-ftp-0.17-size.patch')
-rw-r--r-- | netkit-ftp-0.17-size.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/netkit-ftp-0.17-size.patch b/netkit-ftp-0.17-size.patch new file mode 100644 index 0000000..22e0806 --- /dev/null +++ b/netkit-ftp-0.17-size.patch @@ -0,0 +1,12 @@ +diff -up netkit-ftp-0.17/ftp/cmds.c.size netkit-ftp-0.17/ftp/cmds.c +--- netkit-ftp-0.17/ftp/cmds.c.size 2007-10-10 14:17:18.000000000 +0200 ++++ netkit-ftp-0.17/ftp/cmds.c 2007-10-10 14:17:18.000000000 +0200 +@@ -1650,6 +1650,8 @@ quote1(const char *initial, int argc, ch + register int i, len; + char buf[BUFSIZ]; /* must be >= sizeof(line) */ + ++ if (strncmp(argv[1],"size",4) == 0) ++ changetype(TYPE_I, 1); + (void) strcpy(buf, initial); + if (argc > 1) { + len = strlen(buf); |