]> Zhao Yanbai Git Server - minix.git/commit
Fix stat, add fstat and other NBSD libc fixes.
authorGianluca Guida <gianluca@minix3.org>
Fri, 4 Mar 2011 22:31:31 +0000 (22:31 +0000)
committerGianluca Guida <gianluca@minix3.org>
Fri, 4 Mar 2011 22:31:31 +0000 (22:31 +0000)
commitb87af1c32524d02533013de96f577afbe1a547f9
tree9c9801c91da6d0bcd5be2dfe70c997fcfe7afa63
parent98af1ee19564fcfe519d64caf893d96977848d6a
Fix stat, add fstat and other NBSD libc fixes.

This patch changes the NBSD libc stat implemenation and adds
fstat (and headers), taken from current libc.
It also adds weaks alias to functions in the resolver that
were removed from public use in NetBSD but that are still
used by Minix, and fixes a NetBSD non-REENTRANT bug in
in gen/initdir.c.
lib/nbsd_libc/gen/initdir.c
lib/nbsd_libc/include/namespace.h
lib/nbsd_libc/minix-port.patch
lib/nbsd_libc/resolv/res_comp.c
lib/nbsd_libc/resolv/res_init.c
lib/nbsd_libc/sys-minix/Makefile.inc
lib/nbsd_libc/sys-minix/fstatfs.c [new file with mode: 0644]
lib/nbsd_libc/sys-minix/stat.c
nbsd_include/sys/stat.h
nbsd_include/sys/statfs.h [new file with mode: 0644]