| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
|
|
|
| |
* fhandler.cc (fhandler_base::set_flags): Set was_nonblocking if the
O_NONBLOCK flag has been specified.
(fhandler_base_overlapped::close): Check for was_nonblocking instead
of for is_nonblocking. Explain why.
(fhandler_base::set_nonblocking): Set was_nonblocking if noblocking
mode gets enabled.
|
| |
|
| |
|
| |
|
|
|
|
| |
* common.din (__mempcpy): ... to here.
|
| |
|
|
|
|
| |
invalidation of incoming acl entries while iterating over them.
|
| |
|
|
|
|
| |
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fhandler_process.cc (process_tab): Fix indentation.
(fhandler_process::exists): Rely on format_process_fd returning file
type in fd_type.
(struct process_fd_t): Add fd_type member.
(fhandler_process::fill_filebuf): Allow format_process_fd to set
this->fd_type member.
(format_process_fd): Fix path evaluation to allow recognizing trailing
path components. Fix check for file descriptor path component. Return
virt_symlink in fd_type if no trailing path compenents exist, return
virt_fsdir otherwise and copy full resulting path into destbuf.
* path.cc (path_conv::check): If /proc/$PID/fd symlink has trailing
path components, reparse resulting path as if it's the incoming path.
Add comment to wail over the outdated and hackish check method, and to
explain what we do here.
|
|
|
|
|
| |
* net.cc (sockatmark): New function.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
__fsetlocking, __fwritable, __fwriting, clearerr_unlocked,
feof_unlocked, ferror_unlocked, fflush_unlocked, fgetc_unlocked,
fgets_unlocked, fgetwc_unlocked, fgetws_unlocked, fileno_unlocked,
fputc_unlocked, fputs_unlocked, fputwc_unlocked, fputws_unlocked,
fread_unlocked, fwrite_unlocked, getwc_unlocked, getwchar_unlocked,
putwc_unlocked, putwchar_unlocked): Export.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
|
| |
|
| |
|
|
|
|
|
| |
* new-features.xml (ov-new1.7.34): Add new section.
(ov-new1.7.33): Reflect intermediate 1.7.33 release.
|
| |
|
|
|
|
| |
* dcrt0.cc (cygwin__cxa_atexit): New function. Explain what we do.
|
|
|
|
|
|
| |
* path.cc (warn_msdos): Make static. Drop test for dos_file_warning.
(path_conv::check): Check for dos_file_warning here to avoid a function
call in the default case.
|
|
|
|
| |
in __gcc_register_frame of DLLs built with gcc-4.8.3-3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(init_cygheap::init_installation_root): Set installation_dir_len.
(setup_cygheap): Drop call to set_dll_dir.
* cygheap.h (struct init_cygheap): Add installation_dir_len member.
(init_cygheap::set_dll_dir): Remove.
* environ.cc (win_env::add_cache): Use stpcpy for speed.
(posify_maybe): Use tmp_pathbuf buffer instead of stack.
(raise_envblock): New function to resize Windows environment block.
(build_env): Fix indentation. Call raise_envblock function. Check if
$PATH exists and is non-empty. If not, add PATH variable with Cygwin
installation directory as content to Windows environment. Explain why.
* uinfo.cc (cygheap_pwdgrp::_nss_init): Fill UNICODE_STRING members
on the fly. Drop call to RtlInitUnicodeString.
(pwdgrp::check_file): Ditto.
|
| |
|
|
|
|
|
|
|
|
|
| |
setting connect_state to connect_credxchg.
(fhandler_socket::af_local_accept): Ditto.
(fhandler_socket::recv_internal): Drop ill-advised connect_state check.
Add comment so as not to repeat the exercise.
* fhandler.h (enum conn_state): Drop now unneeded connect_credxchg
state.
|
| |
|
| |
|
|
|
|
|
|
| |
* times.cc (stime): New function.
* include/cygwin/time.h (stime): Declare.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(format_proc_cygdrive): New function to implement /proc/cygdrive.
|
| |
|
|
|
|
| |
(CYGWIN_VERSION_API_MINOR): Bump to reflect intermediate 1.7.32 release.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
STATUS_STACK_OVERFLOW. Explain why.
|
| |
|
|
|
|
| |
drive handling broken with 1.7.19.
|
| |
|
|
|
|
| |
TCP_NODELAY just like SO_KEEPALIVE and SO_DONTROUTE.
|
|
|
|
|
|
|
|
|
|
|
| |
including the windows headers. Explain why.
(get_inet_addr): Convert ANY address to LOOPBACK address. Explain why.
(fhandler_socket::evaluate_events): Forcibly set SO_ERROR socket option
in case a connection attempt failed. Explain why.
(fhandler_socket::ioctl): Drop x86_64 re-definition of u_long here.
* fhandler_procnet.cc: On x86_64, define u_long as __ms_u_long before
including the windows headers. Explain why.
* net.cc: Ditto.
|