bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: diffutils 2.8.1 ISO C90 compliance patch


From: Andreas Schwab
Subject: Re: diffutils 2.8.1 ISO C90 compliance patch
Date: Wed, 15 Nov 2006 02:42:15 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

"Paul Edwards" <address@hidden> writes:

> There's nowhere to put a sys/types.h or lib/sys/types.h.  It is
> a non-standard include and should not be used.  string.h is a
> standard include and can be used without #ifdefs.  But not
> sys/types.h.  It should be excluded by default.  It is non-standard
> and doesn't exist on MVS and can't exist on MVS.  It's not MVS
> that is non-compliant, it is programs that include sys/types.h that
> are non-compliant.

In the Unix world <sys/types.h> is actually more portable than <string.h>.
Go figure. :-)

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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