nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] corruption when attaching all-null files

2014-05-07 14:58:13
Lyndon Nerenberg <lyndon(_at_)orthanc(_dot_)ca> writes:

Oy.  But given how Apple loves to arbitrarily break long
standing UNIX APIs and runtime behaviours, I am unsympathetic
to their plight :-P

It's a GNUism.  Mac probably has the BSD equivalent, fgetln(3).

That said, we could import our own implementation of getline()
and use that if the underlying OS doesn't have one.  I just
took a quick peek at the FreeBSD implementation of getline()
and it looks like it would import with little pain.

Does nmh support any systems with neither getline nor fgetln?

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

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