Re: svn commit: r248672 - head/lib/libc/stdtime

2013-03-23 Thread Dimitry Andric
On Mar 24, 2013, at 02:35, Dimitry Andric wrote: > Author: dim > Date: Sun Mar 24 01:35:37 2013 > New Revision: 248672 > URL: http://svnweb.freebsd.org/changeset/base/248672 > > Log: > Compile contrib/tzcode/stdtime/localtime.c with -fwrapv, since it relies > on signed integer overflow wrapping

svn commit: r248672 - head/lib/libc/stdtime

2013-03-23 Thread Dimitry Andric
Author: dim Date: Sun Mar 24 01:35:37 2013 New Revision: 248672 URL: http://svnweb.freebsd.org/changeset/base/248672 Log: Compile contrib/tzcode/stdtime/localtime.c with -fwrapv, since it relies on signed integer overflow wrapping. Otherwise mktime(3) and timegm(3) can hang, in case the tim