]> Zhao Yanbai Git Server - minix.git/commit
Fix off-by-one errors and increase PATH_MAX to 1024
authorThomas Veerman <thomas@minix3.org>
Mon, 12 Sep 2011 09:00:24 +0000 (09:00 +0000)
committerThomas Veerman <thomas@minix3.org>
Mon, 12 Sep 2011 09:00:24 +0000 (09:00 +0000)
commit203937456ec0987abdb711ede637e467750f5a83
tree5924d11d561cf2e897a38fd8339f613dceecd994
parent98233fa1446978d8251996dfbc3e6b64b136b450
Fix off-by-one errors and increase PATH_MAX to 1024

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).
20 files changed:
common/include/minix/limits.h
nbsd_include/stdio.h
servers/avfs/exec.c
servers/avfs/fscall.c
servers/avfs/link.c
servers/avfs/mount.c
servers/avfs/open.c
servers/avfs/path.c
servers/avfs/protect.c
servers/avfs/proto.h
servers/avfs/request.c
servers/avfs/stadir.c
servers/avfs/time.c
servers/avfs/utility.c
servers/mfs/glo.h
servers/vfs/fscall.c
servers/vfs/glo.h
servers/vfs/link.c
servers/vfs/path.c
servers/vfs/utility.c