w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 31e79744441ed19448cbcd1c1c50a91510761bef
parent 8e57a29c68003b3f08f68fe4b7182900d51e65c3
Author: ukai <ukai>
Date:   Mon, 17 Dec 2001 16:13:40 +0000

[#493906] missing #ifdef by Kazuhiro NISHIYAMA (znz)

Diffstat:
MChangeLog | 6++++++
Mmain.c | 4++++
2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,9 @@ +2001-12-18 Fumitoshi UKAI <ukai@debian.or.jp> + + * [#493906] missing #ifdef by Kazuhiro NISHIYAMA (znz) + * main.c (sig_chld): #ifdef SIGCHLD + * main.c (SigAlarm): #ifdef USE_ALARM + 2001-12-18 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> * [w3m-dev 02670] diff --git a/main.c b/main.c @@ -207,6 +207,7 @@ wrap_GC_warn_proc(char *msg, GC_word arg) fprintf(stderr, msg, (unsigned long)arg); } +#ifdef SIGCHLD static void sig_chld(int signo) { @@ -229,6 +230,7 @@ sig_chld(int signo) signal(SIGCHLD, sig_chld); return; } +#endif Str make_optional_header_string(char *s) @@ -4660,6 +4662,7 @@ SigAlarm(SIGNAL_ARG) #endif w3mFuncList[alarm_event.cmd].func(); onA(); +#ifdef USE_ALARM if (alarm_status == AL_IMPLICIT) { alarm_buffer = Currentbuf; alarm_status = AL_IMPLICIT_DONE; @@ -4672,6 +4675,7 @@ SigAlarm(SIGNAL_ARG) signal(SIGALRM, SigAlarm); alarm(alarm_sec); } +#endif } SIGNAL_RETURN; }