[Ur] about the -static compiler flag

Chris Double chris.double at double.co.nz
Sat Nov 24 20:42:45 EST 2018


On Sat, Nov 24, 2018 at 2:12 AM Benjamin Barenblat
<benjamin at barenblat.name> wrote:

> The glibc man page for timelocal says, “The timelocal() function is
> equivalent to the POSIX standard function mktime(3). There is no reason
> to ever use it.” mktime is actualy a standard C function, which is
> probably even better than POSIX. So yes, timelocal is a GNU extension
> with an analogue in standard C. A global s/timelocal/mktime/ in the
> source code would probably have the desired effect.

I've done a pull request to that effect:

https://github.com/urweb/urweb/pull/148

-- 
https://bluishcoder.co.nz



More information about the Ur mailing list