Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site oddjob.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!oddjob!matt From: matt@oddjob.UUCP (Matt Crawford) Newsgroups: net.sources.games Subject: Ooops - correction to search updates Message-ID: <927@oddjob.UUCP> Date: Sun, 18-Aug-85 16:06:53 EDT Article-I.D.: oddjob.927 Posted: Sun Aug 18 16:06:53 1985 Date-Received: Tue, 20-Aug-85 21:12:16 EDT Reply-To: matt@oddjob.UUCP (Matt Crawford) Followup-To: net.games Organization: U. Chicago, Astronomy & Astrophysics Lines: 80 I erroneously made the diff of util.c be relative to a pre-distribution version. Some of you may have already eliminated the redundant portions of the files, but if now, here is the correct (and much shorter) patch. Thanks to rsk for bringing this to my attention. (I'd still like to hear from people who have installed search and played it.) RCS file: RCS/util.c,v retrieving revision 2.2 diff -c -r2.2 util.c *** /tmp/,RCSt1002651 Sun Aug 18 15:02:24 1985 --- util.c Thu Aug 15 17:10:28 1985 *************** *** 1,5 #ifndef lint ! static char rcsid[] = "$Header: util.c,v 2.2 85/08/06 22:29:53 matt Exp $"; #endif /* * --- 1,5 ----- #ifndef lint ! static char rcsid[] = "$Header: util.c,v 2.3 85/08/15 17:10:06 matt Exp $"; #endif /* * *************** *** 18,23 * Copyright (c) 1979 * * $Log: util.c,v $ * Revision 2.2 85/08/06 22:29:53 matt * Change handling of "r", "b", "g", "j", "q" commands to * provide better feedback, using per-player message buffer. --- 18,26 ----- * Copyright (c) 1979 * * $Log: util.c,v $ + * Revision 2.3 85/08/15 17:10:06 matt + * Try to handle missing files a little better. + * * Revision 2.2 85/08/06 22:29:53 matt * Change handling of "r", "b", "g", "j", "q" commands to * provide better feedback, using per-player message buffer. *************** *** 190,196 char *msg; { extern int errfile; - extern long lseek(); if (errfile < 0) { signal(SIGQUIT, SIG_DFL); --- 193,198 ----- char *msg; { extern int errfile; if (errfile < 0) { signal(SIGQUIT, SIG_DFL); *************** *** 196,202 signal(SIGQUIT, SIG_DFL); kill(getpid(), SIGQUIT); } - (void)lseek(errfile, 0L, 2); write(errfile, msg, strlen(msg)); } --- 198,203 ----- signal(SIGQUIT, SIG_DFL); kill(getpid(), SIGQUIT); } write(errfile, msg, strlen(msg)); }