зеркало из https://github.com/Azure/sonic-openssh.git
- wcobb@cvs.openbsd.org 2002/11/26 00:45:03
[scp.c ssh-keygen.c] Remove unnecessary fflush(stderr) calls, stderr is unbuffered by default. ok markus@
This commit is contained in:
Родитель
2594d9a06b
Коммит
e7ee7fe602
|
@ -26,6 +26,10 @@
|
|||
- stevesk@cvs.openbsd.org 2002/11/24 21:46:24
|
||||
[ssh-keysign.8]
|
||||
typo: "the the"
|
||||
- wcobb@cvs.openbsd.org 2002/11/26 00:45:03
|
||||
[scp.c ssh-keygen.c]
|
||||
Remove unnecessary fflush(stderr) calls, stderr is unbuffered by default.
|
||||
ok markus@
|
||||
|
||||
20021205
|
||||
- (djm) PERL-free fixpaths from stuge-openssh-unix-dev@cdy.org
|
||||
|
@ -861,4 +865,4 @@
|
|||
save auth method before monitor_reset_key_state(); bugzilla bug #284;
|
||||
ok provos@
|
||||
|
||||
$Id: ChangeLog,v 1.2522 2002/12/23 02:09:59 mouring Exp $
|
||||
$Id: ChangeLog,v 1.2523 2002/12/23 02:11:02 mouring Exp $
|
||||
|
|
3
scp.c
3
scp.c
|
@ -75,7 +75,7 @@
|
|||
*/
|
||||
|
||||
#include "includes.h"
|
||||
RCSID("$OpenBSD: scp.c,v 1.92 2002/11/07 22:35:38 markus Exp $");
|
||||
RCSID("$OpenBSD: scp.c,v 1.93 2002/11/26 00:45:03 wcobb Exp $");
|
||||
|
||||
#include "xmalloc.h"
|
||||
#include "atomicio.h"
|
||||
|
@ -570,7 +570,6 @@ syserr: run_err("%s: %s", name, strerror(errno));
|
|||
#endif
|
||||
if (verbose_mode) {
|
||||
fprintf(stderr, "Sending file modes: %s", buf);
|
||||
fflush(stderr);
|
||||
}
|
||||
(void) atomicio(write, remout, buf, strlen(buf));
|
||||
if (response() < 0)
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
*/
|
||||
|
||||
#include "includes.h"
|
||||
RCSID("$OpenBSD: ssh-keygen.c,v 1.101 2002/06/23 09:39:55 deraadt Exp $");
|
||||
RCSID("$OpenBSD: ssh-keygen.c,v 1.102 2002/11/26 00:45:03 wcobb Exp $");
|
||||
|
||||
#include <openssl/evp.h>
|
||||
#include <openssl/pem.h>
|
||||
|
@ -109,7 +109,6 @@ ask_filename(struct passwd *pw, const char *prompt)
|
|||
|
||||
snprintf(identity_file, sizeof(identity_file), "%s/%s", pw->pw_dir, name);
|
||||
fprintf(stderr, "%s (%s): ", prompt, identity_file);
|
||||
fflush(stderr);
|
||||
if (fgets(buf, sizeof(buf), stdin) == NULL)
|
||||
exit(1);
|
||||
if (strchr(buf, '\n'))
|
||||
|
|
Загрузка…
Ссылка в новой задаче