|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T s
Length: 1895 (0x767) Types: TextFile Names: »searchpatch2«
└─⟦87ddcff64⟧ Bits:30001253 CPHDIST85 Tape, 1985 Autumn Conference Copenhagen └─⟦this⟧ »cph85dist/search/searchpatch2«
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)); }