]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
testsuite: stdlib/isomac.c: fix REQUIREMENTS
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Thu, 4 May 2023 20:25:57 +0000 (22:25 +0200)
committerCarlos O'Donell <carlos@redhat.com>
Mon, 8 May 2023 13:59:45 +0000 (09:59 -0400)
All of the mentioned variables are gone. gcc is just the default and
argv[1] can be used instead. /usr/include isn't hard-coded and you can
pass argv[2] with -I... to adjust.

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
stdlib/isomac.c

index 3a6009d98877f7a11626d11006a2d6f756c9d95e..a371bb25935ea43db29b4f9ab0f4b7b60937c6f1 100644 (file)
    compiler compiles some other language than Standard C.
 
    REQUIREMENTS:
-     This program calls gcc to get the list of defined macros. If you
+     This program calls ${1-gcc} to get the list of defined macros. If you
      don't have gcc you're probably out of luck unless your compiler or
-     preprocessor has something similar to gcc's -dM option. Tune
-     PRINT_MACROS in this case. This program assumes headers are found
-     under /usr/include and that there is a writable /tmp directory.
-     Tune SYSTEM_INCLUDE if your system differs.
-     #define BROKEN_SYSTEM if system(NULL) bombs -- one more violation
-     of ISO C, by the way.
+     preprocessor has something similar to gcc's -dM option. This program
+     assumes headers are found in the default search path (pass -I... in
+     $2 if this is not the case) and that there is a writable /tmp directory.
 
    OUTPUT:
      Each header file name is printed, followed by illegal macro names