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-08-04 * common.din (__cxa_atexit): Export.Corinna Vinschen
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump to 274.
2014-08-04 * uinfo.cc (pwdgrp::fetch_account_from_windows): Drop "plus_prepended"Corinna Vinschen
as naming style. Drop enum name_style_t, use a boolean "fully_qualified_name" value instead. Rework function to drop "plus_prepended" handling througout and default to "name only" style as replacement.
2014-08-01headers: properly decorate attributesEric Blake
As pointed out here: https://cygwin.com/ml/cygwin/2014-07/msg00371.html any use of __attribute__ in a header that can be included by a user should be namespace-safe, by decorating the attribute arguments with __ (while gcc does a lousy job at documenting it, ALL attributes have a __ counterpart, precisely so that public headers can use attributes without risk of collision with macros belonging to user namespace). * include/pthread.h: Decorate attribute names with __, for namespace safety. * include/cygwin/core_dump.h: Likewise. * include/cygwin/cygwin_dll.h: Likewise. * include/sys/cygwin.h: Likewise. * include/sys/strace.h: Likewise.
2014-07-30 * uinfo.cc (pwdgrp::fetch_account_from_windows): Fix comment.Corinna Vinschen
2014-07-29 * cygheap.h (class cygheap_domain_info): Remove lowest_tdo_posix_offset.Corinna Vinschen
* ldap.cc (cyg_ldap::fetch_posix_offset_for_domain): Return UINT32_MAX in case of error. * security.h (PRIMARY_POSIX_OFFSET): Define. (NOACCESS_POSIX_OFFSET): Define. (UNUSABLE_POSIX_OFFSET): Define. * uinfo.cc (cygheap_domain_info::init): Drop initializing lowest_tdo_posix_offset. (pwdgrp::fetch_account_from_file): Set PosixOffset to either UNUSABLE_POSIX_OFFSET or NOACCESS_POSIX_OFFSET in case we don't get a sensible offset from AD. Explain why. Drop setting ch lowest_tdo_posix_offset. (pwdgrp::fetch_account_from_windows): Replace constant 0x100000 with PRIMARY_POSIX_OFFSET throughout.
2014-07-24 * fhandler_socket.cc (fhandler_socket::send_internal): Fix value ofCorinna Vinschen
out_len when tweaking the last buffer so out_len is correct in a subsequent if expression.
2014-07-21 * thread.cc (pthread::init_mainthread): Initialize thread mutex toCorinna Vinschen
type PTHREAD_MUTEX_RECURSIVE, just as for any other thread.
2014-07-21bump to 32Corinna Vinschen
2014-07-21 * uinfo.cc: Fix typo in comment.Corinna Vinschen
2014-07-18*** empty log message ***Corinna Vinschen
2014-07-16.Christopher Faylor
2014-07-16*** empty log message ***Corinna Vinschen
2014-07-16 * thread.cc (pthread::create): Handle stackaddr as upper bound address.Corinna Vinschen
Add comment. (pthread_attr_setstack): Store upper bound address in stackaddr. Explain why. (pthread_attr_getstack): Handle stackaddr as upper bound address. Add comment. (pthread_attr_setstackaddr): Add comment. (pthread_attr_getstackaddr): Add comment. (pthread_attr_getstacksize): Return default stacksize if stacksize has not been set by the application, just as on Linux. Add comment. (pthread_getattr_np): Store upper bound address in stackaddr. Explain why. * include/pthread.h: Remove outdated comment. (pthread_attr_getstackaddr): Mark as deprecated, as on Linux. (pthread_attr_setstackaddr): Ditto.
2014-07-16*** empty log message ***Corinna Vinschen
2014-07-16* sigproc.cc (sigproc_init): Set aside more buffer space for signal pipes.Christopher Faylor
(sig_send): Retry WriteFiles which fail when there is no error but packbytes have not been sent.
2014-07-15* sigproc.cc (send_sig): Don't report an error if WriteFile succeeds.Christopher Faylor
2014-07-15Fix typoCorinna Vinschen
2014-07-14* sigproc.cc (send_sig): Fix bad format in diagnostic output.Christopher Faylor
2014-07-14 * uinfo.cc (cygheap_domain_info::init): Correctly setCorinna Vinschen
lowest_tdo_posix_offset to UNIX_POSIX_OFFSET. (fetch_posix_offset): Redesign to fake a POSIX offset in all cases where we can't fetch a non-0 POSIX offset from our primary domain.
2014-07-14 * thread.cc (pthread_mutex::pthread_mutex): Change default typeCorinna Vinschen
to PTHREAD_MUTEX_NORMAL. (pthread_mutex::unlock): Return EPERM if the mutex has no owner and the mutex type is PTHREAD_MUTEX_ERRORCHECK, as on Linux. (pthread_mutexattr::pthread_mutexattr): Ditto. (pthread_mutex_unlock): Do not fail if mutex is a normal mutex initializer. * include/pthread.h (PTHREAD_MUTEX_INITIALIZER): Redefine as PTHREAD_NORMAL_MUTEX_INITIALIZER_NP.
2014-07-09 * thread.cc (pthread::create): Use PTHREAD_DEFAULT_STACKSIZE stacksizeCorinna Vinschen
if attr.stacksize is 0. (pthread_attr::pthread_attr): Initialize stacksize to 0 to align more closely to Linux. (pthread_attr_getstack): Fix incorrect stackaddr computation. Return stackaddr just like pthread_attr_getstackaddr. Remove slightly off comment. (pthread_attr_getstackaddr): Remove slightly off comment. (pthread_getattr_np): Return stackaddr and stacksize based on the full allocated stackarea.
2014-07-09 * exceptions.cc (exception::myfault_handle): Rephrase comment.Corinna Vinschen
2014-07-09 * exceptions.cc (exception::myfault_handle): Fix typo in comment.Corinna Vinschen
2014-07-07 * exceptions.cc (exception::myfault_handle): Disable handlingCorinna Vinschen
STATUS_STACK_OVERFLOW. Explain why.
2014-07-07 * fhandler_socket.cc (fhandler_socket::send_internal): Improve loop toCorinna Vinschen
write streams in chunks of wmem() bytes to raise performance when writing small buffers. Rename variables and add comments to help understanding the code in years to come.
2014-07-07 * passwd.cc (pg_ent::enumerate_ad): Revert to simply skipping a domainCorinna Vinschen
if opening the connection to the domain fails.
2014-07-07 * libc/minires.c (minires_dprintf): Change "Minires" to "Resolv" toCorinna Vinschen
differ from external minres lib. (res_nquerydomain): Fix off-by-one in domain concatenation. Add debug output.
2014-07-03 * fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Add debugCorinna Vinschen
output.
2014-06-25 * errno.cc (errmap): Fix order of SERVICE_REQUEST_TIMEOUT.Corinna Vinschen
2014-06-25 * errno.cc (errmap): Handle Windows error codes ERROR_CANCELLED,Corinna Vinschen
ERROR_CONNECTION_REFUSED, ERROR_DEV_NOT_EXIST, ERROR_DS_GENERIC_ERROR, ERROR_NOT_ENOUGH_QUOTA, ERROR_SERVICE_REQUEST_TIMEOUT, ERROR_TIMEOUT, ERROR_UNEXP_NET_ERR. * ldap.cc (cyg_ldap::map_ldaperr_to_errno): Drop explicit LDAP_TIMEOUT handling.
2014-06-25 * ldap.cc (cyg_ldap::map_ldaperr_to_errno): Explicitely map LDAP_TIMEOUTCorinna Vinschen
to EIO.
2014-06-25 * autoload.cc (ldap_search_sW): Replace ldap_search_stW.Corinna Vinschen
(LdapMapErrorToWin32): Import. * fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): Accommodate change to cyg_ldap::open. * ldap.cc (CYG_LDAP_TIMEOUT): Remove. (CYG_LDAP_ENUM_TIMEOUT): Remove. (def_tv): Remove. (enum_tv): Remove. (cyg_ldap::map_ldaperr_to_errno): New method to map LDAP error codes to POSIX errno codes. Explicitly map LDAP_NO_RESULTS_RETURNED to ENMFILE. (cyg_ldap::wait): Ditto. (struct cyg_ldap_init): New struct. (cyg_ldap::connect_ssl): Return ULONG. Drop setting LDAP_OPT_TIMELIMIT. Add call to ldap_search_sW to fetch root DSE. (cyg_ldap::connect_non_ssl): Ditto. (ldap_init_thr): New static thread function. (cyg_ldap::connect): New method to call connect_ssl/connect_non_ssl in an interruptible cygthread. (struct cyg_ldap_search): New struct. (cyg_ldap::search_s): New method to perform generic synchronous search. (ldap_search_thr): New static thread function. (cyg_ldap::search): New method to call search_s in an interruptible cygthread. (struct cyg_ldap_next_page): New struct. (cyg_ldap::next_page_s): New method to perform generic synchronous paged search. (ldap_next_page_thr): New static thread function. (cyg_ldap::next_page): New method to call next_page_s in an interruptible cygthread. (cyg_ldap::open): Return POSIX errno. Call connect method. (cyg_ldap::fetch_ad_account): Call search method rather than ldap_search_stW. (cyg_ldap::enumerate_ad_accounts): Return POSIX errno. Use infinite timeout in call to ldap_search_init_pageW. (cyg_ldap::next_account): Return POSIX errno. Call next_page method rather than ldap_get_next_page_s. (cyg_ldap::fetch_posix_offset_for_domain): Call search method rather than ldap_search_stW. (cyg_ldap::fetch_unix_sid_from_ad): Ditto. (cyg_ldap::fetch_unix_name_from_rfc2307): Ditto. * ldap.h (class cyg_ldap): Accommodate aforementioned changes. * passwd.cc (pg_ent::enumerate_ad): Ditto. Break search if one of cyg_ldap::enumerate_ad_accounts or cldap.next_account returns with an error code other than ENMFILE. * sec_helper.cc (cygpsid::get_id): Accommodate change to cyg_ldap::open. * uinfo.cc (fetch_posix_offset): Ditto.
2014-06-23 * spawn.cc (find_exec): Initialize err (CID 60111).Corinna Vinschen
* strace.cc (strace::activate): Fix potential buffer overrun (CID 59938) * syscalls.cc (popen): Close parent pipe descriptor via fclosing fp on error to avoid resource leak (CID 59981). * thread.cc (pthread::exit): Avoid accessing cygtls member after deleting "this" (CID 60217).
2014-06-23 * select.cc (start_thread_socket): Delete si on early return in case ofCorinna Vinschen
an error (CID 59967).
2014-06-23 * regex/regcomp.c (computematchjumps): Free local memory in case ofCorinna Vinschen
error (CID 59975).
2014-06-23 * mount.cc (fs_info::update): Define dir in the outermost scope to avoidCorinna Vinschen
accessing out-of-scope value (CID 60027). Always initialize attr to upath (CID 60113).
2014-06-23 * malloc_wrapper.cc (mallinfo): Initialize m if external malloc is used,Corinna Vinschen
too (CID 60120).
2014-06-23 * localtime.cc (tzload): Fix leaking memory (CID 60001).Corinna Vinschen
2014-06-23 * exceptions.cc (try_to_debug): Free environment pointer when not usedCorinna Vinschen
anymore (CID 59968).
2014-06-23 * net.cc (cygwin_getaddrinfo): Fix value of hint->ai_addrlen on 64 bit.Corinna Vinschen
Explain why.
2014-06-23 * environ.cc (regopt): Allocate small local buffer to avoid copyingCorinna Vinschen
twice. Fixes resource leak (CID 60012). Add comment.
2014-06-23 * dll_init.cc (dll_list::alloc): Fix buffer overrun (CID 59940).Corinna Vinschen
2014-06-23 * dcrt0.cc (insert_file): Fix resource leaks (CIDs 59987, 59988).Corinna Vinschen
2014-06-23 * ldap.cc (CYG_LDAP_TIMEOUT): Set to 5 secs.Corinna Vinschen
(CYG_LDAP_ENUM_TIMEOUT): New timeout value for enumeration only. Set to 60 secs. (CYG_LDAP_ENUM_PAGESIZE): Define as number of entries per single search page. Set to 100. Use throughout. (def_tv): Rename from tv. Use throughout. (enum_tv): New variable. Use in call to ldap_get_next_page_s.
2014-06-18 * ldap.cc (CYG_LDAP_TIMEOUT): Define as timeout value. Set to 30 secsCorinna Vinschen
for now. Use throughout. * uinfo.cc (colon_to_semicolon): New local function. (pwdgrp::fetch_account_from_windows): Convert all colons in AD gecos entry to commas.
2014-06-17Fix timestampCorinna Vinschen
2014-06-17 * libc/rexec.cc (cygwin_rexec): Make ahostbuf static to avoid returningCorinna Vinschen
an out-of-scope address.
2014-06-16 * fhandler_socket.cc (fhandler_socket::evaluate_events): CallCorinna Vinschen
WSASetLastError after setsockopt. Explain why.
2014-06-16 * grp.cc (getgrouplist): Fix setting ngroups to make sure to returnCorinna Vinschen
the right value.
2014-06-05* timer.cc (timer_tracker::cancel): Demote api_fatal to system_printf, printingChristopher Faylor
more details about odd failure condition.