-C violates standard
authorSam Leffler <sam@ucbvax.Berkeley.EDU>
Tue, 22 Feb 1983 11:05:39 +0000 (03:05 -0800)
committerSam Leffler <sam@ucbvax.Berkeley.EDU>
Tue, 22 Feb 1983 11:05:39 +0000 (03:05 -0800)
SCCS-vsn: libexec/ftpd/ftpcmd.y 4.8

usr/src/libexec/ftpd/ftpcmd.y

index 8cafb5b..7db456c 100644 (file)
@@ -6,7 +6,7 @@
 %{
 
 #ifndef lint
 %{
 
 #ifndef lint
-static char sccsid[] = "@(#)ftpcmd.y   4.7 83/02/02";
+static char sccsid[] = "@(#)ftpcmd.y   4.8 83/02/21";
 #endif
 
 #include <sys/types.h>
 #endif
 
 #include <sys/types.h>
@@ -177,12 +177,12 @@ cmd:              USER SP username CRLF
        |       NLST check_login CRLF
                = {
                        if ($2)
        |       NLST check_login CRLF
                = {
                        if ($2)
-                               retrieve("/bin/ls -C", "");
+                               retrieve("/bin/ls", "");
                }
        |       NLST check_login SP pathname CRLF
                = {
                        if ($2 && $4 != NULL)
                }
        |       NLST check_login SP pathname CRLF
                = {
                        if ($2 && $4 != NULL)
-                               retrieve("/bin/ls -C %s", $4);
+                               retrieve("/bin/ls %s", $4);
                        if ($4 != NULL)
                                free($4);
                }
                        if ($4 != NULL)
                                free($4);
                }