URI:
       tests/libc: Adjust FOPEN_MAX in 0098-tmpfil - scc - simple c99 compiler
  HTML git clone git://git.simple-cc.org/scc
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit a27201f2a9b36722cc7a81b31b0e6ae0621078bb
   DIR parent d681ea0ce2e1903f5047140fb3bcb6da1dc0e673
  HTML Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
       Date:   Tue, 12 May 2026 12:18:02 +0200
       
       tests/libc: Adjust FOPEN_MAX in 0098-tmpfil
       
       The value of FOPEN_MAX includes stdin, stdout and stderr
       so it is impossible to open FOPEN_MAX new streams.
       
       Diffstat:
         M tests/libc/execute/0098-tmpfil.c    |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/tests/libc/execute/0098-tmpfil.c b/tests/libc/execute/0098-tmpfil.c
       @@ -52,7 +52,7 @@ test2(void)
        
                max = TMP_MAX - 2;
                if (max > FOPEN_MAX)
       -                max = FOPEN_MAX;
       +                max = FOPEN_MAX - 3;
                if (max > 32)
                        max = 32;