1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-02 18:06:48 +00:00
cc65/libsrc/common
Oliver Schmidt a9ce4dc76c "Inverted" time_t value handling.
So far time_t values were interpreted as local time values. However, usually time_t values are to be interpreted as "seconds since 1 Jan 1970 in UTC". Therefore all logic handling time_t values has to be changed.

- So far gmtime() called localtime() with an adjusted time_t, now localtime() calls gmtime() with an adjusted time_t.
- mktime() has to do "the opposite" of localtime(), to keep it that way mktime() does now the inverse adjustment made by localtime().
- All currently present time() implementations internally call mktime() so they don't require individual adjustments.
2018-08-02 17:12:12 +02:00
..
_afailed.c
_cwd.s
_directerrno.s
_environ.s
_fdesc.s
_file.h
_file.s
_fopen.s
_heap.s
_heapadd.s
_heapblocksize.s
_heapmaxavail.s
_heapmemavail.s
_hextab.c
_longminstr.c
_mappederrno.s
_oserror.s
_poserror.c
_printf.h
_printf.s
_scanf.c
_scanf.h
_scanf.inc
_seterrno.s
_swap.s
_sys.s
abort.c
asctime.c
atexit.s
atoi.s
bsearch.c
calloc.s
cc65_idiv32by16r16.s
cc65_imul8x8r16.s
cc65_imul16x16r32.s
cc65_sincos.s
cc65_udiv32by16r16.s
cc65_umul8x8r16.s
cc65_umul16x8r32.s
cc65_umul16x16r32.s
chdir.s
copydata.s
creat.s
ctime.s
divt.s
doesclrscr.s
errno.s
errormsg.c
fclose.s
fdopen.c
fgetc.c
fgetpos.c
fgets.c
fmisc.s
fopen.s
fprintf.s
fputc.c
fputs.c
fread.s
free.s
freopen.c
fscanf.s
fseek.c
fsetpos.c
ftell.c
fwrite.s
getchar.c
getcpu.s
getcwd.s
getenv.s
getopt.c
gets.c
gmtime.c "Inverted" time_t value handling. 2018-08-02 17:12:12 +02:00
interrupt.s
isalnum.s
isalpha.s
isblank.s
iscntrl.s
isdigit.s
isgraph.s
islower.s
isprint.s
ispunct.s
isspace.s
isupper.s
isxdigit.s
itoa.s
labs.s
locale.c
localtime.c "Inverted" time_t value handling. 2018-08-02 17:12:12 +02:00
longjmp.s
ltoa.s
lz4.s
malloc.s
memchr.s
memcmp.s
memcpy.s
memmove.s
memset.s
mkdir.s
mktime.c "Inverted" time_t value handling. 2018-08-02 17:12:12 +02:00
modfree.s
modload.s
perror.c
pmemalign.c
printf.s
putchar.s
putenv.s
puts.c
qsort.c
raise.s
rand.s
realloc.c
remove.s
rename.s
rewind.c
rmdir.s
scanf.s
searchenv.s
setjmp.s
signal.s
sigtable.s
sleep.c
snprintf.s
sprintf.s
sscanf.s
strcat.s
strchr.s
strcmp.s
strcoll.s
strcpy.s
strcspn.s
strdup.s
strerror.s
strftime.c
stricmp.s
strlen.s
strlower.s
strncat.s
strncmp.s
strncpy.s
strnicmp.s
stroserr.s
strpbrk.s
strqtok.c
strrchr.s
strspn.s
strstr.s
strtoimax.s
strtok.c
strtol.c
strtoul.c
strtoumax.s
strupper.s
strxfrm.c
system.c
tgi_colors.s
time.s
timezone.c
toascii.s
tolower.s
toupper.s
uname.s
ungetc.s
unlink.s
utscopy.s
vfprintf.s
vfscanf.s
vprintf.s
vscanf.s
vsnprintf.s
vsprintf.s
vsscanf.s
zerobss.s