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
path: root/winsup
AgeCommit message (Collapse)Author
2010-11-18 * fhandler_tty.cc (fhandler_tty_slave::fchown): Initialize mode to 0.Corinna Vinschen
2010-11-18 * setup2.sgml (setup-locale-ov): Document CJK ambiguous width changeCorinna Vinschen
for non-Unicode charsets. * new-features.sgml (ov-new1.7.8): Mention CJK ambiguous width change. Drop redundant NT4 pre-SP4 support entry.
2010-11-15 * posix.sgml: Move llround and llroundf to implemented SUSv4 functions.Corinna Vinschen
* include/cygwin/version.h: Add llround and llroundf to the comment for the 233 CYGWIN_VERSION_API_MINOR bump.
2010-11-02* include/paths.h (_PATH_VARTMP): Define.Yaakov Selkowitz
2010-10-31* regtool.c (cmd_set): Write correct number of bytes for REG_MULTI_SZ case.Christopher Faylor
2010-10-30* localtime.cc (is_upper): Rename to isupper and include ctype.h to pull inChristopher Faylor
standard macro. (lcl_is_set): Define as an enum. (tzsetwall): Assign lcl_is_set to correct enum values. (tzset): Ditto. Copy as much of TZ as will fit to TZ buffer.
2010-10-27* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 233.Christopher Faylor
2010-10-24Tweak entry.Christopher Faylor
2010-10-24* dcrt0.cc (do_exit): Don't set thread termination until all fds have beenChristopher Faylor
closed since an fd may rely on a thread. * fhandler_tty.cc: Reformat comment. (fhandler_pty_master::pty_master_thread): Refuse ERROR_PIPE_CONNECTED state as an error. * globals.cc (exit_states): Reorder ES_THREADTERM. * path.cc (find_fast_cwd_pointers): Remove excessively wordy DEBUGGING output.
2010-10-24* exceptions.cc (try_to_debug): Improve comment.Christopher Faylor
* fhandler_tty.cc (fhandler_pty_master::fhandler_pty_master): Add a comment.
2010-10-23* pinfo.cc (pinfo::exit): Grab a tty lock before setting pgid.Christopher Faylor
2010-10-23* pinfo.cc (pinfo::exit): Reset tty pgrp to zero if no more handles open.Christopher Faylor
(_pinfo::set_ctty): Remove debugging stuff.
2010-10-23* fhandler_tty.cc (fhandler_pty_master::open): Remove debugging printf.Christopher Faylor
2010-10-23* fhandler.h (fhandler_termios::tcinit): Make second argument non-optional.Christopher Faylor
* fhandler_console.cc (fhandler_console::open): Specify second argument to tcinit. * fhandler_termios.cc (fhandler_termios::tcinit): Rename second argument. Set pgid to 0 if this is a pty master. (fhandler_termios::tcgetpgrp): Just return value of pgid. It will be zero if not initialized. * fhandler_tty.cc (fhandler_tty_slave::open): Specify second argument to tcinit. (fhandler_tty_slave::ioctl): Implement TIOCGPRP/TIOCSPGRP. Fix switch indentation. (fhandler_tty_master::ioctl): Implement TIOCGPRP/TIOCSPGRP. * include/sys/termios.h (TIOCGPGRP): Define similarly to Linux. * include/sys/termios.h (TIOCSPGRP): Ditto.
2010-10-18* winsup/cygwin/cygwin.din: Add llround and llroundf.Christopher Faylor
2010-10-16fix datesChristopher Faylor
2010-10-09*** empty log message ***Corinna Vinschen
2010-10-09 * new-features.sgml (ov-new1.7.8): Document reinstantiation of theCorinna Vinschen
original 1.7 CWD handling.
2010-10-09 * cygheap.h (cwdstuff::override_win32_cwd): Declare.Corinna Vinschen
* ntdll.h (struct _PEB): Add members accessed by the fast cwd method starting with Vista. (struct _KUSER_SHARED_DATA): Define with only the DismountCount. (RtlAllocateHeap): Declare. (RtlEnterCriticalSection): Declare. (RtlFreeHeap): Declare. (RtlLeaveCriticalSection): Declare. * path.cc (get_user_proc_parms): Remove. (struct _FAST_CWD): New structure. (fast_cwd_ptr): Define. (SharedUserData): Define. (peek32): Define. (find_fast_cwd_pointers): New function to find the global pointer to the current FAST_CWD structure. (copy_cwd_str): New helper function. (cwdstuff::override_win32_cwd): New method to set the Win32 CWD. (cwdstuff::init): Just call override_win32_cwd from here when started from native Win32 parent. (cwdstuff::set): Access Win32 CWD via PEB reference instead of using get_user_proc_parms function. Memorize old DismountCount before opening directory handle. Call override_win32_cwd to set up Win32 CWD. Be more verbose in comments. * wincap.h (wincaps::has_fast_cwd): New element. * wincap.cc: Implement has_fast_cwd element throughout.
2010-10-08 * new-features.sgml (ov-new1.7.8): Document new C99 complex API.Corinna Vinschen
2010-10-08 * cygwin.din: Export new complex math functions from newlib.Corinna Vinschen
* posix.sgml: Move newly exported complex functions to implemented SUSv4 functions. * include/cygwin/version.h: Bump API minor version.
2010-10-07 * fhandler.h (fhandler_base::get_stat_access): Delete.Corinna Vinschen
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Always check executable suffix to get x-bits for .exe files also in notexec case. Always reopen file when checking for file header. * ntdll.h (wait_pending): Delete. * path.cc (symlink_info::check_shortcut): Drop call to wait_pending since file is always opened for sync IO. (symlink_info::check_sysfile): Ditto. (MIN_STAT_ACCESS): Remove. (FULL_STAT_ACCESS): Remove. (symlink_info::check): Drop access flag. Revert to open file with just read attributes access. Reorder symlink check to check for reparse points first. Don't check reparse points for anything else, even on remote drives. Open file for GENERIC_READ when trying to read shortcuts or system-bit symlinks. Accommodate dropped access flag in call to path_conv_handle::set. * path.h (class path_conv_handle): Drop access flag and accommodate all related methods.
2010-10-07 * posix_ipc.cc (ipc_mutex_init): Call NtCreateMutant to make sure theCorinna Vinschen
access mask is correct. (ipc_cond_init): Take additional parameter to differ between send and receive event. Call NtCreateEvent to make sure the access mask is correct. (ipc_cond_timedwait): Reset Event prior to calling WFMO. (struct mq_info): Split mqi_wait into two events, mqi_waitsend and mqi_waitrecv. (mq_open): Calloc mqinfo. Create mqi_waitsend and mqi_waitrecv events. Make sure all synchronization objects are closed in case of an error. (_mq_send): Wait for mqi_waitsend event. Signal mqi_waitrecv event. (_mq_receive): Wait for mqi_waitrecv event. Signal mqi_waitsend event. (mq_close): Close mqi_waitsend and mqi_waitrecv events.
2010-10-05 * path.h (enum pathconv_arg): Remove PC_CHECK_EA.Corinna Vinschen
2010-10-02* dcrt0.cc (dll_crt0_0): Move _main_tls initialization here.Christopher Faylor
(__dll_crt0): Only initialize _main_tls if it changes. * fhandler_console.cc (fhandler_console::write): Fix debugging output.
2010-10-02 * fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): Simplify.Corinna Vinschen
Just call nfs_fetch_fattr3 if called via fstat. * nfs.cc (nfs_fetch_fattr3): New function to fetch NFS fattr3 info from file handle. * nfs.h (nfs_fetch_fattr3): Declare. * path.cc (symlink_info::check): Simplify NFS case. Just call nfs_fetch_fattr3.
2010-10-02 * fhandler_procsys.cc (fhandler_procsys::exists): Return virt_noneCorinna Vinschen
if path is invalid.
2010-10-02* autoload.cc (std_dll_init): Add a retry loop.Christopher Faylor
2010-09-30 * fhandler.cc: Drop including nfs.h.Corinna Vinschen
* fhandler_disk_file.cc: Ditto. (fhandler_base::fstat_by_nfs_ea): Use fattr3 from path_conv member, unless called from fstat. * path.cc: Drop including nfs.h. (symlink_info::check): Rearrange definition of file info buffers. Fetch fattr3 info for files on NFS and store in conv_hdl for later use in fhandler_base::fstat_by_nfs_ea. Use fattr3 file type to recognize symlink on NFS and try to fetch symlink target only for actual symlinks. * path.h: Include nfs.h. (class path_conv_handle): Change file info storage to union of FILE_NETWORK_OPEN_INFORMATION and fattr3 structures. (path_conv_handle::fnoi): Align to aforementioned change. (path_conv_handle::nfsattr): New method. (path_conv::nfsattr): New method.
2010-09-30 * path.cc (symlink_info::check): Remove erroneous assumption aboutCorinna Vinschen
required permissions when reading NFS symlinks.
2010-09-29* fhandler_tty.cc (fhandler_tty_slave::init): Revert to using tc->setpgid sinceChristopher Faylor
previous change broke some use cases.
2010-09-29* fhandler_tty.cc (fhandler_tty_slave::init): Add debugging. Use tcsetpgrp toChristopher Faylor
potentially set pgid since it is smarter about deciding if a process is in the background. * include/sys/cygwin.h (PID_ORPHANED): Actually delete as planned. (PID_NOTCYGWIN): Correctly define.
2010-09-28 * net.cc (getdomainname): Drop special case for NT4.Corinna Vinschen
2010-09-28 Revert accidental previous login.Corinna Vinschen
2010-09-28 * Makefile.in (DLL_IMPORTS): Remove libadvapi32.a.Corinna Vinschen
* autoload.cc: Add all advapi32 entry points. * mount.cc (mount_info::init): Read user fstab only if we have a username. * passwd.cc (pwdgrp::read_passwd): Only use username if we have one. * shared.cc (user_info::initialize): Set cb last so as not to override planned behaviour in pwdgrp::read_passwd. * uinfo.cc (cygheap_user::init): Fetch Windows username from environment variable $USERNAME. Don't set name in cygheap if variable is empty. (internal_getlogin): If we still have no username, try GetUserNameW.
2010-09-28 * fhandler_tty.cc (fhandler_pty_master::setup): Always create masterCorinna Vinschen
thread.
2010-09-28 * syscalls.cc (gethostid): Use correct path to ProductId registry value.Corinna Vinschen
2010-09-27 * pathnames.sgml (mount-table): Fix pathnames-mount-ex example. ChangeCorinna Vinschen
an expression.
2010-09-27 * new-features.sgml (ov-new1.7.8): Document dropped NT4 pre-SP4 support.Corinna Vinschen
* faq-what.xml (faq.what.supported): Change accordingly. * ntsec.sgml (ntsec-mapping): Add 2008 R2.
2010-09-27 * mount.cc (fs_info::update): Remove erroneous NtClose on random handleCorinna Vinschen
value.
2010-09-26 * uinfo.cc (cygheap_user::init): Call GetUserNameW and convert toCorinna Vinschen
multibyte here so as not to rely on the current ANSI page.
2010-09-26* dcrt0.cc (__main): Force signal synchronization.Christopher Faylor
2010-09-26 * fhandler_socket.cc (fhandler_socket::bind): Drop has_exclusiveaddruseCorinna Vinschen
condition. Fix comment about availability. Move remaining comment to the right spot. Drop has_ip_helper_lib condition. * net.cc (cygwin_setsockopt): Drop has_disabled_user_tos_setting condition. Fix comment. (get_2k_ifs): Fix comment. (get_nt_ifs): Remove. (getifaddrs): Drop call to get_nt_ifs. (get_ifconf): Ditto. * wincap.cc: Throughout, drop has_ip_helper_lib, has_disabled_user_tos_setting, and has_exclusiveaddruse settings from wincaps. (wincap_unknown): Remove. (wincap_nt4): Remove. (wincap_minimal): New macro, set to wincap_nt4sp4 for now. (wincapc::init): Drop test for pre-SP4 NT4. Just imply at least NT SP4. Replace references to wincap_unknown with references to wincap_minimal. * wincap.h (struct wincaps): Drop has_ip_helper_lib, has_disabled_user_tos_setting, and has_exclusiveaddruse flags and methods.
2010-09-25 * autoload.cc: Throughout. order entry points alphabetically by DLLCorinna Vinschen
and function name. Make functions which are available on all supported systems non-optional. Fix return value on entry points imported from secur32.dll. Add comment. (std_dll_init): Call fesetenv unconditionally.
2010-09-24* autoload.cc (std_dll_init): Move dll_path closer to its use. Use dll_path inChristopher Faylor
fatal error. Set ret values under lock control. * lib/minires.c (res_nsend): Fix compilation errors owing to pointer signedness.
2010-09-24 * fhandler.cc (fhandler_base::open): Handle query_write_dac flag.Corinna Vinschen
* fhandler.h (enum query_state): Add query_write_dac flag. * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Open file with query_write_dac instead of query_write_control.
2010-09-24 * errno.cc (errmap): Map ERROR_BAD_NET_RESP to ENOSYS.Corinna Vinschen
* fhandler_disk_file.cc (fhandler_disk_file::facl): Handle ENOSYS and point to the explanation. * ntdll.h (STATUS_NOT_IMPLEMENTED): Define. * path.cc (symlink_info::check): Handle the inability of NT4 to use FileNetworkOpenInformation on share root dirs in either direction. * path.h (slash_unc_prefix_p): Remove unused declaration. * security.cc (get_info_from_sd): Handle ENOSYS from get_file_sd. Explain when this happens.
2010-09-24* autoload.cc (std_dll_init): Use correct format type when displaying dll nameChristopher Faylor
in error output.
2010-09-222010-09-21 Pierre Humblet <Pierre.Humblet@ieee.org>Pierre Humblet
* libc/minires.c (res_nsend): Use the Windows resolver if appropriate. (dn_expand): Only set errno in case of error. Delete old comments. (dn_skipname): Fix typo in comment.
2010-09-21 * path.cc (cwdstuff::set): Replace constant 2 with sizeof(WCHAR) whereCorinna Vinschen
appropriate.