public inbox for
help / color / mirror / Atom feed
* [glibc] debug/getwd_chk.c: warning should be emitted for the __getwd_chk symbol.
@ 2024-01-12 14:22 Andreas K. Huttel
  0 siblings, 0 replies; only message in thread
From: Andreas K. Huttel @ 2024-01-12 14:22 UTC (permalink / raw)
  To: glibc-cvs;h=9fd2ceb55de003c09c909103966db913319bcfdc

commit 9fd2ceb55de003c09c909103966db913319bcfdc
Author: Frederic Cambus <>
Date:   Tue Dec 5 12:23:07 2023 +0100

    debug/getwd_chk.c: warning should be emitted for the __getwd_chk symbol.
    Otherwise the warning message for the getwd symbol ends up being duplicated.
    Signed-off-by: Frederic Cambus <>
    Reviewed-by: Adhemerval Zanella  <>
    Signed-off-by: Andreas K. Hüttel <>

 debug/getwd_chk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debug/getwd_chk.c b/debug/getwd_chk.c
index dadbb3d865..af19f782aa 100644
--- a/debug/getwd_chk.c
+++ b/debug/getwd_chk.c
@@ -29,5 +29,5 @@ __getwd_chk (char *buf, size_t buflen)
   return res;
-link_warning (getwd,
+link_warning (__getwd_chk,
 	      "the `getwd' function is dangerous and should not be used.")

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-12 14:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-12 14:22 [glibc] debug/getwd_chk.c: warning should be emitted for the __getwd_chk symbol Andreas K. Huttel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).