Alime.200 net.news.b utcsrgv!utzoo!decvax!duke!chico!harpo!vax135!lime!martin Tue Mar 9 14:21:38 1982 log() and lock() problem There is an extra piece of code that should go into ifuncs.c to allow for the fact of log being created so that inews can't write to it. extra lines are marked with a '+'. ifuncs.c lock(); logfile = fopen(logfname, "a"); if (logfile == NULL) + { + unlock(); return; + } fprintf(logfile, "%s %s\t%s\n", logtime, rmtsys, msg); fclose(logfile); unlock(); } martin levy. ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.