]> andersk Git - openssh.git/blobdiff - sftp-server.c
- markus@cvs.openbsd.org 2001/04/22 23:58:36
[openssh.git] / sftp-server.c
index 0695a9824dce3b7ca3e396f30b12a0c98a008e48..75c19c8a63e1892cd6a4acaf59b0b062c5cb066f 100644 (file)
@@ -1043,6 +1043,11 @@ main(int ac, char **av)
        in = dup(STDIN_FILENO);
        out = dup(STDOUT_FILENO);
 
+#ifdef HAVE_CYGWIN
+       setmode(in, O_BINARY);
+       setmode(out, O_BINARY);
+#endif
+
        max = 0;
        if (in > max)
                max = in;
This page took 0.049913 seconds and 4 git commands to generate.