Browse Source
The time() function works correctly with the minimal libc, but always returns -1 with the newlib libc. This is due to the _gettimeofday hook being implemented that way. Fix that by calling gettimeofday in the _gettimeofday hook instead of returning -1. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>pull/35797/head
1 changed files with 2 additions and 6 deletions
Loading…
Reference in new issue