From a3d1bd66628a5eb1a2770cbea6e1531549eb350b Mon Sep 17 00:00:00 2001 From: jbj Date: Sun, 28 Feb 1999 14:18:56 +0000 Subject: [PATCH] increase timeout in tread from 5 to 30 secs for slow links. CVS patchset: 2842 CVS date: 1999/02/28 14:18:56 --- CHANGES | 3 ++- lib/tread.c | 2 +- popt/po/popt.pot | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 6afff94..eb3f4a7 100644 --- a/CHANGES +++ b/CHANGES @@ -1,7 +1,6 @@ 2.90 -> 2.91 - fix: build of packages w/o BuildRoot segfault. - permit substitution of I18N strings from PO meta-catalogues. - - rename file before unlinking to avoid EBUSY failures. - add callbacks for installer updates while doing URL xfers. - resurrect http queries/verifies. - create rpmbzio.c to avoid implicit dependence on libbz2 for installer. @@ -63,6 +62,8 @@ - there must be a { between two % in a query format (unless %% is used) 2.5.6 -> 2.5.7: + - increase timeout in tread from 5 to 30 secs for slow links. + - rename file before unlinking to avoid EBUSY failures. - headerGetEntry now returns count=0 if tag not found (Chris Blizzard). - resurrect osf1 as canonical os name (Time Mooney). - sub-packages should inheirit Prefixes tag (Ian Mortimer). diff --git a/lib/tread.c b/lib/tread.c index 5dde577..105c0b6 100644 --- a/lib/tread.c +++ b/lib/tread.c @@ -13,7 +13,7 @@ int timedRead(FD_t fd, void * bufptr, int length) { FD_ZERO(&readSet); FD_SET(fdFileno(fd), &readSet); - tv.tv_sec = 5; /* FIXME: this should be configurable */ + tv.tv_sec = 30; /* FIXME: this should be configurable */ tv.tv_usec = 0; if (select(fdFileno(fd) + 1, &readSet, NULL, NULL, &tv) != 1) diff --git a/popt/po/popt.pot b/popt/po/popt.pot index 40d81e4..632e58c 100644 --- a/popt/po/popt.pot +++ b/popt/po/popt.pot @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 1999-01-08 09:54-0500\n" +"POT-Creation-Date: 1999-02-26 18:01-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" -- 2.7.4