Nameif broken
Denys Vlasenko
vda.linux at googlemail.com
Thu Apr 24 04:49:29 UTC 2008
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
More information about the busybox
mailing list