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: John Cowan
Subject: Re: diffutils 2.8.1 ISO C90 compliance patch
Date: Tue, 14 Nov 2006 22:47:37 -0500
User-agent: Mutt/1.3.28i

Paul Edwards scripsit:

> Yes.  What happens there is that the include gets translated
> into a filename of DD:INCLUDE(address@hidden).  And there
> is a DD statement for INCLUDE, which is a PDS, and has
> address@hidden as a member.

To clarify this, a PDS is the analogue of an uncompressed tarball,
and is the usual way of storing source-code files on MVS, not only
for transport but at all times, because the number of files that
can be stored on an MVS volume is quite small.  The MVS file system
is not hierarchical, so there is no concept of a working directory
(or of a directory at all, really).

Furthermore, files cannot be created without providing detailed
parameters, so it is normal to indirect all file accesses through
the DD statements, which are like special-purpose environment variables.

> > So, whatever solution
> > works for this, just use the same solution for #include <sys/types.h>.
> 
> 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.  Not to mention changing the mapping table that maps
"sys/types.h" to TYPES.

-- 
John Cowan              http://www.ccil.org/~cowan      address@hidden
"After all, would you consider a man without honor wealthy, even if his
Dinar laid end to end would reach from here to the Temple of Toplat?"
"No, I wouldn't", the beggar replied.  "Why is that?" the Master asked.
"A Dinar doesn't go very far these days, Master.        --Kehlog Albran
Besides, the Temple of Toplat is across the street."      The Profit




reply via email to

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