1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- tmpnam() wrote more than L_tmpnam bytes to the name buffer. Also, the

TMP_MAX value was off by one.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15029 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2005-09-04 11:28:00 +00:00
parent 0d85b41a2d
commit 378e50d2ab
3 changed files with 19 additions and 13 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: stdio.h,v 1.16 2005-06-18 07:23:17 obarthel Exp $
* $Id: stdio.h,v 1.17 2005-09-04 11:28:00 obarthel Exp $
*
* :ts=4
*
@ -154,7 +154,7 @@ typedef struct
#define L_tmpnam 10
/* Maximum number of unique file names tmpnam() can generate */
#define TMP_MAX 0x3ffff
#define TMP_MAX 0x40000
/****************************************************************************/