mes/lib/m2
Jan (janneke) Nieuwenhuizen 1e14c26305
lib/m2: time: Fix segfault by allocating timeval struct.
Suggested by Meghan Denny <hello@nektro.net>.

* lib/m2/time.c (__tv): New global variable.
(time): Use it to allocate timeval struct.
2023-01-24 07:59:49 +01:00
..
arm ARM: build: Cater for M2-Planet. 2022-04-30 22:51:42 +02:00
x86 bootstrap: Update M2-Planet x86 definitions from 1.7.0-31-g358b6cf. 2021-01-01 19:07:22 +01:00
cast.c core: Use casting functions. 2020-10-18 15:44:49 +02:00
chmod.c mescc: Mes C Library: Add chmod for M2-Planet. 2020-07-25 20:03:06 +02:00
clock_gettime.c mescc: Mes C Library: Add clock_gettime for M2-Planet. 2020-07-25 20:03:17 +02:00
execv.c mescc: Mes C Library: Add execv for M2-Planet. 2020-07-25 20:03:30 +02:00
execve.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
exit.c mescc: Mes C Library: Add exit for M2-Planet. 2020-07-25 20:03:58 +02:00
getcwd.c Revert "Mes C Library: m2/getcwd.c: Remove specialization." 2021-01-01 15:54:13 +01:00
isatty.c Mes C Library: m2/ioctl.c: Remove specialization. 2020-12-29 18:41:45 +01:00
malloc.c kaem: scaffold/read.kaem. 2020-07-15 22:27:57 +02:00
mes_open.c mescc: Mes C Library: Bugfix __ungetc_clear. 2020-08-02 00:37:37 +02:00
open.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
read.c kaem: scaffold/read.kaem. 2020-07-15 22:27:57 +02:00
time.c lib/m2: time: Fix segfault by allocating timeval struct. 2023-01-24 07:59:49 +01:00
waitpid.c lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00