[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#740286: gnat-4.9: s-osinte-posix.adb is wrong about timespec.tv_nsec compared to gnat-4.8



The thread I referenced ends here:

http://gcc.gnu.org/ml/gcc-patches/2013-11/msg02069.html

So it seems upstream is aware of the issue but has been unable to find
the time to fix it properly.  If you send a proper patch to them, I
think they'd be delighted.  Note that x32 seems *not* to adhere to
POSIX in this respect as it defines "long" to be 32-bit but uses a
64-bit value for timespec.tv_nsec.  You cannot change that but you can
try to support all architectures in a clean way as Arno suggested.

--
Ludovic Brenta.


Reply to: