🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bionet.software.acedb
Article #2763

logfile diversion

#2763
From: Richard Durbin
Date: Tue, 19 Apr 1994 17:28
19 lines
1270 bytes
Following Suzanna's letter, and a brief exchange with Jean, I have changed
messubs.c so that if messdump() can not open the requested logfile then it
writes to stderr, starting with a message of complaint about failing to
open the file.  Here is the diff to my previous version of messubs.c:

164,169c164,166
<         { dumpfil = stderr ;
<           fprintf (stderr, "\n** Can't open log file %s - using stderr **\n",
<                    messdumpfilename) ;
<         }
<       else
<         fprintf (dumpfil,"\n%s %s\n", timeStamp(), dateStamp()) ;
---
>         messcrash ("Can't open dump file %s", messdumpfilename) ;
>
>       fprintf (dumpfil,"\n%s %s\n", timeStamp(), dateStamp()) ;

Richard
Technical Details
Message-ID: <2p14bu$19p@mserv1.dl.ac.uk>
Path: arc1-ca.pugleaf.net!gmd.de!nntp.gmd.de!xlink.net!howland.reston.ans.net!EU.net!uknet!daresbury!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6d40,d11257718e2393ae,start
X-Google-Attributes: gidf6d40,public
X-Google-ArrivalTime: 1994-04-19 10:28:30 PST
Path: arc1-ca.pugleaf.net!gmd.de!nntp.gmd.de!xlink.net!howland.reston.ans.net!EU.net!uknet!daresbury!not-for-mail
From: rd@mrc-lmb.cam.ac.uk (Richard Durbin)
Newsgroups: bionet.software.acedb
Subject: logfile diversion
Date: 19 Apr 1994 18:28:30 +0100
Lines: 19
Sender: daemon@mserv1.dl.ac.uk
Distribution: bionet
Message-ID: <2p14bu$19p@mserv1.dl.ac.uk>
Original-To: acedb@dl.ac.uk