Article View: news.software.readers
Article #1413tin patch to fix failure to reread active file
From: Jim Robinson
Date: Thu, 02 Apr 1992 18:21
Date: Thu, 02 Apr 1992 18:21
70 lines
2779 bytes
2779 bytes
This is a patch to fix a small bug which prevents tin from rereading the
active file and subsequently updating the screen in group selection mode.
This fix will appear in the next "real" patch release. Note that it is a
shar file.
Jim Robinson
robinson@mdivax1.mdd.comm.mot.com
{ubc-cs!van-bc,uunet}!mdivax1!robinson
*********************CUT HERE *******************************************
#!/bin/sh
# This is a shar file. To extract, sh this file
#
# Contents:
# tin.patch
#
# Wrapped by robinson@sun33k ; Thu Apr 2 10:09:29 PST 1992
#
if [ -f "tin.patch" ] ; then
echo "shar: Will not overwrite existing file tin.patch"
else
echo "shar: extracting tin.patch (946 characters)"
sed 's/^X//' <<'BOP_BOP_A_LOO_WOP_BO_LOP_BAM_BOOM' > tin.patch
X*** /mdi/temp/robinson/TIN/tin-1.1.p2/select.c Mon Mar 30 10:51:08 1992
X--- ./select.c Thu Apr 2 09:50:31 1992
X***************
X*** 57,69 ****
X set_alarm_signal (); /* set alarm signal for resync_active_file () */
X
X while (TRUE) {
X! #ifdef RESYNC_ACTIVE_FILE
X resync_active_file (); /* reread active file if alarm set */
X #endif
X num_of_killed_files = 0;
X num_of_tagged_files = 0;
X ch = (char) ReadCh ();
X! #ifdef RESYNC_ACTIVE_FILE
X resync_active_file (); /* reread active file if alarm set */
X #endif
X
X--- 57,69 ----
X set_alarm_signal (); /* set alarm signal for resync_active_file () */
X
X while (TRUE) {
X! #ifndef NO_RESYNC_ACTIVE_FILE
X resync_active_file (); /* reread active file if alarm set */
X #endif
X num_of_killed_files = 0;
X num_of_tagged_files = 0;
X ch = (char) ReadCh ();
X! #ifndef NO_RESYNC_ACTIVE_FILE
X resync_active_file (); /* reread active file if alarm set */
X #endif
X
BOP_BOP_A_LOO_WOP_BO_LOP_BAM_BOOM
set -- `wc -c tin.patch`
if [ "$1" != "946" ] ; then
echo "shar: tin.patch unpacked with wrong size!"
fi
chmod u=rw,g=r,o=r tin.patch
fi
exit
--
Jim Robinson
robinson@mdivax1.mdd.comm.mot.com
{ubc-cs!van-bc,uunet}!mdivax1!robinson
Technical Details
Message-ID:
<1992Apr2.181352.13245@mdivax1.uucp>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sources.d.mbox.zip!sparky!uunet!bonnie.concordia.ca!news-server.csri.toronto.edu!robinsonShow Full Headers
Complete Article Headers
Message-ID: <1992Apr2.181352.13245@mdivax1.uucp> Subject: tin patch to fix failure to reread active file Date: Thu, 02 Apr 1992 18:21:17 +0000 From: robinson@mdivax1.uucp (Jim Robinson) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sources.d.mbox.zip!sparky!uunet!bonnie.concordia.ca!news-server.csri.toronto.edu!robinson Newsgroups: comp.sources.d,alt.sources.d,news.software.readers Reply-To: robinson@mdd.comm.mot.com (Jim Robinson) Organization: Motorola - Mobile Data Division; Richmond, BC Lines: 69