Hi, I'm writing about gnulib's documentation for psignal:
https://www.gnu.org/software/gnulib//manual/html_node/psignal.html
One thing I'm not seeing mentioned in it is how the first argument can
sometimes have different types. While POSIX says the first type should
be int, on my macOS system, it's unsigned int. Libiberty changed its
type from unsigned int to int in 2007:
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=ae452ed134d3de34c430ecd901484a57482d581b
I'm not quite sure what the best way to handle this possible
portability difference would be. Perhaps the gnulib manual could
suggest something?
Thanks,
Eric Gallager

Reply via email to