bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] Enable more syntax checks, eliminate useless C preproces


From: Bruno Haible
Subject: Re: [PATCH 1/2] Enable more syntax checks, eliminate useless C preprocessor parentheses
Date: Sun, 19 Jun 2011 02:15:07 +0200
User-agent: KMail/1.9.9

James, Eric,
> we're trying to get rid of a findutils construct:
> 
> -#if defined SIGCLD && !defined SIGCHLD
> -# define SIGCHLD SIGCLD
> -#endif
> 
> and need to know if gnulib's replacement <signal.h> needs to guarantee
> this definition of SIGCHLD, or if the only platforms where only SIGCLD
> existed are now so old to not be worth worrying about.

As far as I can see, all platforms except native Windows nowadays have SIGCHLD.
- I find it defined in <signal.h> or <sys/signal.h> of all relevant platforms.
- coreutils/src/{sort.c,timeout.c} use SIGCHLD unconditionally, and I'm not
  aware of a bug report because of that.

Bruno
-- 
In memoriam Mona Mahmudnizhad <http://en.wikipedia.org/wiki/Mona_Mahmudnizhad>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]