Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [day] [month] [year] [list]
Date: Sat, 13 Apr 2013 16:10:04 +0200
From: John Spencer <maillist-johndev@...fooze.de>
To: john-dev@...ts.openwall.com
CC: jfoug@....net
Subject: sys/timeb.h inclusion in timer.h

on posix, sys/timeb.h declares only ftime() and the struct timeb this 
function works on.
this function has been obsoleted.

sys/timeb.h is included in timer.h and breaks build on musl libc.
it is unused, there is no single reference to ftime() nor struct timeb 
in the entire source code.

my request to remove it was postponed due to fear that it could break 
build on msvc 6.
i don't see how the removal could break, since ftime() is not used 
anywhere (that includes msvc specific code).

according to msdn, the header defines 3 ftime derived functions starting 
with a prefix
http://msdn.microsoft.com/en-us/library/z54t9z5f(v=VS.80).aspx

none of these are to be found in the source code.

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ