comparison src/gtk/transfer.c @ 470:a68273d9725a

2004-5-16 Brian Masney <masneyb@gftp.org> * src/gtk/gftp-gtk.c src/gtk/gftp-gtk.h src/gtk/transfer.c - fixed detection of SIGCHLD when viewing/editing a file (from Aurelien Jarno <aurelien@aurel32.net>) * src/gtk/gtkui.c - expand the path on the client side when changing the remote directory (i.e. CHDIR /home/.. becomes /home) (from Aurelien Jarno <aurelien@aurel32.net>)
author masneyb
date Sun, 16 May 2004 13:34:02 +0000
parents 39d9cf1bf0df
children 937f2b75bbee
comparison
equal deleted inserted replaced
469:2ad1916dc611 470:a68273d9725a
295 struct stat st; 295 struct stat st;
296 int ret; 296 int ret;
297 char *str; 297 char *str;
298 pid_t pid; 298 pid_t pid;
299 299
300 viewedit_process_done = 0; 300 gftpui_common_child_process_done = 0;
301 while ((pid = waitpid (-1, &ret, WNOHANG)) > 0) 301 while ((pid = waitpid (-1, &ret, WNOHANG)) > 0)
302 { 302 {
303 curdata = viewedit_processes; 303 curdata = viewedit_processes;
304 while (curdata != NULL) 304 while (curdata != NULL)
305 { 305 {
777 if (window1.request->gotbytes != 0) 777 if (window1.request->gotbytes != 0)
778 update_window_transfer_bytes (&window1); 778 update_window_transfer_bytes (&window1);
779 if (window2.request->gotbytes != 0) 779 if (window2.request->gotbytes != 0)
780 update_window_transfer_bytes (&window2); 780 update_window_transfer_bytes (&window2);
781 781
782 if (viewedit_process_done) 782 if (gftpui_common_child_process_done)
783 check_done_process (); 783 check_done_process ();
784 784
785 for (templist = gftp_file_transfers; templist != NULL;) 785 for (templist = gftp_file_transfers; templist != NULL;)
786 { 786 {
787 tdata = templist->data; 787 tdata = templist->data;