CVSROOT: /cvs/src
Module name: src
Branch: cygwin-1_7_29-release-branchpoint
Changes by: [email protected] 2014-07-15 14:34:39
Modified files:
winsup/cygwin : ChangeLog dcrt0.cc dll_init.cc environ.cc
exceptions.cc fhandler_socket.cc localtime.cc
malloc_wrapper.cc mount.cc select.cc sigproc.cc
spawn.cc strace.cc syscalls.cc thread.cc
winsup/cygwin/include: pthread.h
winsup/cygwin/libc: minires.c
winsup/cygwin/regex: regcomp.c
Log message:
2014-07-14 Christopher Faylor <[email protected]>
* sigproc.cc (send_sig): Fix bad format in diagnostic output.
2014-07-14 Yaakov Selkowitz <[email protected]>
* 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.
2014-07-09 Corinna Vinschen <[email protected]>
* 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.
2014-07-09 Corinna Vinschen <[email protected]>
* exceptions.cc (exception::myfault_handle): Rephrase comment.
2014-07-09 Corinna Vinschen <[email protected]>
* exceptions.cc (exception::myfault_handle): Fix typo in comment.
2014-07-07 Corinna Vinschen <[email protected]>
* exceptions.cc (exception::myfault_handle): Disable handling
STATUS_STACK_OVERFLOW. Explain why.
2014-07-07 Corinna Vinschen <[email protected]>
* 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.
2014-07-07 Corinna Vinschen <[email protected]>
* 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.
2014-06-23 Corinna Vinschen <[email protected]>
* 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).
2014-06-23 Corinna Vinschen <[email protected]>
* select.cc (start_thread_socket): Delete si on early return in case of
an error (CID 59967).
2014-06-23 Corinna Vinschen <[email protected]>
* regex/regcomp.c (computematchjumps): Free local memory in case of
error (CID 59975).
2014-06-23 Corinna Vinschen <[email protected]>
* 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).
2014-06-23 Corinna Vinschen <[email protected]>
* malloc_wrapper.cc (mallinfo): Initialize m if external malloc is used,
too (CID 60120).
2014-06-23 Corinna Vinschen <[email protected]>
* localtime.cc (tzload): Fix leaking memory (CID 60001).
2014-06-23 Corinna Vinschen <[email protected]>
* environ.cc (regopt): Allocate small local buffer to avoid copying
twice. Fixes resource leak (CID 60012). Add comment.
2014-06-23 Corinna Vinschen <[email protected]>
* dll_init.cc (dll_list::alloc): Fix buffer overrun (CID 59940).
2014-06-23 Corinna Vinschen <[email protected]>
* dcrt0.cc (insert_file): Fix resource leaks (CIDs 59987, 59988).
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.6314.2.47&r2=1.6314.2.48
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.452.2.2&r2=1.452.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dll_init.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.108&r2=1.108.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/environ.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.209.2.1&r2=1.209.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/exceptions.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.432.2.7&r2=1.432.2.8
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.302.2.2&r2=1.302.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/localtime.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.30.2.1&r2=1.30.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/malloc_wrapper.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.46&r2=1.46.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/mount.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.103&r2=1.103.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/select.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.220&r2=1.220.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sigproc.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.420.2.3&r2=1.420.2.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.353.2.1&r2=1.353.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/strace.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.81&r2=1.81.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.659.2.2&r2=1.659.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.287&r2=1.287.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/pthread.h.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.39&r2=1.39.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/libc/minires.c.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.13&r2=1.13.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/regex/regcomp.c.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.16&r2=1.16.2.1