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.30 (request...
details: https://anonhg.NetBSD.org/src/rev/af21946a4469
branches: netbsd-1-4
changeset: 471293:af21946a4469
user: he <he%NetBSD.org@localhost>
date: Sat May 26 14:50:45 2001 +0000
description:
Pull up revision 1.30 (requested by itojun):
Do not exit on EINTR, which happens on window size change.
diffstat:
usr.sbin/pkg_install/lib/ftpio.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 1a192233ce2b -r af21946a4469 usr.sbin/pkg_install/lib/ftpio.c
--- a/usr.sbin/pkg_install/lib/ftpio.c Sat May 26 14:44:37 2001 +0000
+++ b/usr.sbin/pkg_install/lib/ftpio.c Sat May 26 14:50:45 2001 +0000
@@ -1,8 +1,8 @@
-/* $NetBSD: ftpio.c,v 1.11.2.11 2000/10/12 21:26:24 he Exp $ */
+/* $NetBSD: ftpio.c,v 1.11.2.12 2001/05/26 14:50:45 he Exp $ */
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: ftpio.c,v 1.11.2.11 2000/10/12 21:26:24 he Exp $");
+__RCSID("$NetBSD: ftpio.c,v 1.11.2.12 2001/05/26 14:50:45 he Exp $");
#endif
/*
@@ -136,6 +136,8 @@
rc = select(FD_SETSIZE, &fdset, NULL, NULL, &timeout);
switch (rc) {
case -1:
+ if (errno == EINTR)
+ break;
warn("expect: select() failed (probably ftp died because of bad args)");
done = 1;
retval = -1;
Home |
Main Index |
Thread Index |
Old Index