Skip to content

Commit ee8de01

Browse files
committed
Update FILENAME_MAX Android constant
1 parent 87b5143 commit ee8de01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/notbsd/android/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ pub const EFD_CLOEXEC: ::c_int = 0x80000;
582582
pub const USER_PROCESS: ::c_short = 7;
583583

584584
pub const BUFSIZ: ::c_uint = 1024;
585-
pub const FILENAME_MAX: ::c_uint = 1024;
585+
pub const FILENAME_MAX: ::c_uint = 4096;
586586
pub const FOPEN_MAX: ::c_uint = 20;
587587
pub const POSIX_FADV_DONTNEED: ::c_int = 4;
588588
pub const POSIX_FADV_NOREUSE: ::c_int = 5;

0 commit comments

Comments
 (0)