projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a85786
)
debug/getwd_chk.c: warning should be emitted for the __getwd_chk symbol.
author
Frederic Cambus
<fred@statdns.com>
Tue, 5 Dec 2023 11:23:07 +0000
(12:23 +0100)
committer
Andreas K. Hüttel
<dilfridge@gentoo.org>
Fri, 12 Jan 2024 14:21:26 +0000
(15:21 +0100)
Otherwise the warning message for the getwd symbol ends up being duplicated.
Signed-off-by: Frederic Cambus <fred@statdns.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
debug/getwd_chk.c
patch
|
blob
|
history
diff --git
a/debug/getwd_chk.c
b/debug/getwd_chk.c
index
dadbb3d
..
af19f78
100644
(file)
--- 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.")