summaryrefslogtreecommitdiff
path: root/libc/stdio/fclose.c
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-12-23 14:24:12 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2011-12-23 14:24:12 +0100
commit38b3cd5f04f3a0c38941146b81e8292ec3abbcac (patch)
tree8486c0e717f126d5f889e69e8d682a8cefd60d8e /libc/stdio/fclose.c
parent8a8434b367e0b94b9fda72c99f1c646737725403 (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 'libc/stdio/fclose.c')
0 files changed, 0 insertions, 0 deletions