aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/adadecode.c
diff options
context:
space:
mode:
authorTonu Naks <naks@adacore.com>2024-07-08 08:50:00 +0000
committerMarc Poulhiès <dkm@gcc.gnu.org>2024-08-02 09:08:07 +0200
commit384283f91d218b7dbd0d665996512634383389ce (patch)
treec4956a1200c0bd63f2eb2a6d6e1c37e2506a342d /gcc/ada/adadecode.c
parent8239a5f75dffe5e3a95b3400da9a12c11fd0d100 (diff)
downloadgcc-384283f91d218b7dbd0d665996512634383389ce.zip
gcc-384283f91d218b7dbd0d665996512634383389ce.tar.gz
gcc-384283f91d218b7dbd0d665996512634383389ce.tar.bz2
ada: Add leap second support to conversion of Unix_Time
Unix timestamp jumps one second back when a leap second is applied and doesn't count cumulative leap seconds. This was not taken into account in conversions between Unix time and Ada time. Now fixed. gcc/ada/ * libgnat/a-calend.adb: Modify unix time handling.
Diffstat (limited to 'gcc/ada/adadecode.c')
0 files changed, 0 insertions, 0 deletions