]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
- wcobb@cvs.openbsd.org 2002/11/26 00:45:03
authorBen Lindstrom <mouring@eviladmin.org>
Mon, 23 Dec 2002 02:11:02 +0000 (02:11 +0000)
committerBen Lindstrom <mouring@eviladmin.org>
Mon, 23 Dec 2002 02:11:02 +0000 (02:11 +0000)
     [scp.c ssh-keygen.c]
     Remove unnecessary fflush(stderr) calls, stderr is unbuffered by default.
     ok markus@

ChangeLog
scp.c
ssh-keygen.c

index 2b7f8d6ea06985f987d4679cd4aca258b9ca35bd..dbef2c8424b2e064481986804bd30aaffad72709 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
   - 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
      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 $
diff --git a/scp.c b/scp.c
index 05c490f4e6f852d5b0bf3d4d21d1404d2e62e6df..73ab0de812cde8832a824d8f6134181028d6a112 100644 (file)
--- a/scp.c
+++ b/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)
index 3478e372376e26f2bcc92bf1de105f4d7db8bff5..6a872bcfd2085f9041c2944417a6b1546c0a33fd 100644 (file)
@@ -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'))