nmh-workers
[Top] [All Lists]

Re: m_getfld

1994-07-25 14:12:03
Hello. I am in the process of porting Safe-Tcl to Linux. Safe-Tcl uses
MH-6.8 src/sbr directory to do some of the message handling. The
m_getfld() routine is causing lots of grief because it is highly
optimised and is groping around inside the stdio data structures. This is
a no-no in Linux because Linux doesn't use the usual declarations of what
a FILE structure is; instead, it prefers the iostream.h definitions from C++.

There have been at least two ports for MH to Linux: one using "less
optimized" code, which appeared to be unacceptably slow (I didn't try
it myself, but that was what was told), and one port rewritten to
GNU stdio's implementation, which already became obsolete by the new
GCC release.

It has been discussed a few times in comp.mail.mh (== mh-users
mailing list).  Maybe someone know where the first port can be found.

--
--   Jos Vos   <josv(_at_)NL(_dot_)net>


<Prev in Thread] Current Thread [Next in Thread>