stdio.c, stdlib.c, string.c, sys-mman.c, sys-sendfile.c, sys-stat.c,
sys-statvfs.c, sys-time.c, sys-xattr.c syslog.c, time.c, unistd.c,
utime.c: Remove structure definitions, and use the
create-native-map generated definitions within map.h. Update function
prototypes to match current map.h declarations.
* map.c, map.h: Flush (current create-native-map output).
* mph.h: Don't include "map-icalls.h"; "icalls" are now in map.h.
* create-native-map.exe: Added; cached version of create-native-map.exe
used to update map.c, map.h. (create-native-map.exe source within
mono-tools/create-native-map.)
* Makefile.am: Added update-create-native-map target to update
create-native-map.exe using pkg-config & the create-native-map.pc package.
Use create-native-map.exe to generate map.* files instead of make-map.exe.
* sys-statvfs.c: Add Mono_Posix_ToStatvfs, Mono_Posix_FromStatvfs exports.
svn path=/trunk/mono/; revision=66946
accordingly.
* support/Makefile.am: Use $(CRYPT_LIB), not -lcrypt, as not all platforms
support -lcrypt.
* support/stdlib.c: Wrap Mono_Posix_Syscall_setkey() within HAVE_SETKEY,
not PLATFORM_WIN32
svn path=/trunk/mono/; revision=53787
* dirent.c, grp.c, pwd.c, signal.c, stdio.c, stdlib.c: Wrap functions which
return `void' so that they instead: (1) return `int', (2) clear errno
before calling the real function, and (3) return -1 if errno changed.
This must be done in native code because calling
Stdlib.SetLastError/Syscall.xxx
from managed code won't work reliably (since errno may change between the
SetLastError call and the actual Syscall invocation).
* unistd.c: Same as above, and allow fpathconf(3), pathconf(3), sysconf(3),
and confstr(3) callers to explicitly choose their own errno value.
* map.c, map.h: Handle enumeration name change in Mono.Unix.Native
(e.g. ConfStr --> ConfstrName, etc.). This is so that they follow the
established naming conventions.
* map-icalls.h: Add new icalls.
* syslog.c: Added; wraps <syslog.h> functions.
svn path=/trunk/mono/; revision=51711