[tz] [PATCH 1/3] Assume C89.
Todd C. Miller
Todd.Miller at courtesan.com
Fri Oct 12 16:24:37 UTC 2012
For this bit in date.c:
- found = select(FD_SETSIZE, &ready, (fd_set *)0, (fd_set *)0, &tout);
+ found = select(FD_SETSIZE, &ready, 0, 0, &tout);
You probably want to use NULL, not a bare 0 for the 3rd and 4th
arguments.
Also, I believe irealloc() is still needed if you are targetting
C89 as the behavior where realloc(NULL, n) being equivalent to
malloc(n) was standardized in C99, not C89.
- todd
More information about the tz
mailing list