Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.sbin/pkg_install/lib Pull up revision 1.30 (request...
details: https://anonhg.NetBSD.org/src/rev/5b6ea5f64825
branches: netbsd-1-5
changeset: 491307:5b6ea5f64825
user: he <he%NetBSD.org@localhost>
date: Sun Apr 22 18:22:44 2001 +0000
description:
Pull up revision 1.30 (requested by itojun):
Do not terminate on EINTR. With previous behavior pkg_add
terminates if we suspend/change window size.
diffstat:
usr.sbin/pkg_install/lib/ftpio.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 2a1f7c442e85 -r 5b6ea5f64825 usr.sbin/pkg_install/lib/ftpio.c
--- a/usr.sbin/pkg_install/lib/ftpio.c Sun Apr 22 18:19:28 2001 +0000
+++ b/usr.sbin/pkg_install/lib/ftpio.c Sun Apr 22 18:22:44 2001 +0000
@@ -1,8 +1,8 @@
-/* $NetBSD: ftpio.c,v 1.20.2.8 2001/03/20 18:13:06 he Exp $ */
+/* $NetBSD: ftpio.c,v 1.20.2.9 2001/04/22 18:22:44 he Exp $ */
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: ftpio.c,v 1.20.2.8 2001/03/20 18:13:06 he Exp $");
+__RCSID("$NetBSD: ftpio.c,v 1.20.2.9 2001/04/22 18:22:44 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