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-04-17 16:12:41 -0300
commit74bbd495acafd15d9ca790bc1c03ffcf6d3cfe38 (patch)
tree4e81ab5386d1b84df2732cd989331a7a989b0320
parent8c0ae678b6ca61f5590856de38ee9652ab886376 (diff)
downloadglibc-74bbd495acafd15d9ca790bc1c03ffcf6d3cfe38.zip
glibc-74bbd495acafd15d9ca790bc1c03ffcf6d3cfe38.tar.gz
glibc-74bbd495acafd15d9ca790bc1c03ffcf6d3cfe38.tar.bz2
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 7eed651..8ce64d3 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. */