SAMBA 4 - compilation on Solaris (strsep missing)
David Collier-Brown
davec-b at rogers.com
Tue Aug 1 17:55:37 GMT 2006
This is usually written it terms of strtok, but using
the BSD version is also very sane (;-))
petr sumbera - Sun Microsystems - Prague Czech Republic wrote:
> Hello guys,
>
> I have just tried to compile Samba 4 from repository on Solaris. It went
> quite good except this stopper:
>
> strsep is not available on Soalirs
>
> I recommend add this function into:
>
> source/heimdal/lib/roken/strsep_copy.c
> (with #ifndef HAVE_STRSEP).
>
> I believe we can use for example OpenBSD implementation:
>
> http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/string/strsep.c?rev=1.6&content-type=text/x-cvsweb-markup
>
>
> Cheers,
>
> Petr
>
>
--
David Collier-Brown, | Always do right. This will gratify
System Programmer and Author | some people and astonish the rest
davecb at spamcop.net | -- Mark Twain
(416) 223-5943
More information about the samba-technical
mailing list