| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
"Why can't I run bash as a shell under NT Emacs?": new title.
|
| |
|
|
|
|
| |
Remove entry "Setup screwed up my mounts!"
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* path.cc (path_conv::check): Add signal protection here since retrieving info
about remote shares can take some time.
* path.h (check_null_empty_str_errno): Convert to a function prototype.
* path.cc (check_null_empty_str): Move to miscfuncs.cc.
* miscfuncs.cc (check_null_empty_str_errno): New function.
(__check_null_invalid_struct): Ditto.
(__check_null_invalid_struct_errno): Ditto.
(check_null_empty_str): Change from VirtualQuery to IsBadWritePtr.
* thread.cc (check_valid_pointer): Ditto.
* resource.cc (getrlimit): Use check_null_invalid_struct macro for checking
validity of pointer.
(setrlimit): Ditto.
|
| |
|
|
|
|
|
|
|
|
|
| |
being read for executable test since we could be checking for less than that.
* syscalls.cc (stat_worker): Try opening the file the "correct" way first so
that #! processing can potentially happen. If that fails, then use "query
open" method.
* spawn.cc (spawn_guts): Delay processing of signal until after we've notified
parent about reparenting.
|
| |
|
|
|
|
|
|
|
| |
* thread.cc (pthread_cond::TimedWait): Check for WAIT_TIMEOUT as well as
WAIT_ABANDONED.
(__pthread_cond_timedwait): Calculate a relative wait from the abstime
parameter.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
(setup_handler): Move actions after a successful interrupt to interrupt_setup.
* fork.cc (vfork): Augment debugging output.
* sigproc.cc (proc_subproc): Ditto.
* spawn.cc (spawn_guts): Ditto. Correctly fill out progname when spawn
NO_WAIT. Call signal handler when a signal arrives.
* sigproc.h: Declare a function.
|
|
|
|
|
|
| |
`set_close_on_exec'.
* fhandler_socket.cc (fhandler_socket::set_close_on_exec):
New method.
|
|
|
|
| |
parameter to value expected by GetTapeParameters().
|
|
|
|
| |
robustly on WinNT.
|
|
|
|
|
|
| |
* thread.cc (__pthread_cond_timedwait): Lock the waiting mutex before
the condition protect mutex to avoid deadlocking. (Found by Greg Smith).
(__pthread_cond_wait): Ditto.
|
|
|
|
|
| |
CreateFile() with dwDesiredAccess == 0 called on remote share returns
valid handle even if file doesn't exist.
|
|
|
|
|
|
|
|
|
|
|
| |
function.
* fhandler.h: Declare it.
* fhandler_socket.cc (fhandler_socket::create_secret_event): Don't
signal secret event immediately.
(fhandler_socket::check_peer_secret_event): Do it after peer event
was opened.
* net.cc (cygwin_connect): Or if socket is non-blocking.
(cygwin_accept): Ditto.
|
|
|
|
| |
Thanks to Kevin Chase <kevincha99@hotmail.com>.
|
|
|
|
|
|
|
|
|
| |
* fork.cc (fork_copy): Print more debugging info.
(fork_parent): Change order of arguments to accomdate buggy gcc.
(fork): Ditto.
* syscalls.cc (_unlink): Reorganize to try harder to delete file with
DeleteFile and to recover more gracefully if FILE_FLAG_DELETE_ON_CLOSE doesn't
work properly.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
stopping.
* fhandler_console.cc (fhandler_console::fixup_after_fork): Don't set
controlling terminal if just inheriting a handle.
(fhandler_console::fixup_after_exec): Ditto.
* fhandler_tty.cc (fhandler_tty_slave::init): Ditto.
* signal.cc (kill_worker): Set appropriate errno if proc_exists determines that
process does not really exist.
|
| |
|
|
|
|
| |
parameter to value expected by GetTapeParameters().
|
|
|
|
|
| |
in the file.
* umount.cc (remove_all_user_mounts): Don't try to remove /cygdrive mounts.
|
|
|
|
|
| |
directory when !ntsec && !ntea. Also move common code prior to call to
get_attributes.
|
|
|
|
| |
correctly.
|
|
|
|
|
|
|
|
| |
to 0, when requested.
* fhandler.h: New status flag FH_QUERYOPEN.
(fhandler::get_query_open): New function.
(fhandler::set_query_open): Ditto.
* syscalls.cc (stat_worker): Request query-only open mode.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
of file APIs mode (OEM/ANSI) here.
(codepage_init): From here.
* winsup.h (set_file_api_mode): Declare it.
* fork.cc (fork_child): Set file APIs mode in forkee.
|
|
|
|
| |
(IMalloc::Free()): Ditto.
|
|
|
|
|
| |
(REGSTR_PATH_SPECIAL_FOLDERS): Ditto.
* include/regstr.h (REGSTR_PATH_EXPLORER): Add #ifndef guard.
|
|
|
|
|
| |
* profile/makefile.in: Build both gcrt1.o and gcrt2.o.
* provile/configure: Regenerate.
|
|
|
|
|
| |
(SHBrowseForFolder): Ditto.
(SHGetPathFromIDList): Ditto.
|
| |
|
|
|
|
|
|
|
| |
* include/wchar.h (swscanf): Ditto.
* include/tchar.h (_tfopen): New _UNICODE define.
(_tgetenv): Ditto.
(_tsetlocale): Ditto.
|
|
|
|
| |
* autoload.cc: Autoload ToolHelp functions.
|
|
|
|
| |
Thanks to: Colin Peters <colinpeters@users.sourceforge.net>
|
|
|
|
| |
check for the null/non-empty path.
|
|
|
|
|
| |
Set root_dir before invoking GetDriveType (from Kazuhiro Fujieda
<fujieda@jaist.ac.jp>). Eliminate extra checks for rootdir.
|
|
|
|
| |
Then, ensure that path_conv doesn't check the path for validity again.
|
|
|
|
|
| |
operation or suffer races.
* sigproc.cc (proc_subproc): Deal with zombie array overflow.
|
|
|
|
|
|
|
| |
* path.cc (chdir): Guard against invalid parameter.
(fchdir): New function.
* include/cygwin/version.h: Bump API minor version to 40.
* uinfo.cc (internal_getlogin): Remove unused variable.
|