NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/59549: gdb is not ctype(3) safe
The following reply was made to PR toolchain/59549; it has been noted by GNATS.
From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: toolchain/59549: gdb is not ctype(3) safe
Date: Sun, 27 Jul 2025 02:20:15 +0300
> and src/lib/libc/time/localtime.c has:
>
> 1871 struct tm *
> 1872 gmtime(const time_t *timep)
> 1873 {
> 1874 # if !SUPPORT_C89
> 1875 static struct tm tm;
> 1876 # endif
> 1877 return gmtime_r(timep, &tm);
> 1878 }
Shouldn't libc gmtime call gmtime_r via its libc-internal name here?
-uwe
Home |
Main Index |
Thread Index |
Old Index