Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-20 * net.cc (fdsock): Change default values for socket buffers on 32 bitCorinna Vinschen
to fix performance on 10Gb networks.
2014-11-17 * uinfo.cc (pwdgrp::fetch_account_from_windows): Allow fetching ofCorinna Vinschen
NT SERVICE accounts by name. Always prepend domain to NT SERVICE accounts. Add U-domain\username string to pw_gecos for predefined builtin accounts as well.
2014-11-14 * fhandler_termios.cc (fhandler_termios::line_edit): Fix fatal typo inCorinna Vinschen
bytes_read pointer checks.
2014-11-13 * fhandler.h (fhandler_termios::line_edit): Add parameter to returnCorinna Vinschen
written bytes. * fhandler_termios.cc (fhandler_termios::tcinit): Fix formatting. (fhandler_termios::line_edit): Return bytes actually written. Write in 32 byte chunks in non-canonical mode to reduce number of WriteFile calls. Don't just eat unwritten bytes in case of an error condition. Especially, don't report them back to the caller as written. * fhandler_tty.cc (fhandler_pty_slave::read): Disable code reducing the number of bytes read from the pipe to vmin. Add comment. (fhandler_pty_master::write): Convert ret to ssize_t type. Just call line_edit once, not in a loop once for each byte. Return bytes written as returned by line_edit.
2014-11-13 * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 34.Corinna Vinschen
* new-features.xml (ov-new1.7.34): Add new section. (ov-new1.7.33): Reflect intermediate 1.7.33 release.
2014-11-12 * cygheap.h (cygheap_pwdgrp): Remove constants NSS_FILES and NSS_DB.Corinna Vinschen
Use NSS_SRC_FILES and NSS_SRC_DB throughout instead. (cygheap_pwdgrp::nss_pwd_src): New inline method. (cygheap_pwdgrp::nss_grp_src): Ditto. * external.cc (cygwin_internal): Add CW_GETNSS_PWD_SRC and CW_GETNSS_GRP_SRC cases. * uinfo.cc: Use NSS_SRC_FILES and NSS_SRC_DB throughout. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GETNSS_PWD_SRC and CW_GETNSS_GRP_SRC. (NSS_SRC_FILES): Define. (NSS_SRC_DB): Define.
2014-11-07 * dcrt0.cc (cygwin__cxa_atexit): Fetch correct DSO handle valueCorinna Vinschen
by searching dll list. Explain why.
2014-11-06 * dcrt0.cc (cygwin_atexit): Change preceeding comment to reflectCorinna Vinschen
API version numbers. * external.cc (cygwin_internal): disable setting cxx_malloc on 64 bit. Add CW_FIXED_ATEXIT case. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_FIXED_ATEXIT. * lib/atexit.c (atexit): Test running Cygwin version by checking return value of cygwin_internal (CW_FIXED_ATEXIT).
2014-11-05 * lib/atexit.c (atexit): Check for being linked into the executable.Corinna Vinschen
If so, call __cxa_atexit with NULL DSO handle. Explain why. * lib/dso_handle.c: New file providing fallback __dso_handle.
2014-11-05 * Makefile.in (NEW_FUNCTIONS): Add atexit to be not exported.Corinna Vinschen
* lib/atexit.c (atexit): New, statically linkable version of atexit. * dcrt0.cc (cygwin_atexit): Add comment to mark this function as old entry point. Indiscriminately check for DSO of function pointer for all functions, if checking for DSO of return address fails on x86_64. Change comment accordingly.
2014-11-05 * Makefile.in (NEW_FUNCTIONS): Define target-independent. Add targetCorinna Vinschen
dependent stuff afterwards. Globally define timezone and all xdr symbols as non-exported from libcygwin.a.
2014-11-03 * cygheap.cc: Fix formatting.Corinna Vinschen
2014-10-30 * uinfo.cc (cygheap_user::ontherange): Don't mention /etc/passwd.Corinna Vinschen
2014-10-29 * cygheap.cc (init_cygheap::init_installation_root): Create content ofCorinna Vinschen
installation_dir as non-prefixed path, if possible.
2014-10-29 * common.din (__cxa_atexit): Define as cygwin__cxa_atexit.Corinna Vinschen
* dcrt0.cc (cygwin__cxa_atexit): New function. Explain what we do.
2014-10-28 * globals.cc (dos_file_warning): Set to false by default.Corinna Vinschen
* 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.
2014-10-28 * dcrt0.cc (cygwin_atexit): Add workaround for broken atexit callsCorinna Vinschen
in __gcc_register_frame of DLLs built with gcc-4.8.3-3.
2014-10-27 * dlfcn.cc (dlopen): Drop patch accommodating SetDllDiretory fromCorinna Vinschen
2014-10-14.
2014-10-27 * cygheap.cc (cygheap_fixup_in_child): Drop call to set_dll_dir.Corinna Vinschen
(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.
2014-10-26 * fhandler_socket.cc (fhandler_socket::af_local_connect): DropCorinna Vinschen
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.
2014-10-24 * fhandler_proc.cc (format_proc_cygdrive): Fix symlink path if cygdriveCorinna Vinschen
is "/".
2014-10-24 * gendef (sigdelayed): 64 bit only: Fix seh_pushreg statements inCorinna Vinschen
prologue.
2014-10-24 * gendef (sigdelayed): 64 bit only: Push CPU flags before aligningCorinna Vinschen
stack to avoid changing flag values.
2014-10-22* common.din (stime): Export.Yaakov Selkowitz
* times.cc (stime): New function. * include/cygwin/time.h (stime): Declare. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2014-10-21 * sec_auth.cc (get_user_groups): Remove experimental exception handlerCorinna Vinschen
added 2014-09-05. (get_user_local_groups): Ditto.
2014-10-20Fix typoCorinna Vinschen
2014-10-20 * fhandler_serial.cc: Revert debug code accidentally checked in onCorinna Vinschen
2014-08-18.
2014-10-20 * path.cc (symlink_info::check): Set error from status code if openingCorinna Vinschen
the parent directory failed, but keep special case for root dirs.
2014-10-17 * cygheap.cc (cygheap_fixup_in_child): Call set_dll_dir.Corinna Vinschen
(init_cygheap::init_installation_root): Just memmove contents of installation_root instead of calling GetModuleFileNameW again. Copy installation_root to installation_dir before stripping of "bin" dir. Don't call SetDllDirectory here. Explain what we do. (setup_cygheap): New function taking over initial cygheap setup from memory_init. Additionally call set_dll_dir. * cygheap.h (struct init_cygheap): Add installation_dir member. (init_cygheap::set_dll_dir): Define. (setup_cygheap): Declare. * dcrt0.cc: Throughout drop parameter from memory_init call. (dll_crt0_0): Call setup_cygheap prior to memory_init. * dlfcn.cc (dlopen): Change comment to point to the right function. * shared.cc (memory_init): Drop parameter. Drop cygheap setup. * shared_info.h (memory_init): Change declaration accordingly.
2014-10-17fix typoCorinna Vinschen
2014-10-17 * cygtls.h (__try): Define __l_endtry as block-local label in 32 bitCorinna Vinschen
case as well.
2014-10-17 * Makefile.in (DLL_OFILES): Add quotactl.o.Corinna Vinschen
* common.din (quotactl): Export. * ntdll.h: Define FILE_FS_CONTROL_INFORMATION::FileSystemControlFlags flag values. (struct _FILE_FS_CONTROL_INFORMATION): Define. (struct _FILE_GET_QUOTA_INFORMATION): Define. (typedef struct _FILE_QUOTA_INFORMATION): Define. (NtQueryObject): Use PVOID rather than VOID*. (NtQueryVolumeInformationFile): Ditto. (NtQueryQuotaInformationFile): Declare. (NtSetQuotaInformationFile): Declare. (NtSetVolumeInformationFile): Declare. * quotactl.cc: New file implementing quotactl(). * include/sys/mount.h (BLOCK_SIZE): Define. (BLOCK_SIZE_BITS): Define. * include/sys/quota.h: New header. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2014-10-16 * Makefile.in (DLL_OFILES): Rearrange with one file per line.Corinna Vinschen
2014-10-16 * fhandler_proc.cc (format_proc_partitions): Extend output to printCorinna Vinschen
the windows mount points the device is mounted on.
2014-10-14 * fhandler_socket.cc (fhandler_socket::connect): Don't change stateCorinna Vinschen
on WSAEALREADY error. Change comment accordingly.
2014-10-14 * cygheap.cc (init_cygheap::init_installation_root): Install Cygwin'sCorinna Vinschen
installation dir as DLL search path, instead of ".". * cygheap.h (class cwdstuff): Add parameter names in function declarations for readability. (cwdstuff::get): Ad inline implementation fetching the CWD as wide char string. * dlfcn.cc (dlopen): Add searching for dependent DLLs in DLL installation dir or CWD, if all else failed. Add comment to explain scenarios this is accommodating.
2014-10-14 * fhandler_socket.cc (fhandler_socket::connect): Init connect_state toCorinna Vinschen
connect_pending only on unconnected socket. Set connect_state to connected on WSAEISCONN error. Set connect_state to connect_failed on any other error except WSAEWOULDBLOCK if connect is still pending. Add lots of comment to explain why all of the above.
2014-10-13 * net.cc (cygwin_setsockopt): Drop redundant test for AF_LOCAL andCorinna Vinschen
SOCK_STREAM in SO_PEERCRED case, as in the original patch.
2014-10-12 * dlfcn.cc (gfpod_helper): Only check for POSIX dir separator, same asCorinna Vinschen
in get_full_path_of_dll.
2014-10-12 * dlfcn.cc (set_dl_error): Drop useless __stdcall.Corinna Vinschen
(check_path_access): Ditto. Drop FE_CWD from call to find_exec. (gfpod_helper): Call path_conv::check for all paths containing a dir separator to more closely follow the Linux search algorithm. (get_full_path_of_dll): Drop useless __stdcall. (dlopen): Simplify RTLD_NOLOAD case by calling GetModuleHandleEx instead of GetModuleHandle/LoadLibrary.
2014-10-11 Add setsockopt(sd, SOL_SOCKET, SO_PEERCRED, NULL, 0) to disableCorinna Vinschen
initial handshake on AF_LOCAL sockets. * fhandler.h (class fhandler_socket): Add no_getpeereid status flag. (fhandler_socket::af_local_set_no_getpeereid): New prototype. * fhandler_socket.cc (fhandler_socket::af_local_connect): Skip handshake if no_getpeereid is set. Add debug output. (fhandler_socket::af_local_accept): Likewise. (fhandler_socket::af_local_set_no_getpeereid): New function. (fhandler_socket::af_local_copy): Copy no_getpeereid. (fhandler_socket::getpeereid): Fail if no_getpeereid is set. * net.cc (cygwin_setsockopt): Add SO_PEERCRED for AF_LOCAL/SOCK_STREAM sockets. Add comment to explain why we need it. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2014-10-11 * fhandler_socket.cc (fhandler_socket::af_local_connect): Drop outdatedCorinna Vinschen
comment. (fhandler_socket::evaluate_events): Only set connect_state and call af_local_connect if connect_state is connect_pending. Explain why. Drop redundant test for socket family and type. (fhandler_socket::connect): Extend comment.
2014-10-11 * fhandler_socket.cc (fhandler_socket::evaluate_events): HandleCorinna Vinschen
connect_state and af_local_connect connect call here, once, independent of FD_CONNECT being requested. Add comment to explain why. (fhandler_socket::connect): Drop connect_state handling and calling af_local_connect. Move remaining AF_LOCAL stuff prior to calling ::connect and explain why. Simplify error case. * poll.cc (poll): Handle connect state independently of POLLOUT being requested for the descriptor to allow setting POLLIN if connect failed. Add comment. * select.cc (set_bits): Drop connect_state and AF_LOCAL handling here.
2014-10-11 * fhandler_socket.cc (fhandler_socket::evaluate_events): SlightlyCorinna Vinschen
rearrange code. Rephrase a comment.
2014-10-10 * dlfcn.cc (dlopen): Disable old 32 bit code on 64 bit.Corinna Vinschen
* dcrt0.cc (check_sanity_and_sync): Ditto. * dll_init.cc (dll_dllcrt0_1): Fix typo in comment.
2014-10-09 * fhandler_procsys.cc (fhandler_procsys::readdir): Just testCorinna Vinschen
ObjectTypeName for object types rather than calling lstat to avoid performance hit. * globals.cc (ro_u_natdir): Define. (ro_u_natsyml): Define. (ro_u_natdev): Define.
2014-10-09 * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Set d_typeCorinna Vinschen
for virtual directories.
2014-10-09 * fhandler_proc.cc (fhandler_proc::readdir): Set dirent d_type.Corinna Vinschen
* fhandler_process.cc (fhandler_process::readdir): Ditto. * fhandler_procnet.cc (fhandler_procnet::readdir): Ditto. * fhandler_procsys.cc (fhandler_procsys::readdir): Ditto. * fhandler_procsysvipc.cc (fhandler_procsysvipc::readdir): Ditto. * fhandler_virtual.h (virt_ftype_to_dtype): Define new inline function to generate dirent d_type from virtual_ftype_t.
2014-10-09Add accidentally missing ChangeLog for latest change.Corinna Vinschen
2014-10-08 * syscall.cc (ffs): Fix crash of ffs (0x80000000) on 64 bit.Corinna Vinschen