Building a test dir on HP-UX 11.31 with HP cc, I'm seeing this build failure:
cpp: "../../gltests/test-intprops.c", line 371: error 4018: Macro param too
large after substitution - use -H option.
gmake[3]: *** [test-intprops.o] Error 1
There are two ways to fix it:
(a) Add an option -Wp,-H
The creat() function not only has some of the bugs that open() has
(w.r.t. file names that end in a slash). It also crashes when passed
a mode with executable bits, e.g.
creat ("file", 0700);
on MSVC 14.
I'm therefore adding a new module that works around both issues.
Tested on AIX 7.1, HP-UX 1
On Sat, Sep 14, 2019 at 10:51 AM Bruno Haible wrote:
> There are indications that future GCC versions may be stricter regarding
> invocations of undeclared functions. [1] Configuring with
> CC="gcc -Werror=implicit-function-declaration"
> is a way to exercise similar functionality with released
Paul Smith wrote:
> * lib/findprog-in.c (find_in_given_path): Save errno if it is not ENOENT
While testing whether 'access' really sets errno on native Windows, I found
that:
- Yes, it does so.
- But access() with argument X_OK crashes on MSVC. On mingw, it works only
because mingw links t
Hi Paul,
> Without this change it's impossible for a program to show the correct
> error message when the program is found on the path, but is not
> executable.
Good point!
I've committed a slightly different patch, based on yours. While your
patch was fully correct, I have different preferences