Nmap Development mailing list archives

time_t changes in OpenBSD-current


From: "Giovanni Bechis" <giovanni () bigio snb it>
Date: Sat, 04 Jan 2014 17:18:41 +0100

Hi,
in september OpenBSD changed time_t to long long on all platforms, this change broke nmap on 32 bits platforms.
IMHO the main reason is that timing.cc class stores data in a double and some precision is lost.
The following patch seems to fix the problem, maybe a bit more work is needed.
 Thanks & Cheers
   Giovanni Bechis

Attachment: nmap-6.40-time_t.diff
Description:

_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: