about summary refs log tree commit diff
path: root/nss/nss_files/files-alias.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-08-20 15:55:44 -0400
committerUlrich Drepper <drepper@gmail.com>2011-08-20 15:55:44 -0400
commit775a77e7e43c75ce3a7960f249eb3b189889ec20 (patch)
treea7623ba338c27cf0bcb8edb46c2915c545cd453c /nss/nss_files/files-alias.c
parent89f447edba330554fb50b19009938c8c19cc7414 (diff)
downloadglibc-775a77e7e43c75ce3a7960f249eb3b189889ec20.tar.gz
glibc-775a77e7e43c75ce3a7960f249eb3b189889ec20.tar.xz
glibc-775a77e7e43c75ce3a7960f249eb3b189889ec20.zip
More optimizations of nss_files
Diffstat (limited to 'nss/nss_files/files-alias.c')
-rw-r--r--nss/nss_files/files-alias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/nss_files/files-alias.c b/nss/nss_files/files-alias.c
index 0a722b9e25..714299aadf 100644
--- a/nss/nss_files/files-alias.c
+++ b/nss/nss_files/files-alias.c
@@ -335,7 +335,7 @@ get_next_alias (const char *match, struct aliasent *result,
 		     just read character.  */
 		  int ch;
 
-		  ch = fgetc (stream);
+		  ch = fgetc_unlocked (stream);
 		  if (ch == EOF || ch == '\n' || !isspace (ch))
 		    {
 		      size_t cnt;