diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-12-23 14:24:12 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-12-23 14:24:12 +0100 |
commit | 38b3cd5f04f3a0c38941146b81e8292ec3abbcac (patch) | |
tree | 8486c0e717f126d5f889e69e8d682a8cefd60d8e /libpthread/nptl/pthread_mutexattr_setrobust.c | |
parent | 8a8434b367e0b94b9fda72c99f1c646737725403 (diff) |
getpass: several fixes
fixes bogus fgets error check
fixes bogus strlen() < 0 check
switches off buffering regardless of tcgetattr() success
prints newline even on error or if there was no '\n' on input
uses sizeof(buf) instead of PWD_BUFFER_SIZE
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'libpthread/nptl/pthread_mutexattr_setrobust.c')
0 files changed, 0 insertions, 0 deletions