| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
pid.
|
|
|
|
|
| |
* syscalls.cc (_unlink): Ditto.
(_rename): Ditto.
|
|
|
|
| |
Add .inputrc tip to entry "How can I copy and paste into Cygwin console windows?"
|
|
|
|
| |
"foo".
|
|
|
|
| |
AF_UNIX to avoid WSAEPROTONOSUPPORT error.
|
| |
|
|
|
|
| |
"How is the DOS/Unix CR/LF thing handled?"
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
signal is sent or we'll end up in an EOF/signal race.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* security.cc (convert_string_sid_to_sid): Ditto.
(aclfromtext): Ditto. Fix buffer usage.
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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/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.
|
| |
|
| |
|
|
|
|
| |
symlinks when stat'ing on FAT or FAT32 file systems.
|
|
|
|
| |
Thanks to: Mattia Barbon <mbarbon@dsi.unive.it>
|
|
|
|
| |
equivalent to LONGINT.
|
| |
|
|
|
|
|
|
|
| |
* 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().
|
|
|
|
|
|
| |
after fork.
* fhandler_console.cc (fhandler_console::fhandler_console): Fixup
after fork is now enabled in the base class constructor.
|
|
|
|
|
|
| |
(TB_GETBUTTONSIZE): Ditto.
(TCS_HOTTRACK): Ditto.
Thanks to: Chris Hansen <popeofpop@softhome.net>
|
| |
|
|
|
|
| |
cygwin process (suggested by Jason Gouger <cygwin@jason-gouger.com>).
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
| |
(from Kazuhiro Fujieda <fujieda@jaist.ac.jp>). Also set EACCES when directory
is not writable.
|
|
|
|
| |
isn't declared as a constant.
|
|
|
|
| |
* Makefile.in: Use correct path to find dejagnu in local tree.
|
| |
|
|
|
|
|
|
| |
* (libc/include/machine/setjmp.h): Use 23 DI-mode ints for a
jmpbuf on MIPS64 targets.
* (libc/machine/mips/setjmp.S): Add MIPS64 version.
|
| |
|
| |
|
|
|
|
|
| |
with read.
(_write): Change definition to return ssize_t to be consistent with write.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
| |
to allow checking for .lnk suffixes even if in_suffixes is empty.
|