mirror of
https://git.musl-libc.org/git/musl
synced 2025-01-09 00:02:17 +03:00
fix FILENAME_MAX to match PATH_MAX
POSIX is not clear on whether it includes the termination, but ISO C requires that it does. the whole concept of this macro is rather useless, but it's better to be correct anyway.
This commit is contained in:
parent
2f5fe45808
commit
b823ef2db1
@ -38,7 +38,7 @@ extern "C" {
|
|||||||
#define _IONBF 2
|
#define _IONBF 2
|
||||||
|
|
||||||
#define BUFSIZ 1024
|
#define BUFSIZ 1024
|
||||||
#define FILENAME_MAX 4095
|
#define FILENAME_MAX 4096
|
||||||
#define FOPEN_MAX 1000
|
#define FOPEN_MAX 1000
|
||||||
#define TMP_MAX 10000
|
#define TMP_MAX 10000
|
||||||
#define L_tmpnam 20
|
#define L_tmpnam 20
|
||||||
|
Loading…
Reference in New Issue
Block a user