On Wednesday 23 April 2008 23:39, sddnd wrote:
> Denys:
>
> gcc-4.3.0 refuses to compile this.
gcc-4.3.0 worked for me.
> use:
>
> *(char *)strpbrk(line_ptr, " \t\n:") = '\0';
>
> is ok.
>
> ps. gcc verion 4.3.0 20080111
gcc has nothing to do with it. It's libc. Manpage says:
#include <string.h>
char *strpbrk(const char *s, const char *accept);
but on your system it's "const char *strpbrk(const char *s, const char
*accept);"
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox