increase system-wide filename limit to 255
. move mfs-specific struct, constants to mfs/, so mfs-specific, on-disk format structs and consts are fully isolated from generic structs and functions . removes de and readfs utils
This commit is contained in:
@@ -12,7 +12,7 @@ INCS+= ioc_net.h statfs.h
|
||||
INCS+= ansi.h atomic.h \
|
||||
bitops.h bswap.h \
|
||||
cdefs.h cdefs_aout.h cdefs_elf.h ctype_bits.h ctype_inline.h \
|
||||
dir.h dirent.h exec_elf.h \
|
||||
dirent.h exec_elf.h \
|
||||
endian.h errno.h \
|
||||
fcntl.h fd_set.h featuretest.h file.h \
|
||||
float_ieee754.h gcq.h gmon.h hash.h \
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
/*
|
||||
* this files resolves conflicts between the file of the host system and
|
||||
* the minix specific one. This file is included directly only on Minix
|
||||
* and it is an error to do so on any other system
|
||||
*/
|
||||
|
||||
#if !defined(_MINIX) || !defined(__minix)
|
||||
#error "Including Minix specific file in program targeted for other system"
|
||||
#else
|
||||
#include <minix/dir.h>
|
||||
#endif
|
||||
@@ -26,7 +26,7 @@
|
||||
#define LINK_MAX SHRT_MAX /* # links a file may have */
|
||||
#define MAX_CANON 255 /* size of the canonical input queue */
|
||||
#define MAX_INPUT 255 /* size of the type-ahead buffer */
|
||||
#define NAME_MAX 60 /* # chars in a file name (actually DIRSZ) */
|
||||
#define NAME_MAX 255 /* system-wide max # chars in a file name */
|
||||
#define NGROUPS_MAX 8 /* max. number of supplemental groups */
|
||||
#define UID_MAX SHRT_MAX /* max value for a uid_t */
|
||||
#ifndef OPEN_MAX
|
||||
|
||||
Reference in New Issue
Block a user