OSDN Git Service

Only set no buffering if we opened the file. Also, don't bother restoring
authorManuel Novoa III <mjn3@codepoet.org>
Tue, 9 Apr 2002 17:00:04 +0000 (17:00 -0000)
committerManuel Novoa III <mjn3@codepoet.org>
Tue, 9 Apr 2002 17:00:04 +0000 (17:00 -0000)
commit6fe5b769d6e013febf722788cb890c3af9701a02
tree7de8ab8bcda3e4a7f80c2e1b473f2dd779faa4df
parentc0c5714a11fe01407658ba7a5dd2513f626c6b2c
Only set no buffering if we opened the file.  Also, don't bother restoring
buffering since we will close the file in that case anyway.
libc/unistd/getpass.c