mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Capture more BUG warnings in util/time test
These are ones that happen on windows only. Fixes bug 29161.
This commit is contained in:
@@ -39,6 +39,8 @@
|
||||
*
|
||||
* Convert *<b>timep</b> to a struct tm in local time, and store the value in
|
||||
* *<b>result</b>. Return the result on success, or NULL on failure.
|
||||
*
|
||||
* Treat malformatted inputs localtime outputs as a BUG.
|
||||
*/
|
||||
struct tm *
|
||||
tor_localtime_r(const time_t *timep, struct tm *result)
|
||||
@@ -56,6 +58,8 @@ tor_localtime_r(const time_t *timep, struct tm *result)
|
||||
*
|
||||
* Convert *<b>timep</b> to a struct tm in UTC, and store the value in
|
||||
* *<b>result</b>. Return the result on success, or NULL on failure.
|
||||
*
|
||||
* Treat malformatted inputs or gmtime outputs as a BUG.
|
||||
*/
|
||||
struct tm *
|
||||
tor_gmtime_r(const time_t *timep, struct tm *result)
|
||||
|
||||
Reference in New Issue
Block a user