From: cgd@eden.CS.Berkeley.EDU (Chris G. Demetriou) Subject: Re: Porting MH-6.8 to Linux.... Date: 26 Feb 1993 01:15:15 GMT
In article <1993Feb22.225620.16415@serval.net.wsu.edu> hlu@eecs.wsu.edu (H.J. Lu) writes:
=>|> "badly coded" implies without justification. There's sufficiently
=>|> good reasoning as to why that chunk of MH is coded that way -- read
=>|> the comments, and you'll find out...
=>
=>I don't have the time.
if you don't have time to read the comments, then how do you plan
to modify the code? the m_getfld code is pretty hairy...
>Why not leave that to stdio? Not all stdio's are the same.
umm, because stdio is meant to be a generalized package,
good for some things, but not meant to be the most
optimized solution?
and actually, until recently, almost all "stdio"s were the same.
there have been a few "strange" ones (i believe that AIX has
one such beast), but until the appearance of Net-2 (and, therewith,
Chris Torek's optimized stdio") and, e.g. the stdio implementation
in Linux, they were, at least at the FILE * level, more or less
*all the same*...
<chcukle>
chris