mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue