🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #458

Re: mush vs X.400

#458
From: Barton E. Schaefer
Date: Tue, 31 Jul 1990 01:55
27 lines
1310 bytes
On Jul 30, 11:12pm, Fletcher Mattox wrote:
} Subject: mush vs X.400
}
} We're starting to see addresses on the From: line like:
} 
} 	/PN=whoever/O=foo/ADMD=telemail/C=us/@sprint.com
} 
} Mush wants to parse this address as a filename.  Whoops.

Easy to fix.  It's in file.c.  Relevant hunk of find_files():

   394          /* See if it's a file.  This doesn't get written back
   395           * onto "buf" since it is supposed to be extracted anyway.
   396           */
   397          if (force || *file == '+' || *file == '~' ||
   398                  *file == '|' || *file == '/') {

Change line 398 to either omit the '/' comparison or to do a more
sophisticated check such as:

   398                  *file == '|' || *file == '/' && !index(file, '=')) {

In fact, I think I'll put that latter one into patch #3, unless someone
can suggest a better heuristic.

-- 
Bart Schaefer						schaefer@cse.ogi.edu
Technical Details
Message-ID: <9007310155.AA22104@cse.ogi.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zephyr.ens.tek.com!uw-beaver!mit-eddie!bloom-beacon!CSE.OGI.EDU!schaefer

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zephyr.ens.tek.com!uw-beaver!mit-eddie!bloom-beacon!CSE.OGI.EDU!schaefer
From: schaefer@CSE.OGI.EDU (Barton E. Schaefer)
Newsgroups: comp.mail.mush
Subject: Re: mush vs X.400
Message-ID: <9007310155.AA22104@cse.ogi.edu>
Date: 31 Jul 90 01:55:59 GMT
Sender: daemon@athena.mit.edu (Mr Background)
Organization: The Internet
Lines: 27