aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-11-24 17:50:27 -0800
committerUlrich Drepper <drepper@redhat.com>2009-11-24 17:50:27 -0800
commit21f2c22320c00c1627dd734794af7353ad7637b2 (patch)
tree688063181b71dc42ae15d907452f61b458c6de72 /ChangeLog
parent80b3a4ea1c4eb5641aa4c0cac57fe9df65ddba86 (diff)
downloadglibc-21f2c22320c00c1627dd734794af7353ad7637b2.tar
glibc-21f2c22320c00c1627dd734794af7353ad7637b2.tar.gz
glibc-21f2c22320c00c1627dd734794af7353ad7637b2.tar.bz2
glibc-21f2c22320c00c1627dd734794af7353ad7637b2.zip
Don't get tty group info multiple times in grantpt.
This is a minor optimization. The tty group mustn't change so a successful call to getgrnam will always return the same information. Cache it and reuse it.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index dd68e5bb90..c78e1905e0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2009-11-24 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/unix/grantpt.c (grantpt): Only get tty group information
+ once.
+
* csu/elf-init.c (__libc_csu_irel): New function. Code to perform
irel relocations split out from...
(__libc_csu_init): ...here.