From: David Neary (dneary at domain wanadoo.fr)
Date: Wed 26 Jun 2002 - 11:13:40 IST
Jason Corcoran. wrote:
> The code work's fine for me ( Redhat 7.3)
Gah! Yeah - for some reason compiling it with -std=c99 -pedantic
changes the behaviour of signals. I guess that to be maximally
portable, I'd have to use a sigaction call to set SA_NODEFER
and/or SA_NOMASK (portable in posix that is).
I'm guessing that glibc sets functions to one-shot by default if
you're using the ansi C signal.
-- David Neary, Marseille, France E-Mail: bolsh at domain gimp.org
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:33 GMT