[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Year mishandling in libraries/libldap/templout.c (ITS#69)



Kurt, thanks for working on this.  I haven't had a chance yet to go over the
change, but a thought occured to me:

The only place that YEAR() was invoked was in gtime().  Unless I'm missing
something (and I understand that this code derives from the original UMich
code), gtime() appears to be a re-implementation of the ANSI/ISO C and POSIX
function:

	time_t mktime(struct tm *timeptr)

(specifed in ANSI/ISO C, POSIX.1-1988, and the OpenUnix specifications; Cf.
<http://www.opengroup.org/onlinepubs/7908799/xsh/mktime.html>).

--Nick