source: npl/system/netkit-ftp/patches/18-netkit-ftp-0.17-size.patch

Last change on this file was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 484 bytes
RevLine 
[c5c522c]1diff -up netkit-ftp-0.17/ftp/cmds.c.size netkit-ftp-0.17/ftp/cmds.c
2--- netkit-ftp-0.17/ftp/cmds.c.size     2007-10-10 14:17:18.000000000 +0200
3+++ netkit-ftp-0.17/ftp/cmds.c  2007-10-10 14:17:18.000000000 +0200
4@@ -1650,6 +1650,8 @@ quote1(const char *initial, int argc, ch
5        register int i, len;
6        char buf[BUFSIZ];               /* must be >= sizeof(line) */
7 
8+       if (strncmp(argv[1],"size",4) == 0)
9+           changetype(TYPE_I, 1);
10        (void) strcpy(buf, initial);
11        if (argc > 1) {
12                len = strlen(buf);
Note: See TracBrowser for help on using the repository browser.