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: Paul Eggert
Subject: Re: diffutils 2.8.1 ISO C90 compliance patch
Date: Tue, 14 Nov 2006 16:47:49 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

"Paul Edwards" <address@hidden> writes:

> It is not natural to create files on the fly in MVS.

I thought you said there was a C89 environment?  C89 lets you create
files with fopen.  But if that doesn't work, I'm afraid you'll just
have to think of another way.  I'm sure there is some way to do it.

>> And "diff" doesn't care whether it's a single file named "sys/types.h"
>> (with a slash in its name), so perhaps you can just create that -- I
>> assume MVS allows slashes in file names?
>
> No it doesn't.  Filenames are basically 8.8.8(8).  But that's not what
> programs expect.  Programs expect an 8-character DD name.

But diffutils already has include directives like #include
<hard-locale.h>.  You must have some solution for this, even though
hard-locale.h is not an 8.8.whatever name.  So, whatever solution
works for this, just use the same solution for #include <sys/types.h>.

Or, if you can't do that, just remove all the #include <sys/types.h>
lines from the source code.  That shouldn't be hard to do, in an
automated way.




reply via email to

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