From: Owen Shepherd Date: Wed, 22 Aug 2012 12:58:32 +0000 (+0100) Subject: win32: L_tmpnam set to 260 (MAX_PATH) X-Git-Url: https://pd.if.org/git/?p=pdclib;a=commitdiff_plain;h=d2d5fb69f50cddf5a00eed17d35f8dc03c2431e8 win32: L_tmpnam set to 260 (MAX_PATH) --- diff --git a/platform/win32/internals/_PDCLIB_config.h b/platform/win32/internals/_PDCLIB_config.h index 81e13a6..7caa7cb 100644 --- a/platform/win32/internals/_PDCLIB_config.h +++ b/platform/win32/internals/_PDCLIB_config.h @@ -349,7 +349,7 @@ typedef void * _PDCLIB_fd_t; #define _PDCLIB_FILENAME_MAX 128 /* Maximum length of filenames generated by tmpnam(). (See tmpfile.c.) */ -#define _PDCLIB_L_tmpnam 46 +#define _PDCLIB_L_tmpnam 260 /* Number of distinct file names that can be generated by tmpnam(). */ #define _PDCLIB_TMP_MAX 50