]> pd.if.org Git - pdclib/blobdiff - platform/example/internals/_PDCLIB_config.h
tmpfile() implementation now based on /proc/sys/kernel/random/uuid.
[pdclib] / platform / example / internals / _PDCLIB_config.h
index 4251522bc4ec88d0b787c2878f5d16cdafe7b3c8..89028b50fa471130cbd006d1a9bf68f811f07bd7 100644 (file)
@@ -258,8 +258,8 @@ typedef int _PDCLIB_fd_t;
 /* Length of the longest filename the implementation guarantees to support. */
 #define _PDCLIB_FILENAME_MAX 128
 
-/* Buffer size for tmpnam(). */
-#define _PDCLIB_L_tmpnam 100
+/* Maximum length of filenames generated by tmpnam(). (See tmpfile.c.) */
+#define _PDCLIB_L_tmpnam 46
 
 /* Number of distinct file names that can be generated by tmpnam(). */
 #define _PDCLIB_TMP_MAX 50