From 5a539bf5e762a56fe8fae347f7fcee531fbbb399 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Sun, 24 Nov 2002 16:02:22 +0000 Subject: [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 --- proto.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'proto.h') diff --git a/proto.h b/proto.h index 5954883..8403329 100644 --- a/proto.h +++ b/proto.h @@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.60 2002/11/22 15:49:44 ukai Exp $ */ +/* $Id: proto.h,v 1.61 2002/11/24 16:02:22 ukai Exp $ */ /* * This file was automatically generated by version 1.7 of cextract. * Manual editing not recommended. @@ -560,7 +560,10 @@ extern char *last_modified(Buffer *buf); extern Str romanNumeral(int n); extern Str romanAlphabet(int n); extern void reset_signals(void); +extern void close_all_fds(int i); +#ifdef HAVE_SETPGRP extern void myExec(char *command); +#endif extern void mySystem(char *command, int background); extern Str myExtCommand(char *cmd, char *arg, int redirect); extern Str myEditor(char *cmd, char *file, int line); -- cgit v1.2.3