aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-11-24 16:02:22 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-11-24 16:02:22 +0000
commit5a539bf5e762a56fe8fae347f7fcee531fbbb399 (patch)
tree9d9157716e943261c150b6e60c08b19219d3548d /file.c
parent[w3m-dev 03466] Re: background download when external viewer (diff)
downloadw3m-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 '')
-rw-r--r--file.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/file.c b/file.c
index a1080ad..0a4f57b 100644
--- a/file.c
+++ b/file.c
@@ -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;