Commit Graph

  • 88fa851784 * dir.cc (rmdir): Don't skip deleting fh in the ENOTEMPTY case. Corinna Vinschen 2014-08-21 08:46:35 +0000
  • 854e058b56 * tls_pbuf.h (tmp_pathbuf::tmp_pathbuf): Convert to inline method. (tmp_pathbuf::~tmp_pathbuf): Ditto. * tls_pbuf.cc (tmp_pathbuf::tmp_pathbuf): Remove here. (tmp_pathbuf::~tmp_pathbuf): Ditto. Corinna Vinschen 2014-08-20 19:44:09 +0000
  • 905a851912 * dir.cc (dirfd): Per POSIX, return EINVAL on invalid directory stream. (telldir): Per POSIX, return -1 and set errno to EBADF, rather than just returning 0, on invalid directory stream. * signal.cc (sigwaitinfo): Return -1, not EFAULT, when SEGV was catched. Corinna Vinschen 2014-08-19 19:25:54 +0000
  • 59c3d5a1a4 * libc/machine/aarch64/memchr.S: Add check for zero-sized buffer. Richard Earnshaw 2014-08-19 10:44:44 +0000
  • de1c312566 * fhandler.h (enum conn_state): Add "connect_credxchg" state. (class fhandler_socket): Grant another bit to connect_state flag. * fhandler_socket.cc (fhandler_socket::af_local_connect): Rearrange variable definition. Set connect_state to connect_credxchg. (fhandler_socket::af_local_accept): Ditto. (fhandler_socket::recv_internal): Accept connect_credxchg on connection oriented AF_LOCAL sockets as well to allow the credential exchange. Extend comment to explain. Corinna Vinschen 2014-08-19 09:47:12 +0000
  • 67986ac4a4 * autoload.cc: Replace WNet[...]A with WNet[...]W imports. * dcrt0.cc (initial_env): Drop strlwr calls. Call strcasestr instead. * fhandler_netdrive.cc: Throughout, convert to calling WNet UNICODE functions. Use tmp_pathbuf rather than alloca. Replace call to strlwr with call to RtlDowncaseUnicodeString. Corinna Vinschen 2014-08-19 08:41:40 +0000
  • be2b7c5684 * fhandler.h (fhandler_serial::is_tty): Reinstantiate. Corinna Vinschen 2014-08-19 08:31:10 +0000
  • bd094739f3 * miscfuncs.cc (strlwr): Rename from cygwin_strlwr. Drop __stdcall decoration. (strupr): Rename from cygwin_strupr. Drop __stdcall decoration. * string.h (strlwr): Remove override macro. Simply declare. (strupr): Ditto. Corinna Vinschen 2014-08-18 18:24:06 +0000
  • d5fd6aeb6d * libc/include/sys/signal.h: Declare sigaltstack for RTEMS only. Corinna Vinschen 2014-08-18 18:18:10 +0000
  • 6811cfb0b9 2014-08-18 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2014-08-18 16:43:42 +0000
  • 81c17949f0 2014-08-18 Joel Sherrill <joel.sherrill@oarcorp.com> Joel Sherrill 2014-08-18 14:18:10 +0000
  • 6042d39486 2014-08-18 Joel Sherrill <joel.sherrill@oarcorp.com> Joel Sherrill 2014-08-18 14:03:35 +0000
  • 697c710dc3 *** empty log message *** Corinna Vinschen 2014-08-18 11:37:27 +0000
  • 1091d4404e * dtable.cc (dtable::init_std_file_from_handle): Mention that console handles are kernel objects since Windows 8. * fhandler.h (enum conn_state): Add "listener" state. (class fhandler_socket): Drop listener status flag. (fhandler_socket::lseek): Return -1 and errno ESPIPE. (fhandler_serial::lseek): Ditto. * fhandler_socket.cc (fhandler_socket::listen): Set connect_state to listener. Add comment. (fhandler_socket::accept4): Explicitely check if the socket is listening and fail with EINVAL, if not. Explain why we have to do that. (fhandler_socket::recv_internal): Explicitely check if the socket is connected if it's a stream socket. Explain why we have to do that. (fhandler_socket::getpeereid): Drop now redundant test. Corinna Vinschen 2014-08-18 11:09:56 +0000
  • 7e46c0af62 * configure.ac: Convert to new AC_INIT style. * configure: Regenerate. Corinna Vinschen 2014-08-15 21:24:35 +0000
  • 4dd1ecc3d4 * winsup.h (_GNU_SOURCE): Define. Explain why. * configure.ac: Convert to new AC_INIT style. * configure: Regenerate. Corinna Vinschen 2014-08-15 21:21:59 +0000
  • fc15ff2f0d * cygerrno.h (seterrno): Define as (always) inline function. * errno.cc (seterrno): Remove. Corinna Vinschen 2014-08-15 13:50:53 +0000
  • 1b580c732a Add missing file from last patch Corinna Vinschen 2014-08-15 10:52:38 +0000
  • d1ebeeab58 * cygwin-api.xml: Include misc-funcs.xml. * misc-funcs.xml: New file. Corinna Vinschen 2014-08-14 20:47:14 +0000
  • d9e9de3f38 * dll_init.sgml: Remove. * dtable.sgml: Move into ../doc/misc-funcs.xml. * external.sgml: Ditto. * stackdump.sgml: Ditto. Corinna Vinschen 2014-08-14 20:46:28 +0000
  • 9f2842e92c * cygwin-api.xml: Move chapter tags from path.xml back here. Include logon-funcs.xml. * logon-funcs.xml: Moved from ../cygwin here and converted to XML. * path.xml: Drop chapter tags. Create subsections. Corinna Vinschen 2014-08-14 20:15:49 +0000
  • 308ea1e73c * security.sgml: Move to ../doc dir and rename to logon-funcs.xml. Corinna Vinschen 2014-08-14 20:12:50 +0000
  • 6b31215816 * Makefile.in: Throughout use parenthesis instead of braces where appropriate. (DBXDIRS): Remove. (XSLTPROC): Define for symmetry. Use throughout. (clean): Drop removing cygwin-api.xml and doctool.*. (cygwin-api.xml): Drop rule. (doctool): Drop rule. (Makefile.dep): Add dependency to cygwin-api.xml. * cygwin-api.in.xml: Rename to cygwin-api.xml. Convert includes to XML XInclude style. * doctool.c: Remove. * doctool.txt: Remove. * faq-programming.xml: Drop reference to local utils.xml file. * path.xml: Moved from ../cygwin and converted to XML. * posix.xml: Ditto. * using.xml: Drop relative path from utils.xml include. * utils.xml: Moved from ../utils. Corinna Vinschen 2014-08-14 19:44:29 +0000
  • fbf2e44799 * utils.xml: Move to ../doc. Corinna Vinschen 2014-08-14 19:33:57 +0000
  • ec50fa3597 * path.sgml: Move to ../doc dir and rename to path.xml. * posix.sgml: Move to ../doc dir and rename to posix.xml. Corinna Vinschen 2014-08-14 19:31:33 +0000
  • f509713291 * dlmalloc.c: Remove unused file. * dlmalloc.h: Ditto. * malloc.cc: Update to Doug Lea's malloc version 2.8.6. Corinna Vinschen 2014-08-14 17:36:24 +0000
  • 433de33ec2 * arm/elf-nano.specs: New file. * arm/elf-rdimon.specs: Support nano.specs. * arm/Makefile.in: Support nano.specs. * libnosys/nosys.specs: Support nano.specs. Corinna Vinschen 2014-08-14 15:00:33 +0000
  • f703e6aa08 * libc/stdio/findfp.c (std): Don't inline when optimizing for code size. Corinna Vinschen 2014-08-14 08:33:00 +0000
  • 12a8027532 * new-features.xml: (ov-new1.7.33): Add new section. (ov-new1.7.32): Reflect intermediate 1.7.32 release. Corinna Vinschen 2014-08-13 17:44:07 +0000
  • 0d45f7ee54 * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 33. (CYGWIN_VERSION_API_MINOR): Bump to reflect intermediate 1.7.32 release. Corinna Vinschen 2014-08-13 17:38:47 +0000
  • 5b4e301b36 * cpuid.h: Add missing copyright header. Fix formatting. Use uint32_t instead of unsigned throughout. Change functions to static inline and always inline. (cpuid): Add parameter to set ecx, allowing to request extended CPUID info. * fhandler_proc.cc (format_proc_cpuinfo): Use uint32_t instead of unsigned throughout. Add fake decimal places to MHz info. Handle more feature flags. * fhandler_random.cc (fhandler_dev_random::write): Allow up to 4K input to add entropy. * syscalls.cc: Drop including cpuid.h. Corinna Vinschen 2014-08-11 12:03:18 +0000
  • f9c956a1ff * common.din (__cxa_finalize): Export. * dcrt0.cc (cygwin_atexit): Use d->handle with __cxa_atexit. * dll_init.cc (dll_list::detach): Use d->handle with __cxa_finalize. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Use 274 for __cxa_finalize as well. Yaakov Selkowitz 2014-08-07 16:25:06 +0000
  • 85a7b23a5c * Makefile.common (COMPILE.cc): Add -fno-use-cxa-atexit. Yaakov Selkowitz 2014-08-07 16:19:09 +0000
  • 5528975705 * passwd.c (usage): Rename DAYS to MINDAYS and MAXDAYS. * utils.xml (passwd): Ditto. Corinna Vinschen 2014-08-06 19:24:57 +0000
  • 89d35a4833 * ntsec.xml (ntsec-mapping): Drop plus-prepended builtin accounts as default setting. Add short explanation in db_prefix: always mode. Fix a type. Drop a paragraph with redundant information. Corinna Vinschen 2014-08-06 14:46:03 +0000
  • 0b20d00bf3 * include/sys/file.h: Add extern "C". Corinna Vinschen 2014-08-06 08:46:12 +0000
  • a4a96eb436 * libc/include/math.h: Also define M_PI etc. if _XOPEN_SOURCE is defined appropriately. Jon TURNEY 2014-08-04 21:32:37 +0000
  • 79131d442e * common.din (__cxa_atexit): Export. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump to 274. Corinna Vinschen 2014-08-04 16:52:04 +0000
  • 64665f459e * uinfo.cc (pwdgrp::fetch_account_from_windows): Drop "plus_prepended" 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. Corinna Vinschen 2014-08-04 15:50:42 +0000
  • c0a211cc3e * faq-what.xml (faq.what.who): Remove mention of retired setup maintainers. Add link to cygwin-pkg-maint. Yaakov Selkowitz 2014-08-03 19:53:24 +0000
  • 9067d19b9a headers: properly decorate attributes Eric Blake 2014-08-01 15:48:37 +0000
  • ada456dcfe headers: properly decorate attributes Eric Blake 2014-08-01 15:44:51 +0000
  • 02206cd3e4 * faq-what.xml (faq.what.who): CGF has retired. Yaakov Selkowitz 2014-08-01 01:29:46 +0000
  • 1721a38efd * uinfo.cc (pwdgrp::fetch_account_from_windows): Fix comment. Corinna Vinschen 2014-07-30 14:23:53 +0000
  • dea309cf1f * ntsec.xml: Small improvments. Corinna Vinschen 2014-07-30 12:00:24 +0000
  • 0e76ca5fd9 * new-features.xml: (ov-new1.7): Change section title. Corinna Vinschen 2014-07-30 11:32:41 +0000
  • 232f23e038 * new-features.xml: (ov-new1.7.1): Add new section. Move old 1.7 sections into section level 3. Corinna Vinschen 2014-07-30 11:28:58 +0000
  • f092b3ddf3 * cygwin.xsl: Allow 3 section levels in TOC. * new-features.xml: (ov-new1.7.32): Add new section. * ntsec.xml: Rename top-level section to reflect extension of topics. Remove old /etc/passwd, /etc/group considerations. Add new sections explaining Windows to POSIX account mapping. Make setuid sections third level sections. * pathnames.xml: Note new method of account mapping for fstab.d/$USER. * faq-setup.xml: Rework references to /etc/passwd and /etc/group to reflect changes to account handling. * faq-using.xml: Ditto. Corinna Vinschen 2014-07-30 11:07:34 +0000
  • db0378d50f * libc/string/strerror.c: Fix documentation so makedoc doesn't stumble over a sole EAGAIN. Corinna Vinschen 2014-07-30 08:02:12 +0000
  • 03ad777ab0 Add missing utils.xml Corinna Vinschen 2014-07-29 13:31:33 +0000
  • c72a0d361d * mkgroup.c (usage): Move info message that this /etc/group isn't really required anymore more to the top of the usage output. * mkpasswd.c (usage): Ditto for /etc/passwd. Drop old text from output. Corinna Vinschen 2014-07-29 13:29:54 +0000
  • 898e26c82f * cygheap.h (class cygheap_domain_info): Remove lowest_tdo_posix_offset. * 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. Corinna Vinschen 2014-07-29 08:53:13 +0000
  • ca6a65aa64 Fix typo in previous commit Anthony Green 2014-07-28 05:23:30 +0000
  • 0a0f33e501 Add moxiebox support. Anthony Green 2014-07-27 14:37:10 +0000
  • c999d29a7b * fhandler_socket.cc (fhandler_socket::send_internal): Fix value of out_len when tweaking the last buffer so out_len is correct in a subsequent if expression. Corinna Vinschen 2014-07-24 13:21:02 +0000
  • e4994e769e 2014-07-22 Joel Sherrill <joel.sherrill@oarcorp.com> Joel Sherrill 2014-07-22 19:30:00 +0000
  • 3be2cd0405 * thread.cc (pthread::init_mainthread): Initialize thread mutex to type PTHREAD_MUTEX_RECURSIVE, just as for any other thread. Corinna Vinschen 2014-07-21 16:32:09 +0000
  • 7cc124b0e5 bump to 32 Corinna Vinschen 2014-07-21 11:08:07 +0000
  • 9c96187172 * uinfo.cc: Fix typo in comment. Corinna Vinschen 2014-07-21 09:55:52 +0000
  • 11e2c05c9e * new-features.xml: (ov-new1.7.31): Add new section. Corinna Vinschen 2014-07-21 09:47:05 +0000
  • 1a1867717b *** empty log message *** Corinna Vinschen 2014-07-18 12:28:00 +0000
  • cdd7651698 Fix missing generated files Corinna Vinschen 2014-07-17 18:43:55 +0000
  • 81fd6210c0 * configure.host: Remove or16 and or32 targets and add or1k. * libc/include/machine/ieeefp.h: Replace or32 with or1k. * libc/machine/configure.in: Add or1k subdirectory. * libc/machine/or1k/configure.in: New file. * libc/machine/or1k/Makefile.am: New file. * libc/machine/or1k/setjmp.S: New file. Corinna Vinschen 2014-07-17 18:43:05 +0000
  • f162f4205d . Christopher Faylor 2014-07-16 14:30:56 +0000
  • 844557c9ed * arm/elf-aprofile-validation.specs (*link): Make text segment 64k-aligned. * arm/elf-aprofile-ve.specs (*link): Likewise. Corinna Vinschen 2014-07-16 11:53:34 +0000
  • 4d6c78998b *** empty log message *** Corinna Vinschen 2014-07-16 10:29:28 +0000
  • 2f84de1ff5 * thread.cc (pthread::create): Handle stackaddr as upper bound address. 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. Corinna Vinschen 2014-07-16 10:21:18 +0000
  • ee5055296a *** empty log message *** Corinna Vinschen 2014-07-16 10:15:25 +0000
  • feab3623c0 Fix typo Corinna Vinschen 2014-07-16 08:30:20 +0000
  • 6f05b32767 * sigproc.cc (sigproc_init): Set aside more buffer space for signal pipes. (sig_send): Retry WriteFiles which fail when there is no error but packbytes have not been sent. Christopher Faylor 2014-07-15 22:11:23 +0000
  • 0db2f28fd6 * sigproc.cc (send_sig): Don't report an error if WriteFile succeeds. Christopher Faylor 2014-07-15 14:57:30 +0000
  • 50e4a3cdff Fix typo Corinna Vinschen 2014-07-15 08:45:10 +0000
  • b6e90a06a1 * sigproc.cc (send_sig): Fix bad format in diagnostic output. Christopher Faylor 2014-07-14 18:16:16 +0000
  • e2b585c12c * libc/include/sys/errno.h: Fix comments. * libc/string/strerror.c: Fix documentation. (_strerror_r): Handle ENETRESET, EILSEQ, ENODATA, ECONNRESET, EADDRNOTAVAIL, EOVERFLOW. Fix strings for EMFILE and EDOM. Corinna Vinschen 2014-07-14 13:40:17 +0000
  • 6aafa0bfc2 * uinfo.cc (cygheap_domain_info::init): Correctly set 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. Corinna Vinschen 2014-07-14 13:33:20 +0000
  • 4866e86cb1 * thread.cc (pthread_mutex::pthread_mutex): Change default type 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. Corinna Vinschen 2014-07-14 09:42:15 +0000
  • 87375c75b3 [aarch64] Add memchr. Richard Earnshaw 2014-07-11 09:10:50 +0000
  • 96ed53c10f * thread.cc (pthread::create): Use PTHREAD_DEFAULT_STACKSIZE stacksize 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. Corinna Vinschen 2014-07-09 12:06:08 +0000
  • 3dab1e488a * exceptions.cc (exception::myfault_handle): Rephrase comment. Corinna Vinschen 2014-07-09 10:41:11 +0000
  • 64cfc4ac5a * exceptions.cc (exception::myfault_handle): Fix typo in comment. Corinna Vinschen 2014-07-09 10:21:05 +0000
  • e1d158a04f * exceptions.cc (exception::myfault_handle): Disable handling STATUS_STACK_OVERFLOW. Explain why. Corinna Vinschen 2014-07-07 19:58:16 +0000
  • 7bd00a0bef 2014-07-07 Pavel Pisa <pisa@cmp.felk.cvut.cz> Richard Earnshaw <rearnsha@arm.com> Richard Earnshaw 2014-07-07 13:58:35 +0000
  • 2ccbe5129d * configure.in (--enable-newlib-nano-formatted-io): Set to "no" by default. * configure: Regenerated. Corinna Vinschen 2014-07-07 13:15:55 +0000
  • f135cbdd45 * fhandler_socket.cc (fhandler_socket::send_internal): Improve loop to 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. Corinna Vinschen 2014-07-07 12:57:03 +0000
  • 72506dd846 * passwd.cc (pg_ent::enumerate_ad): Revert to simply skipping a domain if opening the connection to the domain fails. Corinna Vinschen 2014-07-07 10:22:51 +0000
  • f0c23915ec * libc/minires.c (minires_dprintf): Change "Minires" to "Resolv" to differ from external minres lib. (res_nquerydomain): Fix off-by-one in domain concatenation. Add debug output. Corinna Vinschen 2014-07-07 08:40:31 +0000
  • e61375e471 * configure.ac: Don't accept isl 0.10. * configure: Regenerate. Rainer Orth 2014-07-05 21:09:07 +0000
  • d34336767e 2014-07-04 Bin Cheng <bin.cheng@arm.com> Jeff Johnston 2014-07-04 17:21:45 +0000
  • fcef025b94 * fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Add debug output. Corinna Vinschen 2014-07-03 16:48:21 +0000
  • 28fad4ee1b * legal.xml: Fix copyright. Corinna Vinschen 2014-06-26 13:14:50 +0000
  • 7e10b64973 * errno.cc (errmap): Fix order of SERVICE_REQUEST_TIMEOUT. Corinna Vinschen 2014-06-25 10:01:58 +0000
  • 9b9fb0042f * errno.cc (errmap): Handle Windows error codes ERROR_CANCELLED, 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. Corinna Vinschen 2014-06-25 09:59:38 +0000
  • 37b1464588 * ldap.cc (cyg_ldap::map_ldaperr_to_errno): Explicitely map LDAP_TIMEOUT to EIO. Corinna Vinschen 2014-06-25 09:28:12 +0000
  • e35b92c202 * autoload.cc (ldap_search_sW): Replace ldap_search_stW. (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. Corinna Vinschen 2014-06-25 09:10:50 +0000
  • 4491d189ae * libc/argz/envz_merge.c (envz_merge): Fix memory leak (Cygwin Coverity Scan CID 60023). * libc/ctype/iswalpha.c (iswalpha): Add bounds check to avoid out-of-bounds read from utf8 tables (CID 59949). * libc/locale/ldpart.c (__part_load_locale): Add 1 byte to size of lbuf. Write NUL into the last byte to accommodate split_lines (CID 60047). Corinna Vinschen 2014-06-23 20:21:54 +0000
  • 8431e478d2 * spawn.cc (find_exec): Initialize err (CID 60111). * 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). Corinna Vinschen 2014-06-23 19:05:15 +0000
  • cf06a0b18c * bsd_helper.cc (ipcexit_creat_hookthread): Delete shs in another error case to make Coverity really happy (CID 59993). Corinna Vinschen 2014-06-23 15:13:12 +0000
  • f739fd3ef0 * select.cc (start_thread_socket): Delete si on early return in case of an error (CID 59967). Corinna Vinschen 2014-06-23 14:56:45 +0000
  • 565e3643dd * regex/regcomp.c (computematchjumps): Free local memory in case of error (CID 59975). Corinna Vinschen 2014-06-23 14:33:55 +0000
  • f83cc3b7e9 * mount.cc (fs_info::update): Define dir in the outermost scope to avoid accessing out-of-scope value (CID 60027). Always initialize attr to upath (CID 60113). Corinna Vinschen 2014-06-23 14:05:16 +0000