Unixism in boot.c that won't compile with VC++
Brian Rice
water at tunes.org
Mon Apr 3 08:15:43 PDT 2006
On Apr 3, 2006, at 1:09 AM, Mark Haniford wrote:
> Hi
>
> Around line 197 of boot.c there's a line "delim = index (pathcpy,
> ':');". Is the index function a unixism? Shouldn't it be strchr
> for portability?
Yes, boot.c should only use ANSI C features. Thanks for catching
that. I have uploaded a patch to change the index call to strchr. Let
me know if that works.
--
-Brian
http://tunes.org/~water/brice.vcf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : /archives/slate/attachments/20060403/1ff33450/PGP.pgp
More information about the Slate
mailing list