aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-08-10 17:56:13 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-02-09 10:29:18 -0300
commita7d6f82cb23f0d5f00b8ee34585ed40ce476a591 (patch)
tree5fd21dabf08ea10d003546f71564ea0a05d560f8
parentca39dade094f52672ae81f585c8d5398fc943323 (diff)
downloadglibc-a7d6f82cb23f0d5f00b8ee34585ed40ce476a591.tar
glibc-a7d6f82cb23f0d5f00b8ee34585ed40ce476a591.tar.gz
glibc-a7d6f82cb23f0d5f00b8ee34585ed40ce476a591.tar.bz2
glibc-a7d6f82cb23f0d5f00b8ee34585ed40ce476a591.zip
intl: Use strcpy on _nl_make_l10nflist
It avoid compiler to turn is on strcpy, which might generate a strcpy PLT call since there is no explicit redirection.
-rw-r--r--intl/l10nflist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/intl/l10nflist.c b/intl/l10nflist.c
index 7eed651885..8ce64d30f6 100644
--- a/intl/l10nflist.c
+++ b/intl/l10nflist.c
@@ -210,7 +210,7 @@ _nl_make_l10nflist (struct loaded_l10nfile **l10nfile_list,
}
*cp++ = '/';
- stpcpy (cp, filename);
+ strcpy (cp, filename);
/* Look in list of already loaded domains whether it is already
available. */