mirror of
https://https.git.savannah.gnu.org/git/diffutils.git
synced 2026-01-30 19:34:25 +00:00
* src/sdiff.c (sigprocmask) [! HAVE_SIGPROCMASK]: Cast 2nd arg to
sigset_t *, since it might be a literal 0. Problem reported by Paul Edwards for MVS 3.8.
This commit is contained in:
parent
10892a2dcc
commit
6bd6999fed
@ -1,3 +1,9 @@
|
||||
2006-11-04 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* src/sdiff.c (sigprocmask) [! HAVE_SIGPROCMASK]: Cast 2nd arg to
|
||||
sigset_t *, since it might be a literal 0. Problem reported by
|
||||
Paul Edwards for MVS 3.8.
|
||||
|
||||
2006-09-05 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* NEWS: diff -u no longer outputs trailing white space unless the
|
||||
|
||||
@ -112,7 +112,9 @@ static int const sigs[] = {
|
||||
# define SIG_SETMASK (! SIG_BLOCK)
|
||||
# endif
|
||||
# define sigprocmask(how, n, o) \
|
||||
((how) == SIG_BLOCK ? *(o) = sigblock (*(n)) : sigsetmask (*(n)))
|
||||
((how) == SIG_BLOCK \
|
||||
? *(sigset_t *) (o) = sigblock (*(n)) \
|
||||
: sigsetmask (*(n)))
|
||||
#endif
|
||||
|
||||
static bool diraccess (char const *);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user