Re: libesmtp-1.0.2 bug and patch for FreeBSD

Pawel Salek <[email protected]> Mon, 19 Jan 2004 19:46:37 +0000
Newsgroups gmane.comp.lib.libesmtp
Message-ID <[email protected]>
On 01/20/2004 07:48:27 PM, John Merryweather Cooper wrote:
> Version 1.0.2 works after a little hacking on FreeBSD:
>=20
> Patch:  patch-smpt-tls.c
>=20
> FreeBSD does not have a memrchr() [not POSIX] and so a home-grown one =20
> is cobbled into the code with the patch.  FreeBSD does have a strrchr() =20
> for C-strings.

Wouldn't it be the best to use strrchr() throughout entire code then?

Pawel