nmh-workers
[Top] [All Lists]

m_getfld (was Re: [Nmh-workers] Wishlist: Extracting Attachments from Email.)

2004-11-26 04:59:07
Jon Steinhart wrote:
Fear of m_getfld has kept me from trying this.

It's not that dreadful, is it? I grant you that it sticks its
hands deep into the guts of the C library in a dreadfully unclean
manner, but if you're just using it it's not too bad.

Is there any consensus for ripping out the code that knows about libc
innards in favour of using actual standard interfaces now that copying data
isn't so expensive? I think that would make that file much easier to
maintain, and reduce porting issues and avoid potential breakage if the libc
interface changes (or if the GNU folks find some way to restrict programs to
the public APIs).

-- PMM


_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

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