]> git.proxmox.com Git - wasi-libc.git/commit
Fix `gettimeofday` to correctly handle a null argument.
authorDan Gohman <dev@sunfishcode.online>
Wed, 25 May 2022 03:55:41 +0000 (20:55 -0700)
committerDan Gohman <dev@sunfishcode.online>
Wed, 1 Jun 2022 18:05:04 +0000 (11:05 -0700)
commit30094b6ed05f19cee102115215863d185f2db4f0
treeecbe23a3363169536ad332531690c13753b2f3ec
parentd8d00bcd5a839150f1950678ce6e6a9b80fbc140
Fix `gettimeofday` to correctly handle a null argument.

`gettimeofday` is defined to do nothing if passed NULL.
libc-bottom-half/cloudlibc/src/libc/sys/time/gettimeofday.c