bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] xalloc: add xstrndup


From: Bruno Haible
Subject: Re: [Bug-gnulib] xalloc: add xstrndup
Date: Tue, 19 Aug 2003 13:39:57 +0200
User-agent: KMail/1.5

Paul Eggert wrote:
> This is because our
> suggestion to the few people still running pre-C89 hosts like SunOS
> 4.x is to install GCC first; but GCC is only a freestanding compiler.

IIRC, SunOS 4 had <string.h>; the problem at that time was that
<string.h> existed but some of the functions were declared in
<strings.h> instead, which led to warnings. You could live with the
warnings because 'int' and 'char *' were both 32-bit wide.

GCC never provided a <ctype.h>, <errno.h>, <math.h>, <setjmp.h>,
<signal.h>, <stdio.h>, <string.h> or <time.h> of its own.

> > Any objections against this patch?
>
> Not from me.

OK, committed.

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]