Hi Alex,
snprintf %a seems to print the correct result with wine (set to WinXP), but
the same executable on a real WinXP just prints 'a'.
Replacing the sprintf() by __mingw_sprintf printed the correct result with
wine and on the WinXP machine.
About C99 - sorry, i think If article isn't
Tim Rühsen tim.rueh...@gmx.de writes:
Hi Alex,
yes, it is the _PC_NAME_MAX issue which is only valid for pathconf().
Attached is the little patch to fix it.
Since MinGW is based on gcc-4.6, C99 should be available.
As the Wiki states (well, the entry is 3 years old...), printf() is the