Increase max number of open files to 255 (more should be possible but does not seem necessary for now)
This commit is contained in:
parent
e8846c3930
commit
42a2c1a03a
@ -58,7 +58,7 @@ struct _v7_direct {
|
|||||||
|
|
||||||
/* Definitions for the directory(3) routines: */
|
/* Definitions for the directory(3) routines: */
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char _fd; /* Filedescriptor of open directory */
|
int _fd; /* Filedescriptor of open directory */
|
||||||
unsigned _count; /* This many bytes in _buf */
|
unsigned _count; /* This many bytes in _buf */
|
||||||
unsigned _pos; /* Position in _buf */
|
unsigned _pos; /* Position in _buf */
|
||||||
char _buf[_MAX_BLOCK_SIZE]; /* The size does not really
|
char _buf[_MAX_BLOCK_SIZE]; /* The size does not really
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#ifndef _MINIX_LIMITS_H
|
#ifndef _MINIX_LIMITS_H
|
||||||
#define _MINIX_LIMITS_H
|
#define _MINIX_LIMITS_H
|
||||||
|
|
||||||
#define __MINIX_OPEN_MAX 30 /* a process may have 30 files open */
|
#define __MINIX_OPEN_MAX 255 /* a process may have 255 files open */
|
||||||
#define __MINIX_PATH_MAX 255 /* a pathname may contain 255 chars */
|
#define __MINIX_PATH_MAX 255 /* a pathname may contain 255 chars */
|
||||||
|
|
||||||
#endif /* _MINIX_LIMITS_H */
|
#endif /* _MINIX_LIMITS_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user