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
2013-12-23merge from gccDJ Delorie
2013-12-22* strace.cc (strace::vsprntf): Fix potential (if unlikely) use of uninitializedChristopher Faylor
variable.
2013-12-20 * configure.host (newlib_cflags): Use -Os, -ffunction-sections andNick Clifton
-fdata-sections for RL78.
2013-12-19 * libc/stdio/vfwscanf.c (__SVFWSCANF_R): Fix fetching decimal_point inCorinna Vinschen
!_MB_CAPABLE as well as in !__HAVE_LOCALE_INFO_EXTENDED__ case.
2013-12-19Fix ChangeLog entryCorinna Vinschen
2013-12-19*** empty log message ***Corinna Vinschen
2013-12-18 * vfscanf.c (BUF): Change definition to take multibyte decimal pointCorinna Vinschen
into account. (__SVFSCANF_R): Handle radix char language-dependent per POSIX. (__SVFWSCANF_R): Ditto.
2013-12-18.Christopher Faylor
2013-12-18* dcrt0.cc (dll_crt0_1): Remove NtSetTimerResolution.Christopher Faylor
* pinfo.cc (pinfo::init): Increase wait interval when waiting for procinfo to stabilize.
2013-12-18* autoload.cc (timeBeginPeriod): Delete.Christopher Faylor
* dcrt0.cc (dll_crt0_1): Use NtSetTimerResolution rather than timeBeginPeriod.
2013-12-18* autoload.cc (timeBeginPeriod): Autoload.Christopher Faylor
* dcrt0.cc (dll_crt0_1): Use timeBeginPeriod to set default resolution to 1 ms. * pinfo.cc (pinfo::thisproc): Set ppid for redirected _pinfo blocks too. (pinfo::init): Avoid using VirtualQuery. Just rely on the assumption that procinfo will be populated. * pinfo.h (_pinfo::ppid): Move into redirected block.
2013-12-18* external.cc (fillout_pinfo): Remove nonsensical loop.Christopher Faylor
* fork.cc (frok::parent): When initializing pinfo for child new PID_NEW flag + actual defined constant rather than raw number. Don't set start_time here. * pinfo.cc (pinfo::thisproc): Use PID_NEW when initializing pinfo. Avoid checking h for NULL multiple times. Don't set start_time here. (pinfo_init): Aways set ppid last. Tweak strace output. (pinfo::init): Handle new PID_NEW flag. Wait for shared memory to contain useful information. Set start_time if PID_NEW. (_onreturn:h): Define as HANDLE rather than HANDLE *. (_onreturn::~onreturn): Accommodate h definition change. (_onreturn::no_close_handle): Rename from no_close_p_handle. Take a pinfo arg and set hProcess to h before zeroing. (winpids::add): Don't open a handle to our own process. Change logic associated with when a handle gets closed. Accommodate no_close_handle changes. (winpids::enum_processes): Simplify process enumeration loop. (winpids::set): Eliminate ill-considered malloc locking. * sigproc.cc (proc_subproc): Always set ppid last.
2013-12-18* sigproc.cc (sig_send): Set PIPE_NOWAIT for pipes which are not us.Christopher Faylor
2013-12-17* fhandler.h (fhandler_pty_master::~fhandler_pty_master): Delete.Christopher Faylor
* fhandler_tty.cc (fhandler_pty_master::~fhandler_pty_master): Ditto.
2013-12-11 * syscalls.cc (NT_TRANSACTIONAL_ERROR): Define.Corinna Vinschen
(stop_transaction): Take "trans" HANDLE by reference and set it to NULL after closing it. (unlink_nt): If NtOpenFile fails due to a transactional error, stop transaction and retry NtOpenFile. Simplify check for having to call stop_transaction. (rename): If NtOpenFile fails due to a transactional error, stop transaction and retry NtOpenFile in both affected cases. Simplify check for having to call stop_transaction and add comment from unlink_nt.
2013-12-11 * mount.cc (fs_info::update): Fix formatting.Corinna Vinschen
2013-12-11 * fhandler.h (fhandler_dev_clipboard): Add private memberCorinna Vinschen
cygnativeformat. Declare private method set_clipboard. * fhandler_clipboard.cc (cygnativeformat): Convert static variable to fhandler_dev_clipboard member. (fhandler_dev_clipboard::set_clipboard): Convert from static function to fhandler_dev_clipboard method.
2013-12-102013-12-10 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* acconfig.h: Add _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL. * newlib.hin: Ditto. * configure: Regenerate. * configure.in: Add setting of _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL. * libc/string/local.h: Add check for _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL and set __inhibit_loop_to_libcall macro appropriately. * libc/string/memmove.c: Use __inhibit_loop_to_libcall macro in function declaration. * libc/string/memset.c: Ditto.
2013-12-10 * libc/sys/rtems/include/limits.h: Update page size to matchCorinna Vinschen
libc/sys/rtems/machine/param.h.
2013-12-10signal hangChristopher Faylor
2013-12-10* globals.cc (hntdll): Define/declare.Christopher Faylor
* exceptions.cc (inside_kernel): Don't call GetModuleFileName if we know we're in ntdll. * sigproc.cc (wait_sig): Initialize hntdll.
2013-12-09 * include/cygwin/stdlib.h (initstate, random, setstate, srandom):Corinna Vinschen
Harden _XOPEN_SOURCE guard against applications defining _XOPEN_SOURCE with empty value.
2013-12-08 * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 28.Corinna Vinschen
2013-12-08*** empty log message ***Corinna Vinschen
2013-12-07 * new-features.xml (ov-new1.7.26): Add new section.Corinna Vinschen
2013-12-07 * path.cc (symlink_native): Workaround Windows 8.1 bug: Drop long pathCorinna Vinschen
prefix from symlink target path. Add comment to explain why.
2013-12-06* syscalls.cc (dup): Use cygheap_fdnew properly.Christopher Faylor
2013-12-05* cygheap.h (cygheap_fdnew): Avoid setting errno directly since it will haveChristopher Faylor
been set by a previous function. * dtable.h (dtable::extend): Accept second size_t argument. * dtable.cc (dtable::extend): Accept second "min" argument which allows checking for OPEN_MAX_MAX boundary conditions. (dtable_init): Accommodate second argument to dtable::extend. (dtable::find_unused_handle): Ditto. * syscalls.cc (setdtablesize): Ditto. (dup): Return any error passed by cygheap_fdnew() directly. (getdtablesize): Just return dtable size directly.
2013-12-052013-12-04 Steve Ellcey <sellcey@mips.com>Steve Ellcey
* mips/cfe_api.h: Include stdint.h.
2013-12-04* dtable.cc (dtable::find_unused_handle): When extending, always make sure thatChristopher Faylor
there is a NOFILE_INCR chunk following the free fd.
2013-12-04merge from gccDJ Delorie
2013-12-04* configure.ac: Back out stupid change.Christopher Faylor
* configure: Regenerate.
2013-12-04* select.cc (select): Add workaround for, as yet undebugged, pathological case.Christopher Faylor
2013-12-03* configure.ac: Don't require 64-bit compiler for 32-bit builds.Christopher Faylor
* configure: Regenerate.
2013-12-03 * libc/sys/rtems/sys/cpuset.h: Use __inline instead of inline.Corinna Vinschen
2013-12-03 * libc/include/machine/_default_types.h: Move extern "C" afterCorinna Vinschen
header includes. Include <sys/features.h> for __GNUC_PREREQ__(). (__u?int.*_t): Define via GCC provided __U?INT.*_TYPE__ if available. (__intptr_t): Define. (__uintptr_t): Likewise. * libc/include/stdint.h: Include <machine/_default_types.h> instead of <_ansi.h>. (u?int.*_t): Define via __u?int.*_t provided by <machine/_default_types.h>. (u?int_fast.*_t): Define via GCC provided __U?INT_FAST.*_TYPE__ if available. (U?INT.*(MIN|MAX)): Define via GCC provided __U?INT.*(MIN|MAX)__ if available. (U?INT.*_C): Define via GCC provided __U?INT.*_C if available. * libc/include/sys/cdefs.h: Use <machine/_default_types.h> instead of <stdint.h>. * libc/sys/rtems/sys/cpuset.h: Likewise. * libc/sys/rtems/machine/_types.h: Include <stdint.h> for FreeBSD compatibility.
2013-12-01* dtable.cc (dtable::find_unused_handle): Break out of the right loop.Christopher Faylor
2013-12-01* dtable.cc (dtable::find_unused_handle): Fix off-by-one error. Always exitChristopher Faylor
through the bottom. (cygwin_attach_handle_to_fd): Make sure that fd tab is locked for the duration of this function. * dtable.h (dtable::lock): Make public. (dtable::unlock): Ditto. (dtable): Remove friends.
2013-12-01Fix ChangeLog entryCorinna Vinschen
2013-12-01 * dtable.cc (dtable::extend): Change local variable new_size to size_tCorinna Vinschen
as well. * thread.cc: Fix comment.
2013-12-01.Christopher Faylor
2013-12-01* dtable.h (dtable::first_fd_for_open): Change declaration to size_t.Christopher Faylor
(dtable::extend): Change parameter to size_t. (dtable::find_unused_handle): Ditto. * dtable.cc: Remove now-unused header. (dtable::extend): Remove pointless test. Change parameter to size_t. (dtable::find_unused_handle): Rework to avoid MAX calculation in extend() call. Change parameter to size_t.
2013-12-01* dtable.cc (build_fh_pc): When creating an archetype, use native name ratherChristopher Faylor
than unix name if name doesn't exist.
2013-11-302013-11-29 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill
* libc/include/pthread.h (pthread_cleanup_push): Delete prototype and add macro of the same name. (pthread_cleanup_pop): Likewise. (_pthread_cleanup_context): Define. (_pthread_cleanup_push): Likewise. (_pthread_cleanup_pop): Likewise. (pthread_cleanup_push_defer_np): Define if _GNU_SOURCE is defined. (pthread_cleanup_pop_restore_np): Likewise. (_pthread_cleanup_push_defer): Likewise. (_pthread_cleanup_pop_restore): Likewise.
2013-11-302013-11-29 Jennifer Averett <jennifer.averett@oarcorp.com>Joel Sherrill
* libc/include/pthread.h (pthread_attr_setaffinity_np): Add pthread SMP affinity attributes to methods to RTEMS for compatibility with GNU/Linux. (pthread_attr_getaffinity_np): Likewise. (pthread_setaffinity_np): Likewise. (pthread_getaffinity_np): Likewise. (pthread_getattr_np): Add for GNU/Linux compatibility. * libc/include/sys/types.h: Add cpuset to pthread_attr_t for RTEMS. * libc/include/sys/cdefs.h (_GNU_SOURCE): Defining _GNU_SOURCE turns on all _XXX_VISBLE feature flags.
2013-11-29* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 27.Christopher Faylor
2013-11-29 * include/cygwin/stdlib.h(initstate, random, setstate, srandom) :Jon TURNEY
Prototype if not __STRICT_ANSI__ or _XOPEN_SOURCE is defined appropriately.
2013-11-29 * new-features.xml (ov-new1.7.26): Fix section ID and title. AddCorinna Vinschen
posix_spawn item.
2013-11-28 * include/glob.h: Fix invalid use of 'restrict' error.Corinna Vinschen
2013-11-272013-11-27 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill
* libc/sys/rtems/cpusetalloc.c: New file. * libc/sys/rtems/cpusetfree.c: Likewise. * libc/sys/rtems/Makefile.am (lib_a_SOURCES): Add new files. * libc/sys/rtems/Makefile.in: Regenerate. * libc/sys/rtems/sys/cpuset.h: Delete #if 0 block. Include <stddef.h> for size_t. (_NCPUBITS): Avoid NBBY and assume 8 bits per char. (__cpuset_mask): Use int instead of size_t parameter for Linux compatibility. (__cpuset_index): Likewise. (__cpuset_alloc): Declare. (__cpuset_free): Likewise. (CPU_ALLOC_SIZE): Likewise. (CPU_ALLOC): Define. (CPU_FREE): Likewise. (CPU_ZERO_S): Likewise. (CPU_FILL_S): Likewise. (CPU_SET_S): Likewise. (CPU_CLR_S): Likewise. (CPU_ISSET_S): Likewise. (CPU_COUNT_S): Likewise. (CPU_AND_S): Likewise. (CPU_OR_S): Likewise. (CPU_XOR_S): Likewise. (CPU_NAND_S): Likewise. (CPU_EQUAL_S): Likewise. (CPU_ZERO): Use CPU_ZERO_S(). (CPU_FILL): Use CPU_FILL_S(). (CPU_SET): Use CPU_SET_S(). (CPU_CLR): Use CPU_CLR_S(). (CPU_ISSET): Use CPU_ISSET_S(). (CPU_COUNT): Use CPU_COUNT_S(). (CPU_AND): Use CPU_AND_S(). (CPU_OR): Use CPU_OR_S(). (CPU_XOR): Use CPU_XOR_S(). (CPU_NAND): Use CPU_NAND_S(). (CPU_EQUAL): Use CPU_EQUAL_S(). (CPU_CMP): Delete superfluous const qualifier. (CPU_EMPTY): Likewise.