Menu

#664 TMP_MAX 32767

WSL
closed
nobody
None
wont-fix
Known_bugs
2013-01-22
2004-10-15
No

Windows XP Home SP2
Reading specs from
d:/mingw/bin/../lib/gcc-lib/mingw32/3.2.3/specs
Configured with: ../gcc/configure --with-gcc
--with-gnu-ld --with-gnu-as --host=
mingw32 --target=mingw32 --prefix=/mingw
--enable-threads --disable-nls --enable
-languages=c++,f77,objc --disable-win32-registry
--disable-shared --enable-sjlj-
exceptions
Thread model: win32
gcc version 3.2.3 (mingw special 20030504-1)

In stdio.h
TMP_MAX 32767 is far too low for current systems
becouse it limits tmpfile() function, used in many
programs running for a long time.

This is a serious problem/bug !!! becouse glibc in
Linux has no limits here from 2001 year.

I checked also in current CVS runtime/stdio.h - the
same value is there.

Please treat this as a critical bug.

Discussion

  • Danny Smith

    Danny Smith - 2004-10-15

    Logged In: YES
    user_id=11494

    That limit is imposed by MSVC runtime. Perhaps someone
    could write an alternatibe tmpfile function that has a larger
    limit.

    Danny

     
  • Danny Smith

    Danny Smith - 2004-10-15
    • status: open --> closed-wont-fix
     
  • Earnie Boyd

    Earnie Boyd - 2013-01-22
    • status: closed-wont-fix --> closed
    • resolution: --> wont-fix
    • category: --> Known_bugs
    • milestone: Known_bugs --> WSL
     
  • Earnie Boyd

    Earnie Boyd - 2013-01-22
    • labels: mingw runtime (deprecated use WSL) -->