[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: Nameif broken
From: Denys Vlasenko <vda.linux () googlemail ! com>
Date: 2008-04-24 4:49:29
Message-ID: 200804240649.29825.vda.linux () googlemail ! com
[Download RAW message or body]
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
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic