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] |
Albert ARIBAUD wrote:
if I remove the __ctime64 and __ctime64_r defines and then build glibc for x86_64-linux-gnu, the linker stage fails due to nis/nis_print.c lines 336 and 338 referring to an undefined ctime().
How about if we fix nis/nis_print.c to use localtime_r and strftime instead of ctime? ctime is not thread-safe, and ctime_r is problematic due to the potential problem of overrunning its output buffer when given outlandish timestamps, so such a fix should be made regardless of the Y2038 changes.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |