summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * new-features.xml (ov-new1.7.33): Update to current state.Corinna Vinschen2014-10-222-4/+64
|
* *** empty log message ***Corinna Vinschen2014-10-221-3/+8
|
* *** empty log message ***Corinna Vinschen2014-10-221-9/+45
|
* * sec_auth.cc (get_user_groups): Remove experimental exception handlerCorinna Vinschen2014-10-212-16/+12
| | | | | added 2014-09-05. (get_user_local_groups): Ditto.
* * cygcheck.cc (CYGLSA64_DLL): Remove unused macro.Corinna Vinschen2014-10-212-4/+21
| | | | | (dump_sysinfo): If COMSPEC isn't set in the MSVCRT environment, set it. Explain why.
* Fix typoCorinna Vinschen2014-10-201-1/+1
|
* * fhandler_serial.cc: Revert debug code accidentally checked in onCorinna Vinschen2014-10-202-1/+6
| | | | 2014-08-18.
* *** empty log message ***Corinna Vinschen2014-10-201-0/+2
|
* * path.cc (symlink_info::check): Set error from status code if openingCorinna Vinschen2014-10-202-1/+12
| | | | the parent directory failed, but keep special case for root dirs.
* * libc/time/gmtime_r.c (gmtime_r): Remove dead code.Corinna Vinschen2014-10-202-5/+4
|
* * cygheap.cc (cygheap_fixup_in_child): Call set_dll_dir.Corinna Vinschen2014-10-177-31/+63
| | | | | | | | | | | | | | | | | (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.
* fix typoCorinna Vinschen2014-10-171-1/+1
|
* * cygtls.h (__try): Define __l_endtry as block-local label in 32 bitCorinna Vinschen2014-10-172-1/+7
| | | | case as well.
* *** empty log message ***Corinna Vinschen2014-10-171-0/+8
|
* * Makefile.in (DLL_OFILES): Add quotactl.o.Corinna Vinschen2014-10-178-8/+660
| | | | | | | | | | | | | | | | | | | * 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.
* * Makefile.in (DLL_OFILES): Rearrange with one file per line.Corinna Vinschen2014-10-162-25/+155
|
* * fhandler_proc.cc (format_proc_partitions): Extend output to printCorinna Vinschen2014-10-162-6/+32
| | | | the windows mount points the device is mounted on.
* * libc/unix/getcwd.c (getcwd): Close directory also in case of an error.Corinna Vinschen2014-10-162-1/+8
|
* merge from gccDJ Delorie2014-10-152-0/+9
|
* * fhandler_socket.cc (fhandler_socket::connect): Don't change stateCorinna Vinschen2014-10-142-2/+8
| | | | on WSAEALREADY error. Change comment accordingly.
* * cygheap.cc (init_cygheap::init_installation_root): Install Cygwin'sCorinna Vinschen2014-10-144-5/+65
| | | | | | | | | | | 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.
* * fhandler_socket.cc (fhandler_socket::connect): Init connect_state toCorinna Vinschen2014-10-142-4/+29
| | | | | | | 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.
* merge from gccDJ Delorie2014-10-142-0/+7
|
* * net.cc (cygwin_setsockopt): Drop redundant test for AF_LOCAL andCorinna Vinschen2014-10-132-3/+6
| | | | SOCK_STREAM in SO_PEERCRED case, as in the original patch.
* * dlfcn.cc (gfpod_helper): Only check for POSIX dir separator, same asCorinna Vinschen2014-10-122-1/+6
| | | | in get_full_path_of_dll.
* * dlfcn.cc (set_dl_error): Drop useless __stdcall.Corinna Vinschen2014-10-122-14/+23
| | | | | | | | | (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.
* Add setsockopt(sd, SOL_SOCKET, SO_PEERCRED, NULL, 0) to disableCorinna Vinschen2014-10-115-4/+74
| | | | | | | | | | | | | | | 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.
* * fhandler_socket.cc (fhandler_socket::af_local_connect): Drop outdatedCorinna Vinschen2014-10-112-12/+31
| | | | | | | | 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.
* * fhandler_socket.cc (fhandler_socket::evaluate_events): HandleCorinna Vinschen2014-10-114-57/+71
| | | | | | | | | | | | 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.
* * fhandler_socket.cc (fhandler_socket::evaluate_events): SlightlyCorinna Vinschen2014-10-112-3/+8
| | | | rearrange code. Rephrase a comment.
* * dlfcn.cc (dlopen): Disable old 32 bit code on 64 bit.Corinna Vinschen2014-10-104-1/+13
| | | | | * dcrt0.cc (check_sanity_and_sync): Ditto. * dll_init.cc (dll_dllcrt0_1): Fix typo in comment.
* * libc/include/_ansi.h: _LONG_LONG_TYPE definition removed.Corinna Vinschen2014-10-104-27/+51
| | | | | | * libc/include/math.h: _LONG_LONG_TYPE replaced by "long long". Guards for C99 and C++11 functions fixed. * libc/include/stdlib.h: Guards for C99 and C++11 functions fixed.
* * fhandler_procsys.cc (fhandler_procsys::readdir): Just testCorinna Vinschen2014-10-093-30/+42
| | | | | | | | 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 Sebastian Huber <sebastian.huber@embedded-brains.de>Jeff Johnston2014-10-094-34/+55
| | | | | | | | | | | | | | | * libc/include/stdint.h: Include <sys/_intsup.h>. (__STDINT_EXP): Delete. (__have_long32): Likewise. (__have_long64): Likewise. (__have_longlong64): Likewise. * libc/include/sys/_intsup.h: New file. (__STDINT_EXP): Move from libc/include/stdint.h. (__have_long32): Likewise. (__have_long64): Likewise. (__have_longlong64): Likewise. * libc/include/inttypes.h: Include <sys/_intsup.h>. (__INTTYPES_EXP): Delete and use __STDINT_EXP() instead.
* * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Set d_typeCorinna Vinschen2014-10-092-1/+7
| | | | for virtual directories.
* * fhandler_proc.cc (fhandler_proc::readdir): Set dirent d_type.Corinna Vinschen2014-10-097-8/+61
| | | | | | | | | * 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.
* * libc/string/memccpy.c (memccpy): Fix warning about signed-unsignedCorinna Vinschen2014-10-099-9/+31
| | | | | | | | | | | | | | | comparison * libc/string/memchr.c (memchr): Ditto. * libc/string/memrchr.c (memrchr): Ditto. * libc/string/memset.c: (memset): Ditto. * libc/string/rawmemchr.c (rawmemchr): Ditto. * libc/string/local.h (__locale_cjk_lang): Fix "function declaration isn't a prototype" warning. * libc/string/strcasestr.c (strcasestr): Ditto. * libc/string/u_strerr.c (_user_strerror): Fix "unused parameter" warnings. * libc/string/rawmemchr.c (rawmemchr): Fix comment type "// ..." -> "/* ... */".
* Add accidentally missing ChangeLog for latest change.Corinna Vinschen2014-10-091-0/+9
|
* 2014-10-08 Steve Ellcey <sellcey@mips.com>Steve Ellcey2014-10-085-79/+277
| | | | | | | | * newlib/libc/machine/mips/strcmp.c: Remove. * newlib/libc/machine/mips/strcmp.S: New. * newlib/libc/machine/mips/Makefile.am (lib_a_SOURCES): Replace strcmp.c with strcmp.S * newlib/libc/machine/mips/Makefile.in: Regenerate.
* * libc/include/string.h (ffsl): Declare as GNU function.Corinna Vinschen2014-10-082-0/+10
| | | | (ffsll): Ditto.
* * common.din (ffsl): Export.Corinna Vinschen2014-10-083-17/+17
| | | | | | | | (ffsll): Export. * syscalls.cc (ffs): Implement using GCC intrinsic. (ffsl): Ditto. (ffsll): Ditto. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* * syscall.cc (ffs): Fix crash of ffs (0x80000000) on 64 bit.Corinna Vinschen2014-10-082-3/+6
|
* * fhandler_process.cc (format_process_statm): Fix output of dirtyCorinna Vinschen2014-10-082-2/+7
| | | | pages. Add linefeed.
* Fix typoCorinna Vinschen2014-10-081-1/+1
|
* merge from gccDJ Delorie2014-09-284-3/+34
|
* * configure.in: Remove config_libnosys=falseNick Clifton2014-09-226-9/+14
| | | | | | * configure: Regenerated. * msp430/nosyscalls.S: Rename to ciosyscalls.S * msp430/Makefile.in: Change LIBNOSYS to LIB_CIO.
* 2014-09-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2014-09-172-0/+11
| | | | | * libc/include/sys/features.h: Add __NEWLIB__ and __NEWLIB_MINOR__ macros.
* 2014-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston2014-09-162-1/+7
| | | | | | Thomas Uhle <thomas.uhle@eas.iis.fraunhofer.de> * libc/include/string.h: Correct guard for strnlen().
* 2014-09-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2014-09-152-5/+9
| | | | * libc/time/month_lengths.c: Fix to define __month_lengths.
* 2014-09-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2014-09-122-1/+5
| | | | * libc/time/tzcalc_limits.c: Fix __months_lengths reference.