1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-24 06:54:13 +00:00
cde/src/cmd/ksh93/edit
Johnothan King 51f97cf82f Fix two more problems with time zones and epoch handling
src/cmd/ksh93/edit/history.c:
 - The `time_t` data type is usually 64-bit, so cast `t` to an
   unsigned long and use the correct format specifier with sfprintf.

src/lib/libast/tm/tmdata.c:
 - Update the leap second array by adding the current leap
   seconds that were absent, being:

   2016-12-31+23:59:60  1483228826
   2015-06-30+23:59:60  1435708825
   2012-06-30+23:59:60  1341100824

   I couldn't find a proper list of leap seconds in Unix Epoch time,
   so I used an Epoch Converter:
   https://www.epochconverter.com/
   The converter doesn't support leap seconds, so each conversion
   had to be corrected by adding the number of leap seconds required
   (e.g. 1230767999 + 24 = 1230768023, for 2008-12-31+23:59:60 in GMT).
2020-06-14 06:53:46 -07:00
..
completion.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
edit.c Fix 80 typos in comments 2020-06-12 01:45:12 +02:00
emacs.c Fix an issue with the up arrow key in Emacs editing mode. 2020-06-12 01:45:17 +02:00
hexpand.c Fix 80 typos in comments 2020-06-12 01:45:12 +02:00
history.c Fix two more problems with time zones and epoch handling 2020-06-14 06:53:46 -07:00
vi.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00