Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.sbin/pkg_install/lib Pull up revision 1.16 (request...



details:   https://anonhg.NetBSD.org/src/rev/df69667b4a4f
branches:  netbsd-1-4
changeset: 470271:df69667b4a4f
user:      he <he%NetBSD.org@localhost>
date:      Fri Feb 04 22:55:20 2000 +0000

description:
Pull up revision 1.16 (requested by hubertf):
  Initialize buffer properly, so that the expect-routine doesn't
  get confused.

diffstat:

 usr.sbin/pkg_install/lib/ftpio.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r c116d3e5664c -r df69667b4a4f usr.sbin/pkg_install/lib/ftpio.c
--- a/usr.sbin/pkg_install/lib/ftpio.c  Fri Feb 04 22:52:26 2000 +0000
+++ b/usr.sbin/pkg_install/lib/ftpio.c  Fri Feb 04 22:55:20 2000 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: ftpio.c,v 1.11.2.5 2000/02/02 23:09:11 he Exp $        */
+/*     $NetBSD: ftpio.c,v 1.11.2.6 2000/02/04 22:55:20 he Exp $        */
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: ftpio.c,v 1.11.2.5 2000/02/02 23:09:11 he Exp $");
+__RCSID("$NetBSD: ftpio.c,v 1.11.2.6 2000/02/04 22:55:20 he Exp $");
 #endif
 
 /*
@@ -119,7 +119,7 @@
 
     if(0) setbuf(stdout, NULL);
 
-    memset(buf, '#', sizeof(buf));
+    memset(buf, '\n', sizeof(buf));
 
     timeout.tv_sec=5*60;
     timeout.tv_usec=0;



Home | Main Index | Thread Index | Old Index