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: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: toolchain/59549: gdb is not ctype(3) safe
Date: Sun, 27 Jul 2025 15:07:13 +0700

     Date:        Sat, 26 Jul 2025 23:25:02 +0000 (UTC)
     From:        "Valery Ushakov via gnats" <gnats-admin%NetBSD.org@localhost>
     Message-ID:  <20250726232502.5BBA51A923F%mollari.NetBSD.org@localhost>
 
   |  Shouldn't libc gmtime call gmtime_r via its libc-internal name here?
 
 It does, via the #define in src/lib/libc/include/namespace.h
 
 But I agree, something related to what the application is doing with
 gmtime_r() in its sources, combined with the RENAME() in <time.h> is
 likely the underlying problem here.   Most likely the application should
 not be defining its own gmtime_r (when one is provided in libc) at all.
 
 kre
 


Home | Main Index | Thread Index | Old Index