]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Set GNAT.OS_Lib.GM_Split's granularity back to 1 second
authorpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Aug 2019 09:50:09 +0000 (09:50 +0000)
committerpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Aug 2019 09:50:09 +0000 (09:50 +0000)
commit35475a84676ef17dea96a239ed69fe3691d18de5
tree8665782e4ae1936599b65305e9eec726164b8986
parent4c995b3ef82223232b83398e1cfdf190c0c08ee0
[Ada] Set GNAT.OS_Lib.GM_Split's granularity back to 1 second

The modification to round time up to even second was added decades ago.
It was done to avoid unneeded recompilations when the project was built
on non-FAT filesystems and then moved to FAT filesystems. Such a
situation is now very rare and does not deserve time distortion.

2019-08-20  Dmitriy Anisimkov  <anisimko@adacore.com>

gcc/ada/

* adaint.c (__gnat_to_gm_time): On _WIN32, don't round time up
to even second.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@274736 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/adaint.c