Age | Commit message (Collapse) | Author |
|
* serial.c (poll_serial): Do not report an error for EINTR.
svn path=/trunk/mono/; revision=68124
|
|
* serial.c (poll_serial): Add timeout parameter to poll.
Fixes #79722 and #79735
svn path=/trunk/mono/; revision=68123
|
|
svn path=/trunk/mono/; revision=68103
|
|
svn path=/trunk/mono/; revision=67933
|
|
work as expected).
svn path=/trunk/mono/; revision=67884
|
|
XATTR_AUTO is a value which frequently isn't definedy by any OS, yet it
has the value 0, a default value which is supported by most OS's).
svn path=/trunk/mono/; revision=67768
|
|
* map.c: Revert addition of L_SET et al; this breaks the Win32 build.
* mph.h: Add macros for L_SET, L_INCR, and L_XTND for non-Win32 platforms.
svn path=/trunk/mono/; revision=67536
|
|
* map.c: Make sure that L_SET, L_INCR, and L_XTND are defined. Lets
Mono_Posix_FromSeekFlags() work on Solaris, fixing Gnome Bugzilla 370081.
svn path=/trunk/mono/; revision=67502
|
|
`stream' to a `FILE*' to avoid derefing a `void*'.
* sys-statvfs.c: Build fix to support OS X 10.3.9 & systems w/o statvfs(2).
svn path=/trunk/mono/; revision=67254
|
|
versions of Mac OS X don't define these, needed by support/map.c.
* support/mph.h: Add fallback typedefs for blkcnt_t, blksize_t, suseconds_t
so that map.c can rely on their presence. (Some versions of OS X don't
provide these typedefs.)
svn path=/trunk/mono/; revision=67252
|
|
non-bitfield values (i.e. FilePermissions and S_IFREG, which isn't a bit
field, along with a few other FilePermissions values). Fixes #79161.
svn path=/trunk/mono/; revision=67056
|
|
This is so that support/map.c can use HAVE_STRUCT_... wrappers around
structure conversion functions, allowing them to be omitted from the Win32
build.
* support/map.c: Enclose structure conversion functions with
HAVE_<<STRUCT NAME>>, so that Unix-specific structures don't break the
Win32 build.
svn path=/trunk/mono/; revision=67012
|
|
refresh map.[ch].
* Makefile.am: Remove `update-create-native-map' target, and just have the
`refresh' target grab the latest create-native-map.exe program.
* map.c: Flush (remove fallback to <inttypes.h> constants).
svn path=/trunk/mono/; revision=67004
|
|
* map.c: Flush (adds integral limits fallback, so that if G_MININT8 doesn't
exist we can fallback sanely instead of breaking the build).
svn path=/trunk/mono/; revision=66995
|
|
EOVERFLOW is defined on Win32.
* map.c: Flush (adds #include "mph.h").
svn path=/trunk/mono/; revision=66991
|
|
svn path=/trunk/mono/; revision=66953
|
|
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
|
|
svn path=/trunk/mono/; revision=66767
|
|
* support/Makefile.am: Remove CRYPT_LIBS use; we no longer rely on libcrypt.
* support/stdlib.c: Remove setkey(3) wrapper.
* support/unistd.c: Remove encrypt(3) wrapper.
svn path=/trunk/mono/; revision=65458
|
|
* serial.c (get_bytes_in_buffer): Change the signature, we do not
return any meaningful error other than -1.
svn path=/trunk/mono/; revision=63687
|
|
* mph.h (MPH_INTERNAL): Only use this if HAVE_VISIBILITY_HIDDEN is
defined since it is not supported on some archs with gcc.
svn path=/trunk/mono/; revision=62099
|
|
svn path=/trunk/mono/; revision=60062
|
|
* serial.c: Change TIOCINQ to FIONREAD to
fix the build on the *BSDs.
svn path=/trunk/mono/; revision=59720
|
|
* serial.c: Added poll_serial () function, to poll
outside the read_serial () functions; and get_bytes_in_buffer (), to
get bytes in serialport buffers . Update some functions/enums
used by System.IO.Port.SerialPort too (Changes aproved by Miguel:
we will add tests in the managed side).
svn path=/trunk/mono/; revision=59625
|
|
* serial.c: Add get_signal_code, get_signal, and set_signal
functions to access serial signals. Also add a MonoSerialSignal
enum, which is a copy of System.IO.Ports.SerialSignal.
svn path=/trunk/mono/; revision=58288
|
|
* serial.c: removed useless serial.h file (it was also
breaking the build).
svn path=/trunk/mono/; revision=58067
|
|
* serial.c: Fix a pair of wrong or incomplete assignations
in set_attributes.
svn path=/trunk/mono/; revision=57714
|
|
* 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
|