summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * faq-programming.xml: Update packages needed to build Cygwin.Corinna Vinschen2014-01-072-4/+16
|
* 2014-01-06 Sebastian Huber <sebastian.huber@embedded-brains.de>Jeff Johnston2014-01-065-10/+50
| | | | | | | | | | | | | | | | | | | | | | | | * libc/include/sys/_default_fcntl.h (AT_FDCWD): Define according to POSIX. (AT_EACCESS): Likewise. (AT_SYMLINK_NOFOLLOW): Likewise. (AT_SYMLINK_FOLLOW): Likewise. (AT_REMOVEDIR): Likewise. (openat): Declare according to POSIX. * libc/include/stdio.h (renameat): Likewise. * libc/include/sys/stat.h (fchmodat): Likewise. (fstatat): Likewise. (mkdirat): Likewise. (mkfifoat): Likewise. (mknodat): Likewise. (utimensat): Likewise. (futimens): Likewise. * libc/include/sys/unistd.h (faccessat): Likewise. (fchownat): Likewise. (linkat): Likewise. (readlinkat): Likewise. (symlinkat): Likewise. (unlinkat): Likewise.
* 2014-01-06 Mike Frysinger <vapier@gentoo.org>Jeff Johnston2014-01-062-11/+19
| | | | | | | | | | * libc/search/hash.c (hash_delete): Change __uint32_t to u_int. (hash_get): Likewise. (hash_put): Likewise. (hash_seq): Likewise. (hash_sync): Likewise. Also fix former ChangeLog entry to be 2014.
* 2013-01-06 Mike Frysinger <vapier@gentoo.org>Jeff Johnston2014-01-062-0/+5
| | | | * libc/ctype/jp2uc.c: Include string.h.
* RecreateChristopher Faylor2014-01-051-4/+3
|
* * fhandler.h: Update copyright.Christopher Faylor2014-01-045-2185/+2214
| | | | | | | | | | | | | | | | | | | (cltype): New enum. (dev_console::console_attrs): Define struct name. (dev_console::console_attrs::set_cl_x): New function. (dev_console::console_attrs::set_cl_y): New function. (fhandler_console::clear_screen): Redefine input params. * fhandler_console.cc: Update copyright. Throughout, reflect change in arguments to fhandler_console::clear_screeen. (fhandler_console::mouse_aware): Simplify logic slightly. (fhandler_console::scroll_screen): Remove hopefully obsolete win95 code. (dev_console::console_attrs::set_cl_x): New function. (dev_console::console_attrs::set_cl_y): New function. (fhandler_console::clear_screen): Redefine input params. Calculate position based on enum value. (region_split): Change arguments. Simplify. (ReadConsoleOutputWrapper): Remove coord argument since we now always use 0, 0. Send extra arguments to region_split.
* .Christopher Faylor2013-12-311-0/+4
|
* * fhandler_console.cc (region_split): New function.Christopher Faylor2013-12-312-11/+93
| | | | | | | (delta): Ditto. (ReadConsoleOutputWrapper): Ditto. (fhandler_console::char_command): Use ReadConsoleOutputWrapper to avoid OOM condition from ReadConsoleOutputW. Add more debugging.
* 2013-12-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2013-12-23103-1385/+1619
| | | | | | | | | | | | | | | | | | * NEWS: Update with 2.1.0 info. * README: Ditto. * acinclude.m4: Change version number to 2.1.0. * aclocal.m4: Regenerated. * configure: Ditto. * Makefile.in: Regenerated. * doc/aclocal.m4: Ditto. * doc/configure: Ditto. * libc/*/aclocal.m4: Ditto. * libc/*/configure: Ditto. * libc/libc.texinfo: Ditto. * libm/*/aclocal.m4: Ditto. * libm/*/configure: Ditto. * libm/libm.texinfo: Ditto. * libc/sys/linux/shared.ld: Add VERS_2.1
* 2013-12-22 JF Bastien <jfb@chromium.org>Jeff Johnston2013-12-234-6/+33
| | | | | | | | | | | * libc/include/limits.h: Define LLONG_MIN, LLONG_MAX and ULLONG_MAX for C++11 too. * libc/include/stdlib.h: Define struct lldiv_t, _Exit, atoll, llabs and lldiv for C99 and C++11. Move wcstold to wchar.h. * libc/include/wchar.h: Define WCHAR_MIN and WCHAR_MAX according to __WCHAR_UNSIGNED__ if it is provided, and correct the limit when unsigned (to 32 all-1 bits, not 31). Define FILE as in stdio.h. Move wcstold from stdlib.h here.
* merge from gccDJ Delorie2013-12-232-0/+15
|
* * strace.cc (strace::vsprntf): Fix potential (if unlikely) use of uninitializedChristopher Faylor2013-12-222-1/+7
| | | | variable.
* * configure.host (newlib_cflags): Use -Os, -ffunction-sections andNick Clifton2013-12-202-3/+9
| | | | -fdata-sections for RL78.
* * libc/stdio/vfwscanf.c (__SVFWSCANF_R): Fix fetching decimal_point inCorinna Vinschen2013-12-192-5/+11
| | | | !_MB_CAPABLE as well as in !__HAVE_LOCALE_INFO_EXTENDED__ case.
* Fix ChangeLog entryCorinna Vinschen2013-12-191-3/+3
|
* *** empty log message ***Corinna Vinschen2013-12-181-0/+3
|
* * vfscanf.c (BUF): Change definition to take multibyte decimal pointCorinna Vinschen2013-12-183-21/+94
| | | | | | | into account. (__SVFSCANF_R): Handle radix char language-dependent per POSIX. (__SVFWSCANF_R): Ditto.
* .Christopher Faylor2013-12-181-0/+6
|
* * dcrt0.cc (dll_crt0_1): Remove NtSetTimerResolution.Christopher Faylor2013-12-183-4/+11
| | | | | * pinfo.cc (pinfo::init): Increase wait interval when waiting for procinfo to stabilize.
* * autoload.cc (timeBeginPeriod): Delete.Christopher Faylor2013-12-183-2/+7
| | | | * dcrt0.cc (dll_crt0_1): Use NtSetTimerResolution rather than timeBeginPeriod.
* * autoload.cc (timeBeginPeriod): Autoload.Christopher Faylor2013-12-185-11/+18
| | | | | | | | * 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.
* * external.cc (fillout_pinfo): Remove nonsensical loop.Christopher Faylor2013-12-186-62/+83
| | | | | | | | | | | | | | | | | | | | * 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.
* * sigproc.cc (sig_send): Set PIPE_NOWAIT for pipes which are not us.Christopher Faylor2013-12-182-1/+14
|
* * fhandler.h (fhandler_pty_master::~fhandler_pty_master): Delete.Christopher Faylor2013-12-174-10/+8
| | | | * fhandler_tty.cc (fhandler_pty_master::~fhandler_pty_master): Ditto.
* * syscalls.cc (NT_TRANSACTIONAL_ERROR): Define.Corinna Vinschen2013-12-113-9/+57
| | | | | | | | | | | (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.
* * mount.cc (fs_info::update): Fix formatting.Corinna Vinschen2013-12-112-2/+6
|
* * fhandler.h (fhandler_dev_clipboard): Add private memberCorinna Vinschen2013-12-103-4/+14
| | | | | | | | 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-10 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2013-12-108-141/+242
| | | | | | | | | | | | * 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.
* * libc/sys/rtems/include/limits.h: Update page size to matchCorinna Vinschen2013-12-102-1/+6
| | | | libc/sys/rtems/machine/param.h.
* signal hangChristopher Faylor2013-12-091-0/+10
|
* * globals.cc (hntdll): Define/declare.Christopher Faylor2013-12-094-0/+13
| | | | | | * exceptions.cc (inside_kernel): Don't call GetModuleFileName if we know we're in ntdll. * sigproc.cc (wait_sig): Initialize hntdll.
* * include/cygwin/stdlib.h (initstate, random, setstate, srandom):Corinna Vinschen2013-12-092-1/+9
| | | | | Harden _XOPEN_SOURCE guard against applications defining _XOPEN_SOURCE with empty value.
* * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 28.Corinna Vinschen2013-12-082-1/+5
|
* *** empty log message ***Corinna Vinschen2013-12-081-0/+1
|
* * new-features.xml (ov-new1.7.26): Add new section.Corinna Vinschen2013-12-072-0/+19
|
* * path.cc (symlink_native): Workaround Windows 8.1 bug: Drop long pathCorinna Vinschen2013-12-073-4/+35
| | | | prefix from symlink target path. Add comment to explain why.
* * syscalls.cc (dup): Use cygheap_fdnew properly.Christopher Faylor2013-12-062-1/+5
|
* * cygheap.h (cygheap_fdnew): Avoid setting errno directly since it will haveChristopher Faylor2013-12-055-10/+33
| | | | | | | | | | | | 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-04 Steve Ellcey <sellcey@mips.com>Steve Ellcey2013-12-042-0/+5
| | | | * mips/cfe_api.h: Include stdint.h.
* * dtable.cc (dtable::find_unused_handle): When extending, always make sure thatChristopher Faylor2013-12-042-1/+8
| | | | there is a NOFILE_INCR chunk following the free fd.
* merge from gccDJ Delorie2013-12-042-0/+1728
|
* * configure.ac: Back out stupid change.Christopher Faylor2013-12-033-10/+11
| | | | * configure: Regenerate.
* * select.cc (select): Add workaround for, as yet undebugged, pathological case.Christopher Faylor2013-12-032-3/+11
|
* * configure.ac: Don't require 64-bit compiler for 32-bit builds.Christopher Faylor2013-12-033-100/+114
| | | | * configure: Regenerate.
* * libc/sys/rtems/sys/cpuset.h: Use __inline instead of inline.Corinna Vinschen2013-12-032-31/+34
|
* * libc/include/machine/_default_types.h: Move extern "C" afterCorinna Vinschen2013-12-036-156/+269
| | | | | | | | | | | | | | | | | | | | | | | 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.
* * dtable.cc (dtable::find_unused_handle): Break out of the right loop.Christopher Faylor2013-12-012-2/+6
|
* * dtable.cc (dtable::find_unused_handle): Fix off-by-one error. Always exitChristopher Faylor2013-12-013-18/+29
| | | | | | | | | 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.
* Fix ChangeLog entryCorinna Vinschen2013-12-011-3/+4
|
* * dtable.cc (dtable::extend): Change local variable new_size to size_tCorinna Vinschen2013-12-013-3/+10
| | | | | | as well. * thread.cc: Fix comment.