newlib/winsup/cygwin/include/sys
Christopher Faylor 95a8465ba0 * dlopen.c (dlopen): Return NULL when name is NULL (suggested by
chrisiasci@aol.com).
* cygwin.din: Add a new, internally used export - _check_for_executable.
* dcrt0.cc (dll_crt0_1): Set _check_for_executable for older binaries.  Pass
user_data to premain functions.
* fhandler.cc (fhandler_disk_file::open): Only check for executable if the
linked program is intereested in the executable bit.
(fhandler_disk_file::check_execable_p): Delete.
* fhandler.h (executable_states): New enumeration of various states of
executable bit caring.
(fhandler_base::set_execable_p): New method.
* fhandler_termios.cc (fhandler_termios::line_edit): Flag when a signal has
been sent to the tty.  Return -1 when this is so.
* fhandler_console.cc (fhandler_console::read): Return -1 when signal sending
character encountered.
* path.cc (path_conv::check): Record when path refers to a disk device.  Move
executable extension check here.
(check_sysfile): Accomodate new EXEC path states.
(has_suffix): Remove.
(next_suffix): Remove.
(class suffix_scan): New clas.
(suffix_scan::has): New method.
(suffix_scan:next): New method.
(symlink_info::check): Use suffix_scan method to control for scanning for
suffixes.
* path.h (path_conv::exec_state): New method.
* perprocess.h: Make "C" friendly.
* include/cygwin/version.h: Define CYGWIN_VERSION_CHECK_FOR_S_IEXEC.  Bump
CYGWIN_VERSION_API_MINOR.
* include/sys/cygwin.h: Change premain declarations.
* winsup.h: Move __cplusplus test to after builtin defines.
2001-03-05 06:28:25 +00:00
..
acl.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
cdefs.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
copying.dj Whitespace cleanup. 2000-10-28 05:41:44 +00:00
cygwin.h * dlopen.c (dlopen): Return NULL when name is NULL (suggested by 2001-03-05 06:28:25 +00:00
file.h * dlopen.c (dlopen): Return NULL when name is NULL (suggested by 2001-03-05 06:28:25 +00:00
ioctl.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
mman.h * include/sys/mman.h: Add missing MAP_FAILED macro. 2000-10-04 23:17:01 +00:00
mount.h * spawn.cc (spawn_guts): YA tweak for dealing with arcane rules of quoting in 2000-11-20 19:35:45 +00:00
mtio.h Whitespace cleanup. 2000-10-28 05:41:44 +00:00
poll.h * poll.cc: Add bounds checking for file descriptors. Return POLLNVAL 2000-08-11 12:51:47 +00:00
procfs.h Whitespace cleanup. 2000-10-28 05:41:44 +00:00
resource.h * include/sys/resource.h: Fix typo. 2001-01-31 12:24:24 +00:00
select.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
smallprint.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
socket.h Patch suggested by Ren� M�ller Fonseca <fonseca@mip.sdu.dk> 2001-01-09 16:00:58 +00:00
strace.h * strace.cc (strace::vprntf): Move prntf functionality to this function 2001-02-26 09:50:24 +00:00
syslog.h Whitespace cleanup. 2000-10-28 05:41:44 +00:00
sysmacros.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
termio.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
termios.h Whitespace cleanup. 2000-10-28 05:41:44 +00:00
ttychars.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
uio.h * winsup/cygwin/include/sys/uio.h: readv: Correct prototype 2000-12-06 22:42:26 +00:00
un.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
utsname.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
vfs.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
wait.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00