
In some places it was assumed that PATH_MAX does not include a terminating null character. Increases PATH_MAX to 1024 to get in sync with NetBSD. Required some rewriting in AVFS to keep memory usage low (the stack in use by a thread is very small).
13 lines
416 B
C
13 lines
416 B
C
/* The <minix/limits.h> header defines the Minix values for some MINIX
|
|
* constants. Both the MINIX constants and the non-posix constants
|
|
* refer to these underlying definitions.
|
|
*/
|
|
|
|
#ifndef _MINIX_LIMITS_H
|
|
#define _MINIX_LIMITS_H
|
|
|
|
#define __MINIX_OPEN_MAX 255 /* a process may have 255 files open */
|
|
#define __MINIX_PATH_MAX 1024/* a pathname may contain 1023 chars (+ '\0')*/
|
|
|
|
#endif /* _MINIX_LIMITS_H */
|