🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.bugs
Article #639

Re: v18i058: mush - Mail User's Shell, Part01/22

#639
From: Barton E. Schaefer
Date: Thu, 25 Apr 1991 04:31
27 lines
1426 bytes
In article <1991Apr24.220750.15603@robobar.co.uk> ronald@robobar.co.uk (Ronald S H Khoo) writes:
} Should there not be a
} 
} 	realname = buf;
} 
} at line 61 of init.c ?  It seems to lose my name without it :-(

No, but line 75 should read (realname && *buf), not (realname && *realname).

} Also, regarding line 411 in hdrs.c, 
} 
} >   if (show_to && strncmp(p, login, strlen(login)))

My copy says !strncmp(p, login, strlen(login)) ....

} question:  what is the strncmp for?

The original definition of the TO: processing was just to show you the
recipient of messages you sent from the local machine, not messages you
may have sent to yourself from elsewhere.

} Would it do any harm to delete the strncmp ? 

No.
-- 
Bart Schaefer                                           schaefer@zipcode.com
Z-Code Software Corporation                             schaefer@cse.ogi.edu
Technical Details
Message-ID: <20523@ogicse.ogi.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!ox.com!emory!ogicse!schaefer
References: <1991Apr21.024715.11028@sparky.IMD.Sterling.COM> <1991Apr24.220750.15603@robobar.co.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!ox.com!emory!ogicse!schaefer
From: schaefer@ogicse.ogi.edu (Barton E. Schaefer)
Newsgroups: comp.sources.bugs,comp.mail.mush
Subject: Re: v18i058:  mush - Mail User's Shell, Part01/22
Message-ID: <20523@ogicse.ogi.edu>
Date: 25 Apr 91 04:31:32 GMT
References: <1991Apr21.024715.11028@sparky.IMD.Sterling.COM> <1991Apr24.220750.15603@robobar.co.uk>
Organization: Oregon Graduate Institute (formerly OGC), Beaverton, OR
Lines: 27