[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoconfig, and timezones ?



> 	The critical library functionality to have are
> 	mktime(), gmtime(), and localtime()
> 
> 	Are there systems where those three are not available ?
> 	What else those systems have / miss ?

gmtime() and localtime() date back to v7 days, and should be
on just about any Unix-oid system.  They are also defined
in the ISO 9899:1990 C standard, and so should also be found
on many other systems as well.

mktime(), on the other hand, only dates back to the ANSI C
standard; there are still some archaic systems which might
try to run Zmailer yet do not support mktime().  Your best
bet is to grab the mktime() function from the GNU libc
package and use that if autoconf determines that the system
library is lacking.  If you want to be really paranoid you
could also do this with gmtime() and localtime(), but I
really don't believe that assuming their existence is going
to be a problem.

		--Ken Pizzini