In POSIX.1-2008:
P_tmpdir [OB XSI] Default directory prefix for tempnam(). This macro is used in a lot of places in legacy applications, and is why we see a lot of programs written for e.g. Linux store volatile temporary files in /var/tmp and not /tmp. MFC after: 2 months
This commit is contained in:
parent
9800a50f2d
commit
c8fb747dc1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228924
@ -205,7 +205,7 @@ __END_DECLS
|
||||
|
||||
/* System V/ANSI C; this is the wrong way to do this, do *not* use these. */
|
||||
#if __XSI_VISIBLE
|
||||
#define P_tmpdir "/var/tmp/"
|
||||
#define P_tmpdir "/tmp/"
|
||||
#endif
|
||||
#define L_tmpnam 1024 /* XXX must be == PATH_MAX */
|
||||
#define TMP_MAX 308915776
|
||||
|
Loading…
Reference in New Issue
Block a user