[Top][All Lists]

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

Re: diffutils 2.8.1 ISO C90 compliance patch

From: Paul Eggert
Subject: Re: diffutils 2.8.1 ISO C90 compliance patch
Date: Tue, 14 Nov 2006 21:51:16 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

John Cowan <address@hidden> writes:

> Paul Eggert scripsit:
>> <http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/types.h.html>.
>> There is no similar resource for C89.
> Implicitly there is.  If you look at the corresponding page for
> string.h you are told that it's an extension of the corresponding ISO
> C header; if you look at stddef.h, you are told that it is identical
> to the ISO C header.

True, but that's only a sketchy spec for the C language.  Huge chunks
of the language are omitted from the POSIX spec.  It's not at all an
adequate resource for C99 (or for C89, for that matter).

> Paul Edwards scripsit:
>> Well I can translate it into DD:INCLUDE(TYPES) and have a
>> member of the PDS called "TYPES".
> Which is equivalent to hacking the gcc tarball in order to compile
> this program.

But that's fine!  That's what "configure" does on Unix-like hosts.
It's common for "configure" to "translate" .h files by renaming them,
copying them with small changes, etc.  I have no qualms about
suggesting this sort of thing for MVS as well.

MVS.  Gosh.  I haven't written serious JCL code for 30 years.  I used
to know JCL almost by heart, believe it or not!

reply via email to

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