diff lib/pty.c @ 541:e46278e7ef1d

2004-8-21 Brian Masney <masneyb@gftp.org> * lib/rfc959.c lib/ftpcommon.h - added internal option to quote the filename in the SITE command. This is only enabled for servers that return UNIX in the SYST output. It is disabled if it is a BSD based FTP server * lib/sshv2.c (sshv2_start_login_sequence) - pass the search strings through gettext so that logins will work properly for non-english users * lib/pty.c (gftp_exec) - redirect STDERR of the child process to the opened pty so that stderr is shown properly in the log window
author masneyb
date Sat, 21 Aug 2004 14:40:41 +0000
parents 990088b18285
children 1504cfdd5d55
line wrap: on
line diff
--- a/lib/pty.c	Fri Aug 20 16:46:22 2004 +0000
+++ b/lib/pty.c	Sat Aug 21 14:40:41 2004 +0000
@@ -324,7 +324,7 @@
 
       dup2 (s[1], 0);
       dup2 (s[1], 1);
-      dup2 (s[1], 2);
+      dup2 (ptysfd, 2);
       _gftp_close_all_fds (ptysfd);
 
       execvp (args[0], args);