diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-11-24 18:50:32 -0800 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-11-24 18:50:32 -0800 |
commit | aa9890239a2aef81e64f3f22a31c7e01b6501f69 (patch) | |
tree | 9f11b2e9d90685e5c9b15a69e7ffefd259e4777e /include/sysexits.h | |
parent | 0f622686af3ae5a8f03dae886b08c260b38bda16 (diff) | |
download | glibc-aa9890239a2aef81e64f3f22a31c7e01b6501f69.tar.gz glibc-aa9890239a2aef81e64f3f22a31c7e01b6501f69.tar.xz glibc-aa9890239a2aef81e64f3f22a31c7e01b6501f69.zip |
Optimize grantpt.
grantpt was performing two consecutive calls to stat with the same file name. Avoid this by creating a special version of the ptsname function which allows to pass the stat result back to the caller.
Diffstat (limited to 'include/sysexits.h')
0 files changed, 0 insertions, 0 deletions