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]

Re: Fifth draft of the Y2038 design document


Joseph Myers wrote:
Because it keeps compatibility with code that does e.g.

  printf ("%09ld", something.tv_nsec);

As a practical matter that ship sailed years ago, as such usage is no longer portable because of x32.

In 2012 we documented this POSIX incompatibility in Gnulib, to give GNU application programers a heads-up about the situation. Although I've kept a sharp lookout for problems caused by this incompatibility, I've never run into a problem in any of the time-related code of GNU applications that I help maintain.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]