summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * kill.cc (forcekill): Use dwProcessId when opening a process, not the CygwinChristopher Faylor2001-03-182-1/+6
| | | | pid.
* * net.cc (get_95_ifconf): Use strcasematch instead of strcasecmp.Corinna Vinschen2001-03-173-3/+9
| | | | | * syscalls.cc (_unlink): Ditto. (_rename): Ditto.
* British -> US spelling.David Starks-Browning2001-03-171-3/+10
| | | | Add .inputrc tip to entry "How can I copy and paste into Cygwin console windows?"
* * path.cc (suffix_scan::next): Avoid searching for foo.lnk twice when input isChristopher Faylor2001-03-172-3/+12
| | | | "foo".
* * net.cc (cygwin_socket): Set protocol to 0 when address family isCorinna Vinschen2001-03-172-1/+6
| | | | AF_UNIX to avoid WSAEPROTONOSUPPORT error.
* * net.cc (cygwin_socket): Pass protocol parameter to socket call.Corinna Vinschen2001-03-172-1/+5
|
* Remove "not yet updated" caveat from entry:David Starks-Browning2001-03-171-3/+0
| | | | "How is the DOS/Unix CR/LF thing handled?"
* * dir.cc (readdir): Use strcasematch for consistency.Christopher Faylor2001-03-173-49/+66
| | | | | | | | | | | * path.cc (symlink_info): Eliminate known_suffix. (path_conv::check): Always copy ext_here to end of buffer, if found. (suffix_scan): Eliminate ext_here, add suffixes_start. (suffix_scan::has): Eliminate an argument. Reorganize. Always return pointer to end of input path. (suffix_scan::next): Take a second pass through the suffix list looking for .lnk. (symlink_info::check): Eliminate known_suffix usage.
* Fix typo.Christopher Faylor2001-03-171-1/+1
|
* Accomodate all devices.Christopher Faylor2001-03-172-4/+3
|
* * syscalls.cc (stat_dev): Give devices full read/write.Christopher Faylor2001-03-172-2/+6
|
* * thread.cc (MTinterface::CreateCond): Check for null attr pointer.Christopher Faylor2001-03-172-1/+5
|
* * fhandler_termios.cc (fhandler_termios::line_edit): Don't accept input when aChristopher Faylor2001-03-172-5/+7
| | | | signal is sent or we'll end up in an EOF/signal race.
* fix spelling error.Christopher Faylor2001-03-171-1/+1
|
* * path.cc: Translate scan states from defines to enums.Christopher Faylor2001-03-172-18/+39
| | | | | | | | | | (suffix_scan): Rename state to nextstate for clarity. (lnk_match): Change to allow multiple states to indicate that a .lnk has been matched. (suffix_scan::has): Eliminate a goto. Handle .lnk as a special case, since a .lnk may also need to be tacked on the end of a .lnk. (suffix_scan::next): Don't increment next state. Set it specifically. Recognize new .lnk states.
* * cygwin.din: Export the new functions.Christopher Faylor2001-03-176-1/+410
| | | | | | | | | * pthread.cc (pthread_cond_*): Add wrapper functions that call __pthread_cond* functions. * thread.cc (__pthread_cond_*): Implement the pthread_cond* functions. * thread.h: Add new class entries and prototypes for __pthread_cond* functions. * include/pthread.h: user land header prototypes for pthread_cond* functions and related defines.
* merge from gccDJ Delorie2001-03-141-0/+12
|
* Fix minor formatting bugs.DJ Delorie2001-03-141-10/+10
|
* 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.