diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-04-07 07:02:20 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-04-07 07:02:20 +0000 |
commit | 616d91335a8be5fda715a34dac48bb067d77b523 (patch) | |
tree | c1fff0833a3adb6b8ea83453aabadfb7acbedb69 /intl | |
parent | 0292b0dd6c85436fb10df5a77bde53ad4c298a6b (diff) | |
download | glibc-616d91335a8be5fda715a34dac48bb067d77b523.zip glibc-616d91335a8be5fda715a34dac48bb067d77b523.tar.gz glibc-616d91335a8be5fda715a34dac48bb067d77b523.tar.bz2 |
* elf/ldconfig.c (main): Use rawmemchr instead of strchr.
* nis/nis_call.c (rec_dirsearch): Likewise.
* nis/nis_local_names.c (nis_local_host): Likewise.
(nis_local_directory): Likewise.
* intl/explodename.c (_nl_explode_name): Likewise.
* sysdeps/generic/unwind-dw2.c (execute_cfa_program): Don't handle
DW_CFA_GNU_windiw_save if it obviously cannot work [Coverity CID 102].
* locale/programs/ld-address.c (address_finish): Fix conditions
for error messages [Coverity CID 104].
Diffstat (limited to 'intl')
-rw-r--r-- | intl/explodename.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intl/explodename.c b/intl/explodename.c index f7bcfa5..8e326ea 100644 --- a/intl/explodename.c +++ b/intl/explodename.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2002, 2003 Free Software Foundation, Inc. +/* Copyright (C) 1995-2002, 2003, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. @@ -78,7 +78,7 @@ _nl_explode_name (name, language, modifier, territory, codeset, if (*language == cp) /* This does not make sense: language has to be specified. Use this entry as it is without exploding. Perhaps it is an alias. */ - cp = strchr (*language, '\0'); + cp = __rawmemchr (*language, '\0'); else if (cp[0] != '@') { if (cp[0] == '_') |