This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Zack Weinberg wrote:
- memset (tz, 0, sizeof *tz); + memset (tz, 0, sizeof (struct timezone));This change isn't necessary, and I prefer the previous version as it's easier to audit.I think you missed that this change also makes the type of `tz` be `void *` (consistent with POSIX) so the older construct will not work anymore. zw
Ah, right you are. Sorry about the noise.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |