summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Synchronise with copyright dates on FSF GCC versions of these filesNick Clifton2001-03-148-7/+14
|
* * environ.cc (parse_options): Use strtok_r instead of strtok.Corinna Vinschen2001-03-143-5/+19
| | | | | * security.cc (convert_string_sid_to_sid): Ditto. (aclfromtext): Ditto. Fix buffer usage.
* * path.cc (lnk_suffixes): Remove.Corinna Vinschen2001-03-143-21/+25
| | | | | | | | | | | | (class suffix_scan): Add `lnk_state' flag. (suffix_scan::lnk_match): Return state of `lnk_state' now. (suffix_scan::has): Changed behaviour if file has `.lnk' suffix. (suffix_scan::next): Set `lnk_state' where appropriate. (symlink_info::check): Fix a wrong `break'. * syscalls.cc (chown_worker): Change debug statement to reflect lchown fix. (lchown): Call chown_worker with `PC_SYM_NOFOLLOW' instead of `PC_SYM_IGNORE'.
* * libc/sys/cygwin/crt0.c: Add copyright hint.Corinna Vinschen2001-03-146-1/+46
| | | | | | | * libc/sys/cygwin/sys/dirent.h: Ditto. * libc/sys/cygwin/sys/param.h: Ditto. * libc/sys/cygwin/sys/utime.h: Ditto. * libc/sys/cygwin/sys/utmp.h: Ditto.
* formatting fixNick Clifton2001-03-141-23/+24
|
* Fix typos in ChangeLogs; add coff/external.h; fix copyright datesNick Clifton2001-03-14144-4497/+2357
|
* * fhandler.cc (fhandler_disk_file::fstat): Add correct modes toCorinna Vinschen2001-03-132-1/+6
| | | | symlinks when stat'ing on FAT or FAT32 file systems.
* * include/wingdi.h: (DOCINFO) Ansi version defined incorrectly.Earnie Boyd2001-03-132-1/+6
| | | | Thanks to: Mattia Barbon <mbarbon@dsi.unive.it>
* * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make itAlexandre Oliva2001-03-132-0/+11
| | | | equivalent to LONGINT.
* Fix typoEgor Duda2001-03-131-2/+2
|
* * fhandler.h (fhandler_termios::fixup_after_exec): New function.Egor Duda2001-03-124-2/+18
| | | | | | | * fhandler.cc (fhandler_termios::fixup_after_fork): New function. Fixup output handle. * fhandler_tty.cc (fhandler_tty_common::fixup_after_fork): Output handle is now fixed up in fhandler_termios::fixup_after_fork().
* * fhandler.h (fhandler_termios::fhandler_termios): Enable fixupEgor Duda2001-03-123-2/+8
| | | | | | after fork. * fhandler_console.cc (fhandler_console::fhandler_console): Fixup after fork is now enabled in the base class constructor.
* * include/commctrl.h (TBSTYLE_FLAT): New definition.Earnie Boyd2001-03-122-0/+10
| | | | | | (TB_GETBUTTONSIZE): Ditto. (TCS_HOTTRACK): Ditto. Thanks to: Chris Hansen <popeofpop@softhome.net>
* * mkvers.sh: Include config.h so that DEBUGGING is correctly defined.Christopher Faylor2001-03-122-0/+5
|
* * spawn.cc (spawn_guts): Don't set EXIT_REPARENTING if parent process is not aChristopher Faylor2001-03-123-5/+11
| | | | cygwin process (suggested by Jason Gouger <cygwin@jason-gouger.com>).
* * child_info.h: Bump magic number for fork/exec/spawn.Christopher Faylor2001-03-112-1/+5
|
* Remove obvious brain freeze problem.Christopher Faylor2001-03-111-1/+1
|
* * autoload.cc (noload): Use proper method for multiline strings or newer gcc'sChristopher Faylor2001-03-115-167/+186
| | | | | | | | complain. * exceptions.cc (unused_sig_wrapper): Ditto. * fhandler.h (fhandler_base): Make get_io_handle and friends return self. * fhandler_tty.cc (fhandler_pty_common::close_on_exec): Accomodate DEBUGGING flag to avoid spurious warnings when inheritance is set.
* * shortcut.c (PATH_ALL_EXEC): Add parentheses to avoid a compiler warning.Christopher Faylor2001-03-106-40/+39
| | | | | | | | | | | | * exceptions.cc (setup_handler): Clarify debugging message. * sigproc.cc (proc_subproc): Remove PROC_CHILDSTOPPED test. It is handled by normal PROC_CLEARWAIT case. (wait_sig): Eliminate "dispatched" tracking. Remove __SIGCHILDSTOPPED test. Decrement counter again before jumping out of InterlockedDecrement loop so that subsequent InterlockedIncrement will keep the counter at the correctly decremented value and also detect when there are pending signals. * sigproc.h: Remove __SIGCHILDSTOPPED element. (procstuff): Remove PROC_CHILDSTOPPED element.
* merge from gccDJ Delorie2001-03-102-0/+9
|
* * syscalls.cc (_rename): Set errno to ENOENT when an old path doesn't existChristopher Faylor2001-03-103-3/+11
| | | | | (from Kazuhiro Fujieda <fujieda@jaist.ac.jp>). Also set EACCES when directory is not writable.
* * winsup.api/ltp/access01.c: Avoid compilation error if X_OKEgor Duda2001-03-102-13/+18
| | | | isn't declared as a constant.
* * config/default.exp: Remove unneeded debugging output.Egor Duda2001-03-093-3/+7
| | | | * Makefile.in: Use correct path to find dejagnu in local tree.
* * rs6000/simulator.S (dup): New syscall.Geoffrey Keating2001-03-092-1/+12
|
* 2001-03-07 Richard Sandiford <rsandifo@redhat.com>Jeff Johnston2001-03-083-4/+85
| | | | | | * (libc/include/machine/setjmp.h): Use 23 DI-mode ints for a jmpbuf on MIPS64 targets. * (libc/machine/mips/setjmp.S): Add MIPS64 version.
* * Makefile.in (ALL_GCC, ALL_GCC_C, ALL_GCC_CXX): Set before use.Alexandre Oliva2001-03-082-3/+7
|
* * libc/include/sys/config.h: Use ssize_t for read/write declarations.Christopher Faylor2001-03-072-0/+5
|
* * syscalls.cc (_read): Change definition to return ssize_t to be consistentChristopher Faylor2001-03-072-2/+9
| | | | | with read. (_write): Change definition to return ssize_t to be consistent with write.
* Update copyright.Christopher Faylor2001-03-072-2/+2
|
* * sigproc.h (sigthread): Declare new methods. Create new winapi_lock field.Christopher Faylor2001-03-074-3/+49
| | | | | | | | | | | (sigframe:;set): Call get_winapi_lock after frame is set so that signal handler thread knows not to call SuspendThread. (sigframe::~sigframe): Release winapi_lock. * exceptions.cc (sigthread::get_winapi_lock): New method. (sigthread::release_winapi_lock): New method. (setup_handler): Use get_winapi_lock to ensure that signalled thread is not blocked in a Windows API. * path.h (path_types): Avoid broken GCC warning.
* merge from gccDJ Delorie2001-03-062-0/+19
|
* * path.cc (suffix_scan::has): Change order of conditionalsCorinna Vinschen2001-03-062-10/+15
| | | | to allow checking for .lnk suffixes even if in_suffixes is empty.
* * autoload.c (cygwin_premain0): Add missing parameter.Corinna Vinschen2001-03-067-4/+50
| | | | | | | | | | | | | | | | | | | | | | * binmode.c (cygwin_premain0): Ditto. * textmode.c (cygwin_premain0): Ditto. Patch contributed by Jason Tiller <jtiller@sjm.com> : * auto_load.cc: Add "GetKeyboardLayout" entry in the list of Win32 User32.DLL exports to provide. * fhandler.h (class fhandler_console): Add meta_mask private member to remember which keystroke modifiers should generate META. * fhandler_console.cc (fhandler_console::read): Modify code that tests a keystroke for a META-escaped key to use the 'meta_mask' variable. (fhandler_console::fhandler_console): Add definition for variable "meta_mask" used to determine if a keystroke should be preceded by META in the client console stream. Set meta_mask based on whether or not user's keyboard language is English - non-English keyboards pass AltGr (right <ALT>) unmolested, whereas English keyboards now interpret left- and right-<ALT> as META.
* Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>Jeff Johnston2001-03-069-23/+33
| | | | | | | | | | | | * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define. For RTEMS, define to be ssize_t. Default to int if not defined. * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE. * libc/stdio/stdio.c (__sread, __swrite): Likewise. * libc/stdio/local.h (__sread, __swrite): Likewise. * libc/include/sys/reent.h (_read, _write): Likewise. * libc/include/sys/unistd.h (read, write, _read, _write): Likewise. * libc/syscalls/sysread.c (read): Likewise. * libc/syscalls/syswrite.c (write): Likewise.
* * include/a.out.h: Add copyright hint.Corinna Vinschen2001-03-0548-0/+524
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-03-052-3/+7
| | | | * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
* * getfacl.c: Add copyright hint.Corinna Vinschen2001-03-054-0/+40
| | | | | * setfacl.c: Ditto. * strace.cc: Ditto.
* * dlopen.c (dlopen): Return NULL when name is NULL (suggested byChristopher Faylor2001-03-0528-147/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * libc/include/sys/stat.h: Use special defines for executable stat bits whenChristopher Faylor2001-03-053-7/+31
| | | | | | compiling for Cygwin. * libc/include/sys/unistd.h: Use special define for X_OK when compiling for Cygwin.
* * fhandler.h (class fhandler_tty_common): New mutex and event toEgor Duda2001-03-045-68/+188
| | | | | | | | | | | | | | | | | | 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.
* *** empty log message ***Christopher Faylor2001-03-035-171/+171
|
* 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-03-022-0/+7
| | | | | * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype of strtok_r is always defined.
* 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-03-022-0/+5
| | | | * libc/include/machine/ansi.h: New dummy header file.
* * dir.cc (readdir): Fix creating path in symlink check.Corinna Vinschen2001-03-022-1/+5
|
* * cygwinenv.sgml: Add text for `winsymlinks' option.Corinna Vinschen2001-03-024-9/+48
| | | | | | | * how-api.texinfo: Add text to explain new symlinks==shortcuts and the CYGWIN setting `(no)winsymlinks'. * how-using.texinfo: Add text that Cygwin now treats shortcuts as symlinks.
* * dir.cc (readdir): Fix shortcut==symlink condition.Corinna Vinschen2001-03-026-89/+141
| | | | | | | | | | | | | * 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.
* merge from gccDJ Delorie2001-03-022-2/+7
|
* * exceptions.cc (sig_handle_tty_stop): Ignore attempts to suspend a process ifChristopher Faylor2001-03-022-0/+9
| | | | started by non-cygwin parent.
* * select.cc (peek_console): Don't report read_ready on mouse events unless weChristopher Faylor2001-03-023-1/+11
| | | | | are looking for mouse events. * fhandler.h (fhandler_console::mouse_aware): New method.
* 2001-03-01 Earnie Boyd <earnie@users.sourceforge.netEarnie Boyd2001-03-013-3/+20
| | | | | | * Makefile.in: (snapshot): Add target. * lib/Makefile.in: (install-headers): Use installdir variable. (installdir): Set value based on target-alias.