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
2 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ struct _v7_direct {
|
|||
|
||||
/* Definitions for the directory(3) routines: */
|
||||
typedef struct {
|
||||
char _fd; /* Filedescriptor of open directory */
|
||||
int _fd; /* Filedescriptor of open directory */
|
||||
unsigned _count; /* This many bytes in _buf */
|
||||
unsigned _pos; /* Position in _buf */
|
||||
char _buf[_MAX_BLOCK_SIZE]; /* The size does not really
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef _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 */
|
||||
|
||||
#endif /* _MINIX_LIMITS_H */
|
||||
|
|
Loading…
Reference in a new issue