2001-03-06 05:29:24 +08:00
|
|
|
|
Mon Mar 5 20:15:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* include/a.out.h: Add copyright hint.
|
|
|
|
|
* include/fcntl.h: Ditto.
|
|
|
|
|
* include/lastlog.h: Ditto.
|
|
|
|
|
* include/memory.h: Ditto.
|
|
|
|
|
* include/mntent.h: Ditto.
|
|
|
|
|
* include/paths.h: Ditto.
|
|
|
|
|
* include/poll.h: Ditto.
|
|
|
|
|
* include/syslog.h: Ditto.
|
|
|
|
|
* include/termio.h: Ditto.
|
|
|
|
|
* include/tzfile.h: Ditto.
|
|
|
|
|
* include/arpa/inet.h: Ditto.
|
|
|
|
|
* include/asm/byteorder.h: Ditto.
|
|
|
|
|
* include/asm/socket.h: Ditto.
|
|
|
|
|
* include/asm/types.h: Ditto.
|
|
|
|
|
* include/cygwin/if.h: Ditto.
|
|
|
|
|
* include/cygwin/mtio.h: Ditto.
|
|
|
|
|
* include/cygwin/rdevio.h: Ditto.
|
|
|
|
|
* include/cygwin/socket.h: Ditto.
|
|
|
|
|
* include/net/if.h: Ditto.
|
|
|
|
|
* include/netinet/in.h: Ditto.
|
|
|
|
|
* include/netinet/in_systm.h: Ditto.
|
|
|
|
|
* include/netinet/ip.h: Ditto.
|
|
|
|
|
* include/netinet/ip_icmp.h: Ditto.
|
|
|
|
|
* include/netinet/tcp.h: Ditto.
|
|
|
|
|
* include/sys/cdefs.h: Ditto.
|
|
|
|
|
* include/sys/cygwin.h: Ditto.
|
|
|
|
|
* include/sys/ioctl.h: Ditto.
|
|
|
|
|
* include/sys/mman.h: Ditto.
|
|
|
|
|
* include/sys/mount.h: Ditto.
|
|
|
|
|
* include/sys/mtio.h: Ditto.
|
|
|
|
|
* include/sys/procfs.h: Ditto.
|
|
|
|
|
* include/sys/resource.h: Ditto.
|
|
|
|
|
* include/sys/smallprint.h: Ditto.
|
|
|
|
|
* include/sys/socket.h: Ditto.
|
|
|
|
|
* include/sys/strace.h: Ditto.
|
|
|
|
|
* include/sys/syslog.h: Ditto.
|
|
|
|
|
* include/sys/sysmacros.h: Ditto.
|
|
|
|
|
* include/sys/termio.h: Ditto.
|
|
|
|
|
* include/sys/termios.h: Ditto.
|
|
|
|
|
* include/sys/uio.h: Ditto.
|
|
|
|
|
* include/sys/un.h: Ditto.
|
|
|
|
|
* include/sys/utsname.h: Ditto.
|
|
|
|
|
* include/sys/vfs.h: Ditto.
|
|
|
|
|
* include/sys/wait.h: Ditto.
|
|
|
|
|
* regexp/regerror.c: Ditto.
|
|
|
|
|
* regexp/regexp.h: Ditto.
|
|
|
|
|
* regexp/regmagic.h: Ditto.
|
|
|
|
|
|
2001-03-05 14:28:25 +08:00
|
|
|
|
Mon Mar 5 01:25:03 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* 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-04 23:34:25 +08:00
|
|
|
|
2001-03-04 Egor Duda <deo@logos-m.ru>
|
|
|
|
|
|
|
|
|
|
* fhandler.h (class fhandler_tty_common): New mutex and event to
|
|
|
|
|
syncronize input on master tty with slave tty.
|
|
|
|
|
* fhandler_tty.cc (fhandler_pty_master::accept_input): Use them to
|
|
|
|
|
syncronize with slave.
|
|
|
|
|
* fhandler_tty.cc (fhandler_tty_slave::read): Use input mutex and
|
|
|
|
|
event to syncronize with master. Do not limit amount of data read
|
|
|
|
|
from master to vmin value. Interrupt on signal and return already
|
|
|
|
|
read data, if any.
|
|
|
|
|
* fhandler_tty.cc (fhandler_tty_slave::open): Handle input mutex and
|
|
|
|
|
event.
|
|
|
|
|
* fhandler_tty.cc (fhandler_tty_common::close): Ditto.
|
|
|
|
|
* fhandler_tty.cc (fhandler_tty_common::set_close_on_exec): Ditto.
|
|
|
|
|
* fhandler_tty.cc (fhandler_tty_common::fixup_after_fork): Ditto.
|
|
|
|
|
* fhandler_tty.cc (fhandler_tty_common::dup): Ditto.
|
|
|
|
|
* tty.h (tty::open_input_mutex): New function.
|
|
|
|
|
* tty.cc (tty::common_init): Create input mutex and event.
|
|
|
|
|
|
2001-03-02 20:33:50 +08:00
|
|
|
|
Fri Mar 2 13:32:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* dir.cc (readdir): Fix creating path in symlink check.
|
|
|
|
|
|
2001-03-02 19:41:09 +08:00
|
|
|
|
Fri Mar 2 12:33:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* dir.cc (readdir): Fix shortcut==symlink condition.
|
|
|
|
|
* environ.cc: Add extern decl for `allow_winsymlinks'.
|
|
|
|
|
(struct parse_thing): Add entry for `[no]winsymlinks'.
|
|
|
|
|
* path.cc (symlink): Change to be able to create both,
|
|
|
|
|
symlink==shortcut and symlink==systemfile, dependent of
|
|
|
|
|
the setting of `allow_winsymlinks'.
|
|
|
|
|
* security.cc (cygwin_logon_user): Add debug output.
|
|
|
|
|
* shortcut.c: Add defines from path.h.
|
|
|
|
|
(has_exec_chars): Copy from path.h.
|
|
|
|
|
(check_shortcut): Check for executable file condition if not a
|
|
|
|
|
shortcut.
|
|
|
|
|
|
2001-03-02 10:09:40 +08:00
|
|
|
|
Thu Mar 1 21:06:07 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* exceptions.cc (sig_handle_tty_stop): Ignore attempts to suspend a
|
|
|
|
|
process if started by non-cygwin parent.
|
|
|
|
|
|
2001-03-02 09:55:21 +08:00
|
|
|
|
Thu Mar 1 20:48:11 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* select.cc (peek_console): Don't report read_ready on mouse events
|
|
|
|
|
unless we are looking for mouse events.
|
|
|
|
|
* fhandler.h (fhandler_console::mouse_aware): New method.
|
|
|
|
|
|
2001-02-28 22:14:03 +08:00
|
|
|
|
Wed Feb 28 15:10:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* uinfo.cc: Eliminate `#include <wchar.h>'.
|
|
|
|
|
|
2001-02-28 17:59:54 +08:00
|
|
|
|
2001-02-28 Egor Duda <deo@logos-m.ru>
|
|
|
|
|
|
|
|
|
|
* fhandler_floppy.cc (fhandler_dev_floppy::lseek): Determine
|
|
|
|
|
drive geometry or partition size to allow seeking from the end of
|
|
|
|
|
raw floppy device. Don't allow positioning past the end of media or
|
|
|
|
|
to offsets bigger then max off_t.
|
|
|
|
|
|
2001-02-27 17:14:35 +08:00
|
|
|
|
2001-02-27 Egor Duda <deo@logos-m.ru>
|
|
|
|
|
|
|
|
|
|
* fhandler.h (class fhandler_console): Make all variables that
|
|
|
|
|
describe "state" of console to be members of fhandler_console.
|
|
|
|
|
default_color is now the color which is set when console recieves
|
|
|
|
|
reset command.
|
|
|
|
|
* fhandler_console.cc (fhandler_console::fhandler_console): Turn
|
|
|
|
|
mouse handling and raw keyboard mode off by default. Initialize
|
|
|
|
|
state information.
|
|
|
|
|
* fhandler.cc (fhandler_console::set_raw_win32_keyboard_mode): New
|
|
|
|
|
function.
|
|
|
|
|
* fhandler_console.cc (fhandler_console::set_default_attr): New
|
|
|
|
|
function. Reset console attributes to default values.
|
|
|
|
|
* fhandler_console.cc (fhandler_console::open): Reset attributes.
|
|
|
|
|
* fhandler_console.cc (fhandler_console::get_win32_attr): New function.
|
|
|
|
|
Calculate win32-style console attribute based on terminal attributes.
|
|
|
|
|
* fhandler_console.cc (fhandler_console::set_cursor_maybe): Use
|
|
|
|
|
member variable.
|
|
|
|
|
* fhandler_console.cc (fhandler_console::read): If in raw-win32
|
|
|
|
|
keyboard mode, encode win32 keyboard events in \033{x;y;z;t;u;wK
|
|
|
|
|
sequences.
|
|
|
|
|
* fhandler_console.cc (fhandler_console::dup): Copy all state
|
|
|
|
|
information to the dup()ed handle.
|
|
|
|
|
* fhandler_console.cc (fhandler_console::scroll_screen): Use current
|
|
|
|
|
fill-in attribute.
|
|
|
|
|
* fhandler_console.cc (fhandler_console::clear_screen): Ditto.
|
|
|
|
|
* fhandler_console.cc (fhandler_console::char_command): Check if we
|
|
|
|
|
saw '?' symbol by member variable. Set terminal attributes on \033[Xm
|
|
|
|
|
commands. \033[24m - turn off underline mode, \033[27m - turn off
|
|
|
|
|
reverse mode, \033[39m - restore default foreground color.
|
|
|
|
|
\033[49m - restore default background color. \033[2000h - turn on raw
|
|
|
|
|
keyboard mode, \033[2000l - turn off raw keyboard mode.
|
|
|
|
|
* fhandler_console.cc (fhandler_console::write): Set attribues to
|
|
|
|
|
default values on reset command.
|
|
|
|
|
|
2001-02-27 06:36:09 +08:00
|
|
|
|
2001-02-26 Mike Simons <msimons@moria.simons-clan.com>
|
|
|
|
|
|
|
|
|
|
* times.cc (settimeofday): Replace function stub with working code.
|
|
|
|
|
|
2001-02-26 17:50:24 +08:00
|
|
|
|
Mon Feb 26 10:42:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* strace.cc (strace::vprntf): Move prntf functionality to this function
|
|
|
|
|
adding an va_list interface to strace.
|
|
|
|
|
(strace::printf): Calls strace::vprntf now.
|
|
|
|
|
(strace_printf): New function providing an extern "C" interface to
|
|
|
|
|
trace output.
|
|
|
|
|
* include/sys/strace.h: Make plain C clean.
|
|
|
|
|
(class strace): Add `vprntf' method.
|
|
|
|
|
|
2001-02-26 07:14:52 +08:00
|
|
|
|
Mon Feb 26 0:10:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* shortcut.c: Remove #include <sys/strace.h>.
|
|
|
|
|
|
2001-02-25 17:34:00 +08:00
|
|
|
|
Sun Feb 25 10:32:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* path.cc (symlink): Add a ".lnk" suffix regardless. Add a comment.
|
|
|
|
|
|
2001-02-25 17:19:35 +08:00
|
|
|
|
Sun Feb 25 10:18:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
2001-02-25 17:34:00 +08:00
|
|
|
|
* shortcut.c (check_shortcut): Change symlink condition.
|
2001-02-25 17:19:35 +08:00
|
|
|
|
|
2001-02-23 17:49:19 +08:00
|
|
|
|
Fri Feb 23 10:42:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* mmap.cc (fhandler_disk_file::mmap): Use `addr' correctly.
|
|
|
|
|
* fhandler_mem.cc (fhandler_dev_mem::mmap): Ditto.
|
|
|
|
|
|
2001-02-23 00:14:59 +08:00
|
|
|
|
Thu Feb 22 17:09:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* path.cc (symlink): Keep relative paths relative in the DOS
|
2001-02-23 00:26:13 +08:00
|
|
|
|
path inside of a shortcut. If that's impossible or the target
|
|
|
|
|
path is already absolute save an absolute path.
|
2001-02-23 00:14:59 +08:00
|
|
|
|
|
2001-02-22 22:51:16 +08:00
|
|
|
|
Thu Feb 22 15:33:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* cygerrno.h: Revert previous patch.
|
|
|
|
|
* errno.cc: Ditto.
|
|
|
|
|
* dir.cc: Eliminate `dir_suffixes'.
|
|
|
|
|
(opendir): Remove usage of `dir_suffixes'.
|
|
|
|
|
(rmdir): Ditto.
|
|
|
|
|
* fhandler.cc (fhandler_disk_file::open): Remove usage of
|
|
|
|
|
`inner_suffixes'.
|
|
|
|
|
* path.cc: Rename `inner_suffixes' to `lnk_suffixes'.
|
|
|
|
|
(path_conv::check): Remove usage of `inner_suffixes'.
|
|
|
|
|
(symlink): Ditto.
|
|
|
|
|
(symlink_info::check): Handle checking for `.lnk' in path_conv
|
|
|
|
|
exclusively here.
|
|
|
|
|
(chdir): Remove usage of `dir_suffixes'.
|
|
|
|
|
* shortcut.c: Eliminate debug_printf lines.
|
|
|
|
|
(check_shortcut): Don't set error except on failing ReadFile.
|
|
|
|
|
* spawn.cc: Remove ".lnk" from `std_suffixes'.
|
|
|
|
|
* syscalls.cc (_unlink): Remove usage of `inner_suffixes'.
|
|
|
|
|
Remove ".lnk" from `stat_suffixes'.
|
|
|
|
|
(_rename): Add check for renaming a symlink to keep the ".lnk"
|
|
|
|
|
suffix after renaming.
|
|
|
|
|
|
2001-02-22 20:56:36 +08:00
|
|
|
|
Thu Feb 22 13:38:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* shortcut.c: New file. Provides a C interface to reading of
|
|
|
|
|
Windows shortcuts to avoid compiler flag `-fvtable-thunks'.
|
|
|
|
|
* shortcut.h: Ditto.
|
|
|
|
|
* Makefile.in: Add shortcut.o to DLL_OFILES.
|
|
|
|
|
* cygerrno.h: Provide a C interface to `geterrno_from_win_error' for
|
|
|
|
|
using in shortcut.c.
|
|
|
|
|
* errno.cc (geterrno_from_win_error): Define as extern "C".
|
|
|
|
|
* path.cc (struct symlink_info): Remove methods `check_shortcut' and
|
|
|
|
|
`check_sysfile'.
|
|
|
|
|
(shortcut_header): Move to shortcut.c.
|
|
|
|
|
(shortcut_initalized): Ditto.
|
|
|
|
|
(create_shortcut_header): Ditto.
|
|
|
|
|
(cmp_shortcut_header): Ditto.
|
|
|
|
|
(symlink_info::check_shortcut): Ditto. Reorganize as a plain C function.
|
|
|
|
|
(symlink_info::check_sysfile): Redefine as a global function using the
|
|
|
|
|
same parameter list as `check_shortcut' for clearness.
|
|
|
|
|
(symlink_info::check): Change parameter list for calls to
|
|
|
|
|
`check_shortcut' and `check_sysfile'.
|
|
|
|
|
|
2001-02-22 19:06:25 +08:00
|
|
|
|
Thu Feb 22 12:04:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* fhandler.cc (fhandler_disk_file::open): Use `inner_suffixes' when
|
|
|
|
|
resolving real_path.
|
|
|
|
|
* path.cc (symlink): Ditto for win32_topath.
|
|
|
|
|
|
2001-02-22 05:49:37 +08:00
|
|
|
|
Wed Feb 21 22:41:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Add `-lshell32 -luuid' to link pass for new-cygwin1.dll.
|
|
|
|
|
* autoload.cc: Add LoadDLLinitfunc for ole32.dll.
|
|
|
|
|
Add LoadDLLfuncEx statements for CoInitialize@4, CoUninitialize@0
|
|
|
|
|
and CoCreateInstance@20.
|
|
|
|
|
* dir.cc (dir_suffixes): New datastructure.
|
|
|
|
|
(readdir): Check for R/O *.lnk files to hide the suffix.
|
|
|
|
|
(opendir): Use `dir_suffixes' in path conversion.
|
|
|
|
|
(rmdir): Ditto.
|
|
|
|
|
* fhandler.cc (fhandler_disk_file::fstat): Add S_IFLNK flag
|
|
|
|
|
before calling `get_file_attribute'. Take FILE_ATTRIBUTE_READONLY
|
|
|
|
|
into account only if the file is no symlink.
|
|
|
|
|
* path.cc (inner_suffixes): New datastructure.
|
|
|
|
|
(SYMLINKATTR): Eliminated.
|
|
|
|
|
(path_conv::check): Use `inner_suffixes' on inner path components.
|
|
|
|
|
(shortcut_header): New global static variable.
|
|
|
|
|
(shortcut_initalized): Ditto.
|
|
|
|
|
(create_shortcut_header): New function.
|
|
|
|
|
(cmp_shortcut_header): Ditto.
|
|
|
|
|
(symlink): Create symlinks by creating windows shortcuts. Preserve
|
|
|
|
|
the old code.
|
|
|
|
|
(symlink_info::check_shortcut): New method.
|
|
|
|
|
(symlink_info::check_sysfile): Ditto.
|
|
|
|
|
(symlink_info::check): Check for shortcuts. Move code reading
|
|
|
|
|
old system attribute symlinks into symlink_info::check_sysfile().
|
|
|
|
|
(chdir): Use `dir_suffixes' in path conversion.
|
|
|
|
|
* security.cc (get_file_attribute): Check for S_IFLNK flag.
|
|
|
|
|
Force 0777 permissions then.
|
|
|
|
|
* spawn.cc (std_suffixes): Add ".lnk" suffix.
|
|
|
|
|
* syscalls.cc (_unlink): Use `inner_suffixes' in path conversion.
|
|
|
|
|
Check for shortcut symlinks to eliminate R/O attribute before
|
|
|
|
|
calling DeleteFile().
|
|
|
|
|
(stat_suffixes): Add ".lnk" suffix.
|
|
|
|
|
(stat_worker): Force 0777 permissions if file is a symlink.
|
|
|
|
|
|
2001-02-21 19:40:22 +08:00
|
|
|
|
2001-02-21 Egor Duda <deo@logos-m.ru>
|
|
|
|
|
|
|
|
|
|
* sigproc.cc (getsem): Make semaphore always non-inheritable.
|
|
|
|
|
|
2001-02-20 11:28:01 +08:00
|
|
|
|
Mon Feb 19 22:25:53 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* dcrt0.cc (locale_init): Remove.
|
|
|
|
|
|
2001-02-20 10:53:55 +08:00
|
|
|
|
2001-02-15 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
|
|
|
|
|
|
|
|
|
|
* cygwin.din: Export rand48 functions.
|
|
|
|
|
* thread.cc (MTinterface::Init): Remove the initialization of
|
|
|
|
|
`reent_data'.
|
|
|
|
|
* dcrt0.cc: Add the initalizer to the declaration of `reent_data'.
|
|
|
|
|
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 35.
|
|
|
|
|
|
2001-02-17 02:49:20 +08:00
|
|
|
|
2001-02-16 Egor Duda <deo@logos-m.ru>
|
|
|
|
|
|
|
|
|
|
* signal.cc (signal): Prohibit setting handlers for SIGKILL and
|
|
|
|
|
SIGSTOP
|
|
|
|
|
* signal.cc (sigaction): Ditto
|
|
|
|
|
* syscalls.cc (_lseek): Return EINVAL on invalid input
|
|
|
|
|
|
2001-02-15 07:45:56 +08:00
|
|
|
|
Wed Feb 14 14:54:40 2001 Christophe Iasci <chrisiasci@aol.com>
|
|
|
|
|
|
|
|
|
|
* dlfcn.cc (dlopen): Do not call LoadLibrary with a NULL pointer, when
|
|
|
|
|
the library is not found
|
|
|
|
|
|
2001-02-15 06:00:09 +08:00
|
|
|
|
2001-02-14 Egor Duda <deo@logos-m.ru>
|
|
|
|
|
|
|
|
|
|
* fhandler_console.cc (fhandler_console::char_command): Ignore unknown
|
|
|
|
|
rendition codes in \033[xx;yym control sequences
|
|
|
|
|
|
2001-02-10 12:20:52 +08:00
|
|
|
|
Fri Feb 9 23:19:01 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* fork.cc (fork_parent): Return EAGAIN when can't record pid.
|
|
|
|
|
* pinfo.h (pinfo::remember): Return value of call to proc_subproc.
|
|
|
|
|
* sigproc.cc (proc_subproc): Return error if can't record pid.
|
|
|
|
|
|
2001-02-10 01:17:34 +08:00
|
|
|
|
Fri Feb 9 12:17:27 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* syscalls.cc (mknod): Add valid parameters.
|
|
|
|
|
|
2001-02-09 05:10:45 +08:00
|
|
|
|
Thu Feb 8 22:09:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* mmap.cc (mmap): Check for reusing a mapping only on MAP_SHARED
|
|
|
|
|
and on MAP_PRIVATE|MAP_ANON in the special case of offset 0.
|
|
|
|
|
|
2001-02-09 05:02:36 +08:00
|
|
|
|
Thu Feb 8 21:57:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* mmap.cc (class list): Add member `hash'.
|
|
|
|
|
(list::list): Initialize `hash'.
|
|
|
|
|
(list::get_list_by_fd): Use filepath hash value to get the correct
|
|
|
|
|
mapping list if it's not an anonymous mapping.
|
|
|
|
|
(map::add_list): Initialize `hash' with filepath hash value.
|
|
|
|
|
(mmap): Check for reusing a mapping only on MAP_SHARED.
|
|
|
|
|
|
2001-02-08 07:48:09 +08:00
|
|
|
|
Wed Feb 7 18:47:36 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* signal.cc (killpg): Correct first argument.
|
|
|
|
|
|
2001-02-08 06:50:50 +08:00
|
|
|
|
Wed Feb 7 22:22:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* autoload.cc: Add LoadDLLinitfunc for iphlpapi.dll.
|
|
|
|
|
Add LoadDLLfuncEx statements for GetIfTable@12 and GetIpAddrTable@12.
|
|
|
|
|
* fhandler_socket.cc (fhandler_socket::ioctl): Move variable
|
|
|
|
|
definitions to the beginning of the function to allow better debugging.
|
|
|
|
|
Add handling for SIOCGIFHWADDR, SIOCGIFMETRIC and SIOCGIFMTU.
|
|
|
|
|
* net.cc: Include iphlpapi.h.
|
|
|
|
|
(get_2k_ifconf): Rewritten. Uses IP Helper API now.
|
|
|
|
|
(get_nt_ifconf): Add handling for SIOCGIFHWADDR, SIOCGIFMETRIC
|
|
|
|
|
and SIOCGIFMTU.
|
|
|
|
|
(get_95_ifconf): Ditto. Renamed from `get_9x_ifconf'.
|
|
|
|
|
(get_ifconf): Name loopback `lo' instead of `lo0' as in Linux.
|
|
|
|
|
Add handling for SIOCGIFHWADDR, SIOCGIFMETRIC and SIOCGIFMTU.
|
|
|
|
|
Call `get_95_ifconf' only on Windows 95, `get_nt_ifconf' only
|
|
|
|
|
on Windows NT < Service Pack 3, `get_2k_ifconf otherwise.
|
|
|
|
|
* include/asm/socket.h: Add defines for SIOCGIFHWADDR, SIOCGIFMETRIC
|
|
|
|
|
and SIOCGIFMTU.
|
|
|
|
|
* include/cygwin/if.h: Add `ifr_hwaddr', `ifr_metric' and `ifr_mtu'.
|
|
|
|
|
(struct ifreq): Add `ifru_hwaddr'.
|
|
|
|
|
|
2001-02-06 22:07:02 +08:00
|
|
|
|
Tue Feb 6 15:04:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* syscalls.cc (stat_worker): Add a check for the special case when
|
|
|
|
|
a process creates a file using mode 000 using ntsec.
|
|
|
|
|
|
2001-02-06 00:10:06 +08:00
|
|
|
|
Mon Feb 5 17:00:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* fhandler.cc (fhandler_base::open): Always add GENERIC_READ access
|
|
|
|
|
when opening raw disk devices.
|
|
|
|
|
* fhandler_floppy.cc (fhandler_dev_floppy::lseek): Implement bytewise
|
|
|
|
|
access.
|
|
|
|
|
* fhandler_raw.cc (fhandler_dev_raw::open): Always open raw disk device
|
|
|
|
|
binary.
|
|
|
|
|
(fhandler_dev_raw::raw_write): Don't drop read buffer content when
|
|
|
|
|
writing after read.
|
|
|
|
|
|
2001-02-05 20:36:41 +08:00
|
|
|
|
Mon Feb 5 13:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* mmap.cc (mmap_record::fixup_map): New method to duplicate
|
|
|
|
|
the memory protection in a just forked child.
|
|
|
|
|
(mmap): Realign gran_len to page boundary only on anonymous
|
|
|
|
|
mapping before saving in the mmap_record.
|
|
|
|
|
(munmap): Cleanup code.
|
|
|
|
|
(msync): Ditto.
|
|
|
|
|
(fixup_mmaps_after_fork): Ditto. Call mmap_record::fixup_map now.
|
|
|
|
|
|
2001-02-02 12:32:02 +08:00
|
|
|
|
Thu Feb 1 23:08:29 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* cygheap.cc (creturn): Correctly calculate cygheap_max.
|
|
|
|
|
|
2001-01-31 23:06:06 +08:00
|
|
|
|
Wed Jan 31 10:04:58 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* shared.cc (shared_info::initialize): Reduce size of heap.
|
|
|
|
|
|
2001-01-31 20:24:24 +08:00
|
|
|
|
Wed Jan 31 13:22:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* include/sys/resource.h: Fix typo.
|
|
|
|
|
|
2001-01-31 20:21:23 +08:00
|
|
|
|
Wed Jan 31 13:20:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
2001-01-31 20:24:24 +08:00
|
|
|
|
* include/sys/resource.h: Add RLIMIT_NLIMITS and RLIM_NLIMITS.
|
2001-01-31 20:21:23 +08:00
|
|
|
|
|
2001-01-31 07:19:19 +08:00
|
|
|
|
Tue Jan 30 18:15:23 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* include/cygwin/version.h: Bump version to 1.3.0.
|
|
|
|
|
|
2001-01-30 16:10:04 +08:00
|
|
|
|
Tue Jan 30 8:55:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* pinfo.cc (pinfo::init): Use INVALID_HANDLE_VALUE instead of
|
|
|
|
|
explicit cast (HANDLE) 0xffffffff.
|
|
|
|
|
* shared.cc (open_shared): Ditto.
|
|
|
|
|
|
2001-01-30 09:52:29 +08:00
|
|
|
|
Mon Jan 29 17:15:22 2001 Bill Hegardt <bill@troyxcd.com>
|
|
|
|
|
|
|
|
|
|
* fhandler_serial.cc (raw_write): Use local copy of OVERLAPPED
|
|
|
|
|
structure instead of shared structure to fix a race condition between
|
|
|
|
|
read/write.
|
|
|
|
|
|
2001-01-29 21:39:17 +08:00
|
|
|
|
Mon Jan 29 14:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* mmap.cc (mmap): Remove obsolete check for MAP_SHARED|MAP_ANON as
|
|
|
|
|
being invalid.
|
|
|
|
|
|
2001-01-29 17:25:10 +08:00
|
|
|
|
Mon Jan 29 10:23:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* mmap.cc (mmap_record::find_empty): Fix loop condition.
|
|
|
|
|
|
2001-01-29 08:46:25 +08:00
|
|
|
|
Sun Jan 28 19:40:40 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* syscalls.cc (_link): Make sure that newpath does not exist. Set
|
|
|
|
|
errno if it does.
|
|
|
|
|
|
|
|
|
|
Sun Jan 28 19:29:08 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* cygheap.cc (init_cheap): Don't specify a load address for the heap.
|
|
|
|
|
It doesn't work on #!*& Windows 9x.
|
|
|
|
|
(cygheap_init): Move GetUserName to memory_init.
|
|
|
|
|
* dcrt0.cc (dll_crt0_1): Call new memory_init functin, eliminate call
|
|
|
|
|
to heap_init.
|
|
|
|
|
* heap.cc (heap_init): Improve error output.
|
|
|
|
|
* heap.h: Correct some declarations.
|
|
|
|
|
* shared.cc (mount_table_init): Remove.
|
|
|
|
|
(memory_init): Renamed from shared_init. Reorganize to accomodate
|
|
|
|
|
strange Windows 9x problems with cygheap/heap interaction.
|
|
|
|
|
* shared_info.h: Rename shared_init to memory_init.
|
|
|
|
|
|
2001-01-28 14:26:50 +08:00
|
|
|
|
Sun Jan 28 01:25:33 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* include/cygwin/version.h: Bump API version.
|
|
|
|
|
|
2001-01-28 14:23:42 +08:00
|
|
|
|
Sun Jan 28 01:18:22 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* cygheap.cc (init_cheap): Move username initialization.
|
|
|
|
|
(cygheap_init): Here.
|
|
|
|
|
* shared_info.h (mount_info): Add a sys_mount_table_counter field.
|
|
|
|
|
(shared_info): Ditto.
|
|
|
|
|
* path.cc (mount_info::conv_to_win32_path): Check that our mount table
|
|
|
|
|
is in sync with the system mount table and reinitialize it if not.
|
|
|
|
|
(mount_info::add_reg_mount): Bump sys_mount_table counters if the
|
|
|
|
|
system mount table changes.
|
|
|
|
|
(mount_info::del_reg_mount): Ditto.
|
|
|
|
|
(mount_info::write_cygdrive_info_to_registry): Ditto.
|
|
|
|
|
(mount_info::remove_cygdrive_info_from_registry): Ditto.
|
|
|
|
|
|
2001-01-28 13:51:15 +08:00
|
|
|
|
Sun Jan 28 00:28:30 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
Throughout, change 'cygwin_shared.mount' to 'mount_table'.
|
|
|
|
|
* child_info.h (child_info): Move shared_h, console_h to cygheap. Add
|
|
|
|
|
mount_h.
|
|
|
|
|
* cygheap.h (init_cygheap): Add shared_h, console_h.
|
|
|
|
|
* cygheap.cc (init_cheap): Initialize heap at a fixed location after
|
|
|
|
|
the shared memory regions. Initialize cygheap->user name here.
|
|
|
|
|
* dcrt0.cc (dll_crt0_1): Call getpagesize () to initialize constants.
|
|
|
|
|
Remove cygheap_init since it is done in shared_init now.
|
|
|
|
|
(_dll_crt0): Initialize mount_h, remove shared_h and console_h
|
|
|
|
|
initialization.
|
|
|
|
|
* fhandler_console.cc (console_shared_h): Eliminate.
|
|
|
|
|
(get_tty_stuff): Use cygheap->console_h rather than console_shared_h.
|
2001-01-29 08:46:25 +08:00
|
|
|
|
* heap.cc (heap_init): Use page size constant calculated earlier in
|
|
|
|
|
initialization.
|
2001-01-28 13:51:15 +08:00
|
|
|
|
* shared.cc: Eliminate cygwin_shared_h. Add cygwin_mount_h.
|
|
|
|
|
(mount_table_init): New function for initializing a user mount table.
|
2001-01-29 08:46:25 +08:00
|
|
|
|
(open_shared_file_map): Use constant for shared memory region.
|
|
|
|
|
Initialize cygheap and mount table here.
|
2001-01-28 13:51:15 +08:00
|
|
|
|
(open_shared): Improve debugging output.
|
|
|
|
|
(shared_info::initialize): Eliminate call to mount.init.
|
|
|
|
|
(shared_terminate): Use cygheap->shared_h. Close cygwin_mount_h.
|
|
|
|
|
(open_shared_file_map): Eliminate.
|
|
|
|
|
* shared_info.h (mount_info): Add a version field.
|
2001-01-29 08:46:25 +08:00
|
|
|
|
(shared_align_past): New macro for calculating location for shared
|
|
|
|
|
memory regions.
|
2001-01-28 13:51:15 +08:00
|
|
|
|
* sigproc.cc (init_child_info): Eliminate shared_h, console_h.
|
2001-01-29 08:46:25 +08:00
|
|
|
|
* spawn.cc (spawn_guts): Pass on cygwin_mount_h iff not a different
|
|
|
|
|
user.
|
2001-01-28 13:51:15 +08:00
|
|
|
|
* syscalls.cc (system_info): New global holding system memory defaults.
|
|
|
|
|
(getpagesize): Use system_info.
|
|
|
|
|
* uinfo.cc (internal_getlogin): Only fill in user name if nonexistent.
|
|
|
|
|
* winsup.h: Declare system_info.
|
|
|
|
|
|
2001-01-29 08:46:25 +08:00
|
|
|
|
* passwd.cc (read_etc_passwd): Use cygheap->user.name () rather than
|
|
|
|
|
retrieving the name again.
|
2001-01-28 13:51:15 +08:00
|
|
|
|
|
2001-01-27 23:34:38 +08:00
|
|
|
|
Sat Jan 27 10:18:02 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* path.cc (path_conv::check): Detect when path has symlinks.
|
|
|
|
|
(symlink_info::check): Remove debugging stuff.
|
|
|
|
|
(chdir): Use posix'ized win32 path if cd'ed to a path using symlinks.
|
|
|
|
|
|
2001-01-27 10:23:46 +08:00
|
|
|
|
Fri Jan 26 21:20:28 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* exceptions.cc (sigreturn): Call any pending signals prior to
|
|
|
|
|
resetting the signal mask so that stacked signals behave correctly.
|
|
|
|
|
(sigdelayed): Avoid a race where a signal could end up calling an
|
|
|
|
|
incorrect signal handler if two signals come in close together.
|
|
|
|
|
|
2001-01-24 12:00:41 +08:00
|
|
|
|
Tue Jan 23 21:56:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* mmap.cc (fhandler_disk_file::mmap): Call CreateFileMapping with
|
|
|
|
|
len != 0 only when performing an anonymous mapping.
|
|
|
|
|
|
2001-01-23 04:36:38 +08:00
|
|
|
|
Mon Jan 22 15:35:28 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* path.h: Add a new constant.
|
|
|
|
|
* syscalls.cc (_read): Oscillate errno check.
|
|
|
|
|
|
2001-01-23 04:29:24 +08:00
|
|
|
|
Mon Jan 22 15:27:12 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* include/cygwin/version.h: Bump API to reflect setlogmask.
|
|
|
|
|
|
2001-01-22 23:55:34 +08:00
|
|
|
|
Sun Jan 21 22:40:25 2001 Jason Tishler <jt@dothill.com>
|
|
|
|
|
|
|
|
|
|
* cygwin.din: Add export for setlogmask().
|
|
|
|
|
* syslog.cc (setlogmask): New function.
|
|
|
|
|
|
2001-01-18 17:30:37 +08:00
|
|
|
|
Thu Jan 18 10:27:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* resource.cc (setrlimit): Support RLIMIT_NOFILE.
|
|
|
|
|
|
2001-01-18 12:26:04 +08:00
|
|
|
|
Wed Jan 17 23:23:12 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* syscalls.cc (setdtablesize): Call with amount to increment not total
|
|
|
|
|
amount. Return success or failure error code.
|
|
|
|
|
|
2001-01-17 22:57:09 +08:00
|
|
|
|
Wed Jan 17 09:47:13 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* autoload.cc (LoadDLLinitfunc): Remove debugging statement.
|
|
|
|
|
|
|
|
|
|
* exceptions.cc (sig_handle_tty_stop): Move setting of PID_STOPPED to
|
|
|
|
|
earlier in interrupt.
|
|
|
|
|
((interrupt_setup): i.e., here.
|
|
|
|
|
(sig_handle): Don't queue multiple SIGSTOPS.
|
|
|
|
|
* fhandler.h (bg_check_types): Enumerate return value of bg_check for
|
|
|
|
|
clarity.
|
|
|
|
|
* signal.cc (kill_pgrp): Minor cleanup.
|
|
|
|
|
* fhandler_termios.cc (fhandler_termios::bg_check): Use enumerated type
|
|
|
|
|
for function return. Don't raise signal if a signal is already queued.
|
|
|
|
|
* fhandler_console.cc (fhandler_console::read): Use enumerated return
|
|
|
|
|
type for bg_check.
|
|
|
|
|
* select.cc: Ditto, throughout.
|
|
|
|
|
* read.cc: Ditto, throughout.
|
|
|
|
|
* termios.cc: Ditto, throughout.
|
|
|
|
|
(_read): YA interrupt detect simplification.
|
|
|
|
|
* wait.cc (wait4): Ditto.
|
|
|
|
|
|
2001-01-17 20:47:47 +08:00
|
|
|
|
Wed Jan 17 10:56:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* cygheap.cc (cygheap_user::~cygheap_user): Temporarily
|
|
|
|
|
disable free'ing memory.
|
|
|
|
|
|
2001-01-17 01:02:46 +08:00
|
|
|
|
Tue Jan 16 18:01:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* mmap.cc (mmap): Initialize fh to avoid compiler warnings.
|
|
|
|
|
|
2001-01-16 10:29:47 +08:00
|
|
|
|
Mon Jan 15 21:07:00 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* wait.cc (wait4): Rename variable for consistency. Allow restartable
|
|
|
|
|
signal behavior.
|
|
|
|
|
|
2001-01-16 06:18:14 +08:00
|
|
|
|
Mon Jan 15 23:15:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* mmap.cc (mmap): Add more parameter checking. Change error output
|
|
|
|
|
in case of EINVAL. Treat mmapping /dev/zero like MAP_ANONYMOUS.
|
|
|
|
|
|
2001-01-16 03:42:33 +08:00
|
|
|
|
Mon Jan 15 20:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* mmap.cc: include <unistd.h>. Define some bit operations for
|
|
|
|
|
the new page map.
|
|
|
|
|
(mmap_record): Change type of base_address_ to caddr_t.
|
|
|
|
|
Add map_map_ member. Add several methods to manipulate map_map_.
|
|
|
|
|
(mmap_record::alloc_map): New method.
|
|
|
|
|
(mmap_record::free_map): Ditto.
|
|
|
|
|
(mmap_record::find_empty): Ditto.
|
|
|
|
|
(mmap_record::map_map): Ditto.
|
|
|
|
|
(mmap_record::unmap_map): Ditto.
|
|
|
|
|
(list::add_record): Change return type to `mmap_record *'.
|
|
|
|
|
Allocate page map.
|
|
|
|
|
(list::match): New method.
|
|
|
|
|
(mmap): Partly rewritten to take care for the new page map. Add some
|
|
|
|
|
parameter checking.
|
|
|
|
|
(munmap): Ditto.
|
|
|
|
|
|
2001-01-15 20:53:30 +08:00
|
|
|
|
Mon Jan 15 13:50:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* heap.cc (heap_init): Fix extern declaration of getpagesize.
|
|
|
|
|
* syscalls.cc (getpagesize): Fix another typo.
|
|
|
|
|
|
2001-01-15 20:25:00 +08:00
|
|
|
|
Mon Jan 15 12:48:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* syscalls.cc (getpagesize): Save pagesize in global variable to
|
|
|
|
|
avoid calling GetSystemInfo too often.
|
|
|
|
|
* heap.cc (getpagesize): Eliminate.
|
|
|
|
|
(heap_init): Use getpagesize function from syscalls.cc.
|
|
|
|
|
|
2001-01-15 18:58:19 +08:00
|
|
|
|
Mon Jan 15 11:56:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* sysconf.cc (sysconf): return `getpagesize ()' on _SC_PAGESIZE
|
|
|
|
|
request to avoid implementing the same twice.
|
|
|
|
|
|
2001-01-15 03:08:30 +08:00
|
|
|
|
Sun Jan 14 14:07:50 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* syscalls.cc (_read): Use more lightweight method for determining if
|
|
|
|
|
read has been interrupted by a signal.
|
|
|
|
|
|
2001-01-12 13:38:25 +08:00
|
|
|
|
Fri Jan 12 00:35:15 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* debug.h: Add regparm attributes to some functions.
|
|
|
|
|
|
|
|
|
|
* signal.cc (sigaction): Don't treat SIGCONT specially.
|
|
|
|
|
|
2001-01-29 08:46:25 +08:00
|
|
|
|
* exceptions.cc (interrupt_setup): Save sa_flags of interrupted signal
|
|
|
|
|
for later use.
|
2001-01-12 13:38:25 +08:00
|
|
|
|
(sig_handler): Default any stopping signal to SIGSTOP.
|
|
|
|
|
(call_signal_handler): New function.
|
|
|
|
|
(sigdelayed0): New function.
|
2001-01-29 08:46:25 +08:00
|
|
|
|
* sigproc.cc (sigproc_init): Initialize SIGSTOP sigaction for special
|
|
|
|
|
behavior.
|
2001-01-12 13:38:25 +08:00
|
|
|
|
* sigproc.h: Define call_signal_handler.
|
|
|
|
|
* syscalls.cc (_read): Allow restartable signal behavior.
|
|
|
|
|
|
2001-01-11 20:33:12 +08:00
|
|
|
|
Thu Jan 11 13:17:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
* fhandler.h (fhandler_base): New method `fixup_mmap_after_fork'.
|
|
|
|
|
(fhandler_disk_file: Ditto.
|
|
|
|
|
(fhandler_dev_mem): Ditto.
|
|
|
|
|
* fhandler_mem.cc (fhandler_dev_mem::open): Set OBJ_INHERIT attribute
|
|
|
|
|
for device\physicalmemory handle.
|
|
|
|
|
(fhandler_dev_mem::mmap): Ditto.
|
2001-01-29 08:46:25 +08:00
|
|
|
|
* fhandler_mem.cc (fhandler_dev_mem::fixup_mmap_after_fork): New
|
|
|
|
|
method.
|
|
|
|
|
* mmap.cc (mmap_record): Add private `fdesc_' member. Change
|
|
|
|
|
constructor accordingly.
|
2001-01-11 20:33:12 +08:00
|
|
|
|
(get_fd): New method.
|
|
|
|
|
(mmap): Use new mmap_record constructor.
|
|
|
|
|
(fhandler_base::fixup_mmap_after_fork): New method.
|
|
|
|
|
(fhandler_disk_file::fixup_mmap_after_fork): Ditto.
|
2001-01-29 08:46:25 +08:00
|
|
|
|
(fixup_mmaps_after_fork): Call `fixup_mmap_after_fork' of appropriate
|
2001-01-11 20:33:12 +08:00
|
|
|
|
fhandler class.
|
|
|
|
|
|
2001-01-10 21:53:38 +08:00
|
|
|
|
Wed Jan 10 22:08:30 2001 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
|
|
|
|
|
|
|
|
|
|
* sigproc.cc (wait_sig): Allow SIGCONT when stopped.
|
|
|
|
|
|
2001-01-10 00:00:58 +08:00
|
|
|
|
Tue Jan 9 16:55:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
|
|
Patch suggested by Ren<65> M<>ller Fonseca <fonseca@mip.sdu.dk>
|
|
|
|
|
* include/sys/socket.h: Change prototype to have 2nd parameter `const'.
|
|
|
|
|
* net.cc (cygwin_bind): Change 2nd parameter to `const'.
|
|
|
|
|
|
2001-01-08 12:02:02 +08:00
|
|
|
|
Sun Jan 7 22:59:37 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* pinfo.cc (codepage_init): Move function.
|
|
|
|
|
* environ.cc (codepage_init): To here.
|
|
|
|
|
* exceptoins.cc (SIG_NONMASKABLE): Remove SIGCONT from consideration
|
|
|
|
|
since it is supposed to be maskable.
|
|
|
|
|
* signal.cc (sigaction): Ditto.
|
|
|
|
|
* sigproc.cc (wait_sig): Ditto.
|
|
|
|
|
* winsup.h: Eliminate global declaration of codepage_init.
|
|
|
|
|
|
2001-01-10 00:00:58 +08:00
|
|
|
|
Thu Jan 5 9:33:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
2001-01-05 17:01:18 +08:00
|
|
|
|
|
|
|
|
|
* resource.cc (getrlimit): Set errno on EFAULT instead of returning
|
|
|
|
|
it.
|
|
|
|
|
(setrlimit): Ditto.
|
|
|
|
|
|
|
|
|
|
Thu Jan 5 3:38:00 2001 David Sainty <David.Sainty@optimation.co.nz>
|
|
|
|
|
|
|
|
|
|
* resource.cc (setrlimit): Prevent failing with an error when the
|
|
|
|
|
operation would not have changed anything.
|
|
|
|
|
|
2001-01-05 02:33:39 +08:00
|
|
|
|
Thu Jan 4 10:29:54 2001 Earnie Boyd <earnie_boyd@yahoo.com>
|
|
|
|
|
|
|
|
|
|
* thread.cc: Need LONG_MAX definition.
|
|
|
|
|
|
2001-01-04 02:50:25 +08:00
|
|
|
|
Wed Jan 3 13:47:23 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* thread.cc (MTinterface::CreateSemaphore): Correctly set semaphore
|
|
|
|
|
max.
|
|
|
|
|
|
2001-01-03 22:45:47 +08:00
|
|
|
|
Wed Jan 3 09:44:51 2001 Christopher Faylor <cgf@cygnus.com>
|
|
|
|
|
|
|
|
|
|
* fhandler_console.cc (fhandler_console::read): Restore missing test
|
|
|
|
|
for code page before doing OemToCharBuff.
|
|
|
|
|
|
2001-01-03 22:44:13 +08:00
|
|
|
|
Wed Jan 3 09:20:20 2001 Jason Tishler <jt@dothill.com>
|
2000-12-27 08:13:57 +08:00
|
|
|
|
|
2001-01-03 22:44:13 +08:00
|
|
|
|
* include/cygwin/version.h: Fix typo in CYGWIN_VERSION_DLL_COMBINED
|
|
|
|
|
macro.
|