aboutsummaryrefslogtreecommitdiff
path: root/nptl/tst-exit2.c
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 /nptl/tst-exit2.c
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 'nptl/tst-exit2.c')
0 files changed, 0 insertions, 0 deletions