Re: [Mutt] #2989: strsep not available on solaris
On Tue, Nov 20, 2007 at 04:19:31 -0000, Mutt wrote:
> Commit 5307:033eba2d6834 broke Solaris build, as we don't have strsep
> function. While looking around for alternative solution, I found this
> reference:
Wow, since when is mutt replacing missing Solaris functions? I found
another one! ;-)
The now somewhat ancient Solaris 2.5.1 = SunOS 5.5.1 does not have
btowc() despite wide char support. I think I submitted a simple (but
functional) patch here some years ago, and can gladly resubmit it. [*]
OTOH: How many specific weird OS revisions can we come up with which
forgot certain functions? SCNR.
That said, I would like to return to honest speak and say I appreciate
your fix, as it seems important for all Solaris versions. Portability
is important!
Regards,
Moritz
[*] I actually still update it and apply it to all my local builds,
despite its uselessness for Linux. :)