diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-11-24 17:50:27 -0800 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-11-24 17:50:27 -0800 |
commit | 21f2c22320c00c1627dd734794af7353ad7637b2 (patch) | |
tree | 688063181b71dc42ae15d907452f61b458c6de72 /nptl/tst-sem4.c | |
parent | 80b3a4ea1c4eb5641aa4c0cac57fe9df65ddba86 (diff) | |
download | glibc-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-sem4.c')
0 files changed, 0 insertions, 0 deletions