diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-24 16:02:22 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-24 16:02:22 +0000 |
commit | 5a539bf5e762a56fe8fae347f7fcee531fbbb399 (patch) | |
tree | 9d9157716e943261c150b6e60c08b19219d3548d /file.c | |
parent | [w3m-dev 03466] Re: background download when external viewer (diff) | |
download | w3m-5a539bf5e762a56fe8fae347f7fcee531fbbb399.tar.gz w3m-5a539bf5e762a56fe8fae347f7fcee531fbbb399.zip |
[w3m-dev 03471] Re: SETPGRP()
* configure: SETPGRP() always defined
* proto.h (close_all_fds): added
(myExec): #ifdef HAVE_SETPGRP
* etc.c (close_all_fds): added
(myExec): #ifdef HAVE_SETPGRP
(mySystem): #ifndef -> #ifdef
* file.c (_doFileCopy): delete #ifdef HAVE_SETPGRP
(doFileSave): ditto
* image.c (openImgdisplay): delete #ifdef HAVE_SETPGRP
use close_all_fds()
* search.c (open_migemo): ditto
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.126 2002/11/22 19:24:54 ukai Exp $ */ +/* $Id: file.c,v 1.127 2002/11/24 16:02:22 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -7274,9 +7274,7 @@ _doFileCopy(char *tmpf, char *defstr, int download) if (!pid) { reset_signals(); signal(SIGINT, SIG_IGN); -#ifdef HAVE_SETPGRP SETPGRP(); -#endif close_tty(); QuietMessage = TRUE; fmInitialized = FALSE; @@ -7374,9 +7372,7 @@ doFileSave(URLFile uf, char *defstr) if (!pid) { reset_signals(); signal(SIGINT, SIG_IGN); -#ifdef HAVE_SETPGRP SETPGRP(); -#endif close_tty(); QuietMessage = TRUE; fmInitialized = FALSE; |