* lib/sigprocmask.c (sigpending): Return pending array via
parameter, not return value.
Signed-off-by: Eric Blake <ebb9@byu.net>
+2008-06-16 Eric Blake <ebb9@byu.net>
+
+ Fix compliance bug in sigpending.
+ * lib/sigprocmask.c (sigpending): Return pending array via
+ parameter, not return value.
+
2008-06-14 Eric Blake <ebb9@byu.net>
Improve obstack-printf test code.
/* POSIX compatible signal blocking.
- Copyright (C) 2006-2007 Free Software Foundation, Inc.
+ Copyright (C) 2006-2008 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2006.
This program is free software: you can redistribute it and/or modify
for (sig = 0; sig < NSIG; sig++)
if (pending_array[sig])
pending |= 1U << sig;
- return pending;
+ *set = pending;
+ return 0;
}
/* The previous signal handlers.