If /etc/services has lines longer than 80 will getservbyname() fail
so we set it up to 160.
Signed-off-by: Natanael Copa
---
libc/inet/getservice.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libc/inet/getservice.c b/libc/inet/getservice.c
index 03f5c29..8248f7a 100
On Wed, Aug 11, 2010 at 12:06:22PM +, Natanael Copa wrote:
>If /etc/services has lines longer than 80 will getservbyname() fail
>so we set it up to 160.
I'd prefer something like the attached, does that fix your issue?
thanks,
diff --git a/libc/inet/getservice.c b/libc/inet/getservice.c
index
On Wed, Aug 18, 2010 at 7:04 PM, Bernhard Reutner-Fischer
wrote:
> On Wed, Aug 11, 2010 at 12:06:22PM +, Natanael Copa wrote:
>>If /etc/services has lines longer than 80 will getservbyname() fail
>>so we set it up to 160.
>
> I'd prefer something like the attached, does that fix your issue?
>
On Thu, Aug 19, 2010 at 10:13 AM, Natanael Copa wrote:
> On Wed, Aug 18, 2010 at 7:04 PM, Bernhard Reutner-Fischer
> wrote:
>> On Wed, Aug 11, 2010 at 12:06:22PM +, Natanael Copa wrote:
>>>If /etc/services has lines longer than 80 will getservbyname() fail
>>>so we set it up to 160.
>>
>> I'd
On Thursday, August 19, 2010 12:49:28 Natanael Copa wrote:
> but it does not seem to solve same issue with getprotobyame("gre") if
> there are any comment longer than 80 chars in /etc/protocols.
i imagine that comments should be skipped rather than needed to be read into
memory and then thrown aw