| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
originally suggested by Kazuhiro Fujieda <fujieda@jaist.ac.jp>.
|
|
|
|
|
|
|
| |
* path.cc (path::check): Detect trailing slash before converting to windows
path. Tell symlink_info::check to check for directory if one is found.
(symlink_info::check): Set errno when path is not a directory if pflags &
PATH_NEEDDIR.
|
|
|
|
| |
* utils.sgml: Document the new options.
|
|
|
|
| |
resetting of windows error to ERROR_IO_DEVICE to be ignored.
|
|
|
|
|
|
|
|
|
|
| |
points have the cygdrive prefix.
* (mount_info::add_reg_mount): Properly catch errors on registry operations.
* (mount_info::write_cygdrive_info_to_registry): Ditto.
* (mount_info::del_reg_mount): Cosmetic changes to be consistent with other
methods.
* (mount_info::add_item): Check arguments more precisely. Increment nmounts
only when registry operations succeed.
|
|
|
|
| |
memory.
|
|
|
|
| |
requested time minus the time actually slept.
|
|
|
|
|
|
|
| |
thread.
* external.cc (fillout_pinfo): Fix compiler warning.
* sigproc.h: Eliminate special asm naming for sig_dispatch_pending.
* sigproc.cc (sig_send): Remove debugging statements.
|
|
|
|
| |
including information about cygcheck.
|
| |
|
| |
|
|
|
|
| |
Other minor cosmetic.
|
| |
|
|
|
|
|
|
|
|
| |
R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): Change
numbers to the range from 160 to 167.
(R_SH_FIRST_INVALID_RELOC): Adjust.
(R_SH_FIRST_INVALID_RELOC_2, R_SH_LAST_INVALID_RELOC_2):
New relocs to fill in the gap.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
only.
(spawn_guts): Use methods for manipulating most newargv stuff.
* child_info.h (child_info_spawn::~child_info_spawn): Avoid memory leaks in
cygheap.
* spawn.cc (spawn_guts): Ditto.
* dcrt0.cc (quoted): Return next character after a quoted string when not doing
special quote processing. Also ensure that non-NULL is returned in all circumstances.
* spawn.cc (spawn_guts): Ensure that argv[0] is correctly set to the full path
when a script is detected. Suggested by Kazuhiro Fujieda
<fujieda@jaist.ac.jp>.
|
|
|
|
|
| |
* libc/machine/v850/setjmp.S: Fixed tab problems caused by
clipping patch from e-mail reader.
|
|
|
|
|
|
|
| |
* libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
Added return value 0.
(_longjmp): Allow longjmp to return value of second argument
passed to it.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
cygwin process after waiting 2 tenths of a second for it to terminate.
(forcekill): Add an extra argument determining whether to wait for the process
to exit.
|
| |
|
| |
|
|
|
|
| |
* config.sub, config.guess: Update from subversions.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
doc tools.
|
| |
|
|
|
|
|
| |
Rename section "A brief history of the project" to "Ancient history" and remove
disclaimer about being out of date.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* exceptions.cc (signal_exit): Don't terminate the main thread. Just try to
exit in this thread really quickly.
* signal.cc (kill_pgrp): Fix typo which caused pinfo structure to be assigned
incorrectly.
|
| |
|
|
|
|
|
|
|
| |
exec/fork.
* dtable.cc (dtable::fixup_after_exec): Always clear out the read ahead buffer
whether closing or adjusting.
* path.cc (chdir): Avoid a compiler warning.
|
|
|
|
|
|
| |
to strings of dots > 2 to be an error. Pass 'dir' argument to cygcwd.set.
(cwdstuff::set): Need to treat arguments from chdir differently.
* path.h (cwdstuff): Add an argument to set.
|
| |
|
|
|
|
|
|
|
|
| |
frame pointer rather than using this within the function, which is unstable
when this method is not inlined.
* net.cc: Eliminate use of second argument to sigframe.set throughout.
* select.cc (cygwin_select): Ditto.
* sigproc.cc (sig_send): Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
| |
throughout.
* shared.h: Remove.
* cygwin_version.h: New file.
* delqueue.h: New file.
* environ.h: New file.
* host_dependent.h: New file.
* perprocess.h: New file.
* registry.h: New file.
* security.h: New file.
|
|
|
|
| |
(dyn_string_insert_char): New macro. New declaration.
|
|
|
|
| |
* md5.h: New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Include sys/termios.h for files which need it.
* tty.h: New file.
* shared_info.h: New file.
* fhandler.h: Move inline methods that rely on tty stuff to
fhandler_console.cc.
* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Set
output_done_event immediately after reading data to speed up tty output
processing.
(process_output): Set write_error to errno or zero.
(fhandler_tty_slave::write): Check previous write error prior to writing to
slave end of pipe. This allows tty output to be slightly less synchronous.
* fhandler_console.cc (fhandler_console::tcsetpgrp): Moved here from
fhandler.h.
(fhandler_console::set_input_state): Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fhandler.h: Define *_output_mutex macros for serializing tty output.
(fhandler_termios): Remove restart_output_event. Define dummy output mutex
methods.
(fhandler_pty_master): Remove unneeded fixup_after_fork method.
* fhandler_termios.cc (fhandler_termios::line_edit): Acquire output_mutex when
CTRL-S is hit. Release it on CTRL-Q.
* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Remove
inappropriate OutputStopped test here. Just use the output mutex.
(fhandler_pty_master::fhandler_pty_master): Remove obsolete reference to
restart_output_event.
(fhandler_tty_common::close): Ditto.
(fhandler_pty_master::set_close_on_exec): Ditto.
(fhandler_pty_master::fixup_after_fork): Delete.
* tty.cc (tty::common_init): Ditto.
* sync.cc (muto::reset): New method.
* sync.h: Declare above method.
|
|
|
|
|
| |
* spawn.cc: Ditto.
* winsup.h: Define cfree to avoid newlib pollution.
|
|
|
|
|
| |
* libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
inline code to prevent having to include another header file.
|
|
|
|
|
|
|
|
| |
* Makefile.in: Regenerate.
* libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
(_EXPARM): New macro for defining a function parameter.
* libc/include/stdlib.h: Use _EXPARM.
* libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
|
| |
|