mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-01-09 19:19:37 +00:00
- 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:
parent
2594d9a06b
commit
e7ee7fe602
@ -26,6 +26,10 @@
|
|||||||
- stevesk@cvs.openbsd.org 2002/11/24 21:46:24
|
- stevesk@cvs.openbsd.org 2002/11/24 21:46:24
|
||||||
[ssh-keysign.8]
|
[ssh-keysign.8]
|
||||||
typo: "the the"
|
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
|
20021205
|
||||||
- (djm) PERL-free fixpaths from stuge-openssh-unix-dev@cdy.org
|
- (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;
|
save auth method before monitor_reset_key_state(); bugzilla bug #284;
|
||||||
ok provos@
|
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"
|
#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 "xmalloc.h"
|
||||||
#include "atomicio.h"
|
#include "atomicio.h"
|
||||||
@ -570,7 +570,6 @@ syserr: run_err("%s: %s", name, strerror(errno));
|
|||||||
#endif
|
#endif
|
||||||
if (verbose_mode) {
|
if (verbose_mode) {
|
||||||
fprintf(stderr, "Sending file modes: %s", buf);
|
fprintf(stderr, "Sending file modes: %s", buf);
|
||||||
fflush(stderr);
|
|
||||||
}
|
}
|
||||||
(void) atomicio(write, remout, buf, strlen(buf));
|
(void) atomicio(write, remout, buf, strlen(buf));
|
||||||
if (response() < 0)
|
if (response() < 0)
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#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/evp.h>
|
||||||
#include <openssl/pem.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);
|
snprintf(identity_file, sizeof(identity_file), "%s/%s", pw->pw_dir, name);
|
||||||
fprintf(stderr, "%s (%s): ", prompt, identity_file);
|
fprintf(stderr, "%s (%s): ", prompt, identity_file);
|
||||||
fflush(stderr);
|
|
||||||
if (fgets(buf, sizeof(buf), stdin) == NULL)
|
if (fgets(buf, sizeof(buf), stdin) == NULL)
|
||||||
exit(1);
|
exit(1);
|
||||||
if (strchr(buf, '\n'))
|
if (strchr(buf, '\n'))
|
||||||
|
Loading…
Reference in New Issue
Block a user