Age | Commit message (Collapse) | Author |
|
* serial.h: New file with serial port constants.
* serial.c: Use the constants in serial.h instead of magic numbers.
svn path=/trunk/mono/; revision=57383
|
|
* support/sys-time.c: lutimes(2) only exists on some BSDs. There's a
configure check for it now -- use it.
svn path=/trunk/mono/; revision=55015
|
|
* sys-time.c: Add lutimes(2) and futimes(2) wrapper.
svn path=/trunk/mono/; revision=54922
|
|
Thanks to Ben Gamari for the patch.
* support/map.c: Include <sys/mman.h>. Fixes #77091. Thanks to Ben Gamari.
svn path=/trunk/mono/; revision=54894
|
|
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
|
|
svn path=/trunk/mono/; revision=53781
|
|
* Makefile.am: Link against libcrypt, needed for setkey(3) as referenced
in stdlib.c. Problem caught by Michael Hill.
svn path=/trunk/mono/; revision=53775
|
|
* assembly.c (mono_set_dirs): New API entry point to set the
assembly and the config directory in one call
A more robust framework for relocation and a public API for embedders to use.
svn path=/trunk/mono/; revision=52816
|
|
2005-10-14 -- ToConfstrName, FromConfstrName, etc. Add them.
* map.c, map.h: Remove invalid enumeration value SyslogFacility.LOG_USRE.
svn path=/trunk/mono/; revision=52656
|
|
svn path=/trunk/mono/; revision=51830
|
|
* 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
|
|
* string.c: Added; exports strlen(3) wrapper.
* map-icalls.h: Prototype for strlen(3) wrapper.
svn path=/trunk/mono/; revision=51345
|
|
svn path=/trunk/mono/; revision=51050
|
|
svn path=/trunk/mono/; revision=51014
|
|
svn path=/trunk/mono/; revision=51013
|
|
svn path=/trunk/mono/; revision=51008
|
|
* map-icalls.h, map.c, map.h: Update to catch new enums AccessModes, Errno,
and MmapProts. Huge re-ordering because of namespace change in managed
code (not relevant to C API), and make-map.exe now outputs types/members
in alphabetical order (to avoid major code churn in the future).
svn path=/trunk/mono/; revision=50308
|
|
* sys-xattr.c: Use <attr/attr.h> if <sys/xattr.h> does not exist (e.g. for
glibc 2.2)
* Makefile.am: Link to libattr if libc does not provide the xattr
syscalls.
svn path=/trunk/mono/; revision=47231
|
|
*supportw.c, Makefile.am: remove calls and link to libmono/libwapi.
svn path=/trunk/mono/; revision=47049
|
|
* sys-xattr.c: Support FreeBSD's extattr implementation. Slight API rework
to provide transparency between Linux and FreeBSD EA's.
* map-icalls.h: Update as above
svn path=/trunk/mono/; revision=46863
|
|
* supportw.c: HeapDestroy.
* Makefile.am: don't build supportw on windows.
svn path=/trunk/mono/; revision=46791
|
|
svn path=/trunk/mono/; revision=46753
|
|
* Makefile.am: namespace our library.
svn path=/trunk/mono/; revision=46751
|
|
* supportw.c:
* supportw.h:
* Makefile.am: new library intended to provide often P/Invoked windows
API functions not present in io-layer.
svn path=/trunk/mono/; revision=46736
|
|
[Flags] enum); make-map.exe changes.
svn path=/trunk/mono/; revision=46719
|
|
enum; change in order between LOG_USER and LOG_USRE).
svn path=/trunk/mono/; revision=46638
|
|
svn path=/trunk/mono/; revision=46591
|
|
svn path=/trunk/mono/; revision=46239
|
|
* sys-statvfs.c (copy_statfs): f_flags is the field name on BSD,
not f_flag.
svn path=/trunk/mono/; revision=45929
|
|
about ABI stability until Mono 1.2 (if then).
svn path=/trunk/mono/; revision=45659
|
|
* support/sys-mman.c: Check for presence of mremap and remap_file_pages.
svn path=/trunk/mono/; revision=45579
|
|
`make refresh` generates.
* map.c: Add <sys/xattr.h> header.
svn path=/trunk/mono/; revision=45438
|
|
munlock, mremap, mincore, remap_file_pages.
* map-icalls.h: Update to latest shared interface.
* map.c, map.h: Add {To,From} pairs for MmapFlags, MmapProt, MsyncFlags,
MlockallFlags, MremapFlags.
* mph.h: Add mph_return_*_if_ssize_t_overflow macros.
svn path=/trunk/mono/; revision=45279
|
|
svn path=/trunk/mono/; revision=45278
|
|
svn path=/trunk/mono/; revision=45275
|
|
svn path=/trunk/mono/; revision=45273
|
|
* Makefile.am (MPH_C_SOURCE): Add map-icalls.h. Fixes #75012.
svn path=/trunk/mono/; revision=44849
|
|
declarations for DllImport functions in Mono.Posix.dll. This ensure
consistency between Mono.Posix.dll and MonoPosixHelper.so.
* mph.h: Add include for map-icalls.h, to ensure that all MonoPosixHelper
exports have correct prototypes.
* dirent.c, grp.c, macros.c, pwd.c, signal.c, stdio.c, sys-stat.c,
sys-time.c, utime.c: Correct prototypes to match map-icalls.h. Alas, this
"loses" information -- FILE* becomes void*, etc. -- but no semantics or
ABI should be changed (except for Mono_Posix_Syscall_utime). Some
structure names also changed to match the generated names; since the
structures are private, this shouldn't break anything.
* errno.c: Remove Mono_Posix_Syscall_SetLastError so we don't get a warning
about a missing prototype. This was never in a stable release.
* old-map.c: Include mph.h for prototype checking.
* unistd.c: SeekFlags conversion is now done in managed code so that a short
isn't passed as a parameter; Correct prototypes to match map-icalls.h.
* sys-xattr.c: fix lsetxattr/fsetxattr confusion; Correct prototypes to
match map-icalls.h.
* sys-sendfile.c: Move mph.h include so that HAVE_SYS_SENDFILE_H is used.
* sys-wait.c: Include mph.h so that prototypes are checked.
svn path=/trunk/mono/; revision=44702
|
|
* map.c: Include <sys/statvfs.h> so Mono_Posix_{To,From}MountFlags actually
does something useful.
svn path=/trunk/mono/; revision=44574
|
|
`struct statvfs', which is POSIX).
* sys-statvfs.c: Use ToMountFlags to convert the OS flags value into the
managed equivalent.
svn path=/trunk/mono/; revision=44465
|
|
* sys-xattr.c: Mac OS/X Tiger supports xattr but has a different API for supporting
resource forks. Allow mono to build on Tiger.
svn path=/trunk/mono/; revision=43995
|
|
"dump" of a fpos_t. This is used for Mono.Unix.FilePosition.ToString().
svn path=/trunk/mono/; revision=43825
|
|
Thanks to Daniel Drake <dsd@gentoo.org> for the patch.
* support/map.c, support/map.h: Added XattrFlags values, functions.
* support/sys-xattr.c: Added; <sys/xattr.h> wrapper functions.
Thanks to Daniel Drake for writing these.
* support/Makefile.am: Add sys-xattr.c to the build.
svn path=/trunk/mono/; revision=43243
|
|
(otherwise assume existence of XPG variant). This allows proper
compilation under Red Hat 9.
* fstab.c: protect against users calling setfsent(), setfsent(), ...
endfsent(), which would otherwise leak a FILE handle.
svn path=/trunk/mono/; revision=42642
|
|
svn path=/trunk/mono/; revision=42609
|
|
svn path=/trunk/mono/; revision=42592
|
|
svn path=/trunk/mono/; revision=42584
|
|
* mph.h: Apply patch from the freebsd ports collection.
svn path=/trunk/mono/; revision=42566
|
|
svn path=/trunk/mono/; revision=40731
|
|
* zlib_macros.c (create_z_stream): Explicitly check for older versions
of zlib.
svn path=/trunk/mono/; revision=40436
|