Commit Graph

  • 576b7804d6 * vfscanf.c (BUF): Change definition to take multibyte decimal point into account. (__SVFSCANF_R): Handle radix char language-dependent per POSIX. (__SVFWSCANF_R): Ditto. Corinna Vinschen 2013-12-18 19:23:33 +00:00
  • 5730605d55 . Christopher Faylor 2013-12-18 17:49:51 +00:00
  • ccb3158c4f * dcrt0.cc (dll_crt0_1): Remove NtSetTimerResolution. * pinfo.cc (pinfo::init): Increase wait interval when waiting for procinfo to stabilize. Christopher Faylor 2013-12-18 17:44:20 +00:00
  • 27c6e45ea3 * autoload.cc (timeBeginPeriod): Delete. * dcrt0.cc (dll_crt0_1): Use NtSetTimerResolution rather than timeBeginPeriod. Christopher Faylor 2013-12-18 04:39:36 +00:00
  • e9da9dfb94 * autoload.cc (timeBeginPeriod): Autoload. * 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. Christopher Faylor 2013-12-18 04:28:46 +00:00
  • 13621d2ef8 * external.cc (fillout_pinfo): Remove nonsensical loop. * 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. Christopher Faylor 2013-12-18 03:58:11 +00:00
  • 1147c2111d * sigproc.cc (sig_send): Set PIPE_NOWAIT for pipes which are not us. Christopher Faylor 2013-12-18 03:01:39 +00:00
  • 891b1e7e22 * fhandler.h (fhandler_pty_master::~fhandler_pty_master): Delete. * fhandler_tty.cc (fhandler_pty_master::~fhandler_pty_master): Ditto. Christopher Faylor 2013-12-17 19:05:26 +00:00
  • f51db32d8c * syscalls.cc (NT_TRANSACTIONAL_ERROR): Define. (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. Corinna Vinschen 2013-12-11 12:12:12 +00:00
  • c28222be54 * mount.cc (fs_info::update): Fix formatting. Corinna Vinschen 2013-12-11 10:24:52 +00:00
  • f2988299eb * fhandler.h (fhandler_dev_clipboard): Add private member 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. Corinna Vinschen 2013-12-10 21:05:23 +00:00
  • 2c14c48026 2013-12-10 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2013-12-10 18:57:30 +00:00
  • 10e4d79a19 2013-12-10 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2013-12-10 18:57:30 +00:00
  • 2dc65c3793 * libc/sys/rtems/include/limits.h: Update page size to match libc/sys/rtems/machine/param.h. Corinna Vinschen 2013-12-10 09:20:37 +00:00
  • a6a307d8c2 * libc/sys/rtems/include/limits.h: Update page size to match libc/sys/rtems/machine/param.h. Corinna Vinschen 2013-12-10 09:20:37 +00:00
  • a3afe81551 signal hang Christopher Faylor 2013-12-09 20:47:13 +00:00
  • ae8456bdf2 * globals.cc (hntdll): Define/declare. * exceptions.cc (inside_kernel): Don't call GetModuleFileName if we know we're in ntdll. * sigproc.cc (wait_sig): Initialize hntdll. Christopher Faylor 2013-12-09 20:32:24 +00:00
  • 6ee934e747 This commit was manufactured by cvs2svn to create tag 'cygwin- 1_7_27-release'. cygwin-1_7_27-release cvs2svn 2013-12-09 10:12:43 +00:00
  • db0d50a67d * include/cygwin/stdlib.h (initstate, random, setstate, srandom): Harden _XOPEN_SOURCE guard against applications defining _XOPEN_SOURCE with empty value. Corinna Vinschen 2013-12-09 10:12:42 +00:00
  • 4726a0e769 * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 28. Corinna Vinschen 2013-12-08 13:42:16 +00:00
  • 9a0027836f *** empty log message *** Corinna Vinschen 2013-12-08 13:38:27 +00:00
  • 17bb9160d5 * new-features.xml (ov-new1.7.26): Add new section. Corinna Vinschen 2013-12-07 10:12:55 +00:00
  • 7630387c51 * path.cc (symlink_native): Workaround Windows 8.1 bug: Drop long path prefix from symlink target path. Add comment to explain why. Corinna Vinschen 2013-12-07 10:12:25 +00:00
  • 870f29b5c3 * syscalls.cc (dup): Use cygheap_fdnew properly. Christopher Faylor 2013-12-06 15:38:21 +00:00
  • 09244c002e * cygheap.h (cygheap_fdnew): Avoid setting errno directly since it will have 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. Christopher Faylor 2013-12-05 19:43:34 +00:00
  • 461ca98bad 2013-12-04 Steve Ellcey <sellcey@mips.com> Steve Ellcey 2013-12-04 21:18:02 +00:00
  • 2f8a6f1947 2013-12-04 Steve Ellcey <sellcey@mips.com> Steve Ellcey 2013-12-04 21:18:02 +00:00
  • 9915ebec8a * dtable.cc (dtable::find_unused_handle): When extending, always make sure that there is a NOFILE_INCR chunk following the free fd. Christopher Faylor 2013-12-04 17:55:17 +00:00
  • 6b5a341878 merge from gcc DJ Delorie 2013-12-04 16:09:03 +00:00
  • d924d6b583 * configure.ac: Back out stupid change. * configure: Regenerate. Christopher Faylor 2013-12-03 20:51:05 +00:00
  • 4bf6a52173 * select.cc (select): Add workaround for, as yet undebugged, pathological case. Christopher Faylor 2013-12-03 20:28:55 +00:00
  • d7f07b3dde * configure.ac: Don't require 64-bit compiler for 32-bit builds. * configure: Regenerate. Christopher Faylor 2013-12-03 18:37:40 +00:00
  • f4fc6b0663 * libc/sys/rtems/sys/cpuset.h: Use __inline instead of inline. Corinna Vinschen 2013-12-03 16:07:33 +00:00
  • 92fa7efad0 * libc/sys/rtems/sys/cpuset.h: Use __inline instead of inline. Corinna Vinschen 2013-12-03 16:07:32 +00:00
  • 9bd3bcc642 * libc/include/machine/_default_types.h: Move extern "C" after 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. Corinna Vinschen 2013-12-03 16:04:41 +00:00
  • cd36e55321 * libc/include/machine/_default_types.h: Move extern "C" after 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. Corinna Vinschen 2013-12-03 16:04:40 +00:00
  • 9262c05537 * dtable.cc (dtable::find_unused_handle): Break out of the right loop. Christopher Faylor 2013-12-01 19:17:56 +00:00
  • f456b9f6f8 * dtable.cc (dtable::find_unused_handle): Fix off-by-one error. Always exit 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. Christopher Faylor 2013-12-01 17:52:48 +00:00
  • 10a5939224 Fix ChangeLog entry Corinna Vinschen 2013-12-01 10:47:29 +00:00
  • eeaa47ef21 * dtable.cc (dtable::extend): Change local variable new_size to size_t as well. Corinna Vinschen 2013-12-01 10:27:16 +00:00
  • bc54373f85 . Christopher Faylor 2013-12-01 02:58:03 +00:00
  • 499494d2cc * dtable.h (dtable::first_fd_for_open): Change declaration to size_t. (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. Christopher Faylor 2013-12-01 02:52:54 +00:00
  • 483c843a6a * dtable.cc (build_fh_pc): When creating an archetype, use native name rather than unix name if name doesn't exist. Christopher Faylor 2013-12-01 02:09:22 +00:00
  • a534dfd26e 2013-11-29 Sebastian Huber <sebastian.huber@embedded-brains.de> Joel Sherrill 2013-11-29 23:35:34 +00:00
  • f6ed717ac9 2013-11-29 Sebastian Huber <sebastian.huber@embedded-brains.de> Joel Sherrill 2013-11-29 23:35:33 +00:00
  • 62c28b76ac 2013-11-29 Jennifer Averett <jennifer.averett@oarcorp.com> Joel Sherrill 2013-11-29 23:14:57 +00:00
  • 2f164d1860 2013-11-29 Jennifer Averett <jennifer.averett@oarcorp.com> Joel Sherrill 2013-11-29 23:14:56 +00:00
  • 8116e5e59b * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 27. Christopher Faylor 2013-11-29 13:31:54 +00:00
  • 390aa0b67f * include/cygwin/stdlib.h(initstate, random, setstate, srandom) : Prototype if not __STRICT_ANSI__ or _XOPEN_SOURCE is defined appropriately. Jon TURNEY 2013-11-29 13:05:43 +00:00
  • 436672b106 This commit was manufactured by cvs2svn to create tag 'cygwin- 1_7_26-release'. cygwin-1_7_26-release cvs2svn 2013-11-29 10:14:14 +00:00
  • fea986bdc6 * new-features.xml (ov-new1.7.26): Fix section ID and title. Add posix_spawn item. Corinna Vinschen 2013-11-29 10:14:13 +00:00
  • f8b02da153 * include/glob.h: Fix invalid use of 'restrict' error. Corinna Vinschen 2013-11-28 10:00:01 +00:00
  • 2d50094276 2013-11-27 Sebastian Huber <sebastian.huber@embedded-brains.de> Joel Sherrill 2013-11-27 14:53:59 +00:00
  • 6c78d166ec 2013-11-27 Sebastian Huber <sebastian.huber@embedded-brains.de> Joel Sherrill 2013-11-27 14:53:58 +00:00
  • 376b177749 * syscalls.cc (try_to_bin): Enhance debug output in case reopen fails. Corinna Vinschen 2013-11-27 14:48:27 +00:00
  • 1aaa128794 * syscalls.cc (try_to_bin): Drop fh_dup, reuse tmp_fh instead. Corinna Vinschen 2013-11-27 14:30:36 +00:00
  • 854ed5f03a * syscalls.cc (try_to_bin): Take additional parameter to get file open flags. If the file to move to the bin has been opened casesensitive, reopen it caseinsensitive. Explain why. Revert the default name of the Vista-and-later recycler to mixed case for readability. (unlink_nt): Call try_to_bin with file open flags as evaluated. Corinna Vinschen 2013-11-27 14:27:34 +00:00
  • 76572dd1b6 * libc/machine/mips/setjmp.S: Fix definition of macro FPR_LAYOUT for ABI == N32. Corinna Vinschen 2013-11-27 12:45:56 +00:00
  • 963addfa27 * libc/machine/mips/setjmp.S: Fix definition of macro FPR_LAYOUT for ABI == N32. Corinna Vinschen 2013-11-27 12:45:56 +00:00
  • a00d2722b6 2013-11-26 Matheus Almeida <Matheus.Almeida@imgtec.com> Jeff Johnston 2013-11-26 19:58:19 +00:00
  • bb21f961af 2013-11-26 Matheus Almeida <Matheus.Almeida@imgtec.com> Jeff Johnston 2013-11-26 19:58:18 +00:00
  • a50f8f5973 * nlsfuncs.cc (wcscoll): Add "__restrict" to definition. (wcsxfrm): Ditto. Corinna Vinschen 2013-11-26 17:27:25 +00:00
  • cff2bcf82c Correct for missing entries for wchar.h changes and white space changes Joel Sherrill 2013-11-26 17:27:08 +00:00
  • db026d86d8 Correct for missing entries for wchar.h changes and white space changes Joel Sherrill 2013-11-26 17:27:08 +00:00
  • 380c9f6165 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> Joel Sherrill 2013-11-26 17:21:01 +00:00
  • becc828923 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> Joel Sherrill 2013-11-26 17:20:59 +00:00
  • bb9d95eb38 * common.din: Export posix_spawn[...] functions. * exec.cc (execve): Add EXPORT_ALIAS _execve. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * posix.sgml (std-susv4): Add posix_spawn[...] here. (std-notimpl): Drop here. Corinna Vinschen 2013-11-26 17:11:09 +00:00
  • d12e1c0670 * nlsfuncs.cc (strcoll): Add "__restrict" to definition. (strxfrm): Ditto. Corinna Vinschen 2013-11-26 17:08:56 +00:00
  • 1a24dc4629 2013-11-25 Joel Sherrill <joel.sherrill@oarcorp.com> Joel Sherrill 2013-11-26 14:38:58 +00:00
  • 6221252b5e 2013-11-25 Joel Sherrill <joel.sherrill@oarcorp.com> Joel Sherrill 2013-11-26 14:38:58 +00:00
  • 47abf64219 * libc/posix/posix_spawn.c: Drop using namespace.h. Corinna Vinschen 2013-11-26 13:51:19 +00:00
  • 4d3c733045 * libc/posix/posix_spawn.c: Drop using namespace.h. Corinna Vinschen 2013-11-26 13:51:19 +00:00
  • c3a6ef731d * libc/posix/posix_spawn.c: Eliminate OS function calls not present in newlib or Cygwin. (process_spawnattr): Use sigprocmask rather than _sigprocmask. Use sigaction rather than _sigaction. (process_file_actions_entry): Use dup2 rather than _dup2. (do_posix_spawn): Use execvpe rather than _execvpe. Use waitpid rather than _waitpid. Corinna Vinschen 2013-11-26 13:48:00 +00:00
  • 6fe752f94f * libc/posix/posix_spawn.c: Eliminate OS function calls not present in newlib or Cygwin. (process_spawnattr): Use sigprocmask rather than _sigprocmask. Use sigaction rather than _sigaction. (process_file_actions_entry): Use dup2 rather than _dup2. (do_posix_spawn): Use execvpe rather than _execvpe. Use waitpid rather than _waitpid. Corinna Vinschen 2013-11-26 13:48:00 +00:00
  • b9b46f1404 2013-11-25 Joel Sherrill <joel.sherrill@oarcorp.com> Joel Sherrill 2013-11-25 17:55:33 +00:00
  • d264970f79 2013-11-25 Joel Sherrill <joel.sherrill@oarcorp.com> Joel Sherrill 2013-11-25 17:55:33 +00:00
  • a6083a6b71 * libc/include/spawn.h (posix_spawn_file_actions_destroy): Fix typo in function name. * libc/posix/posix_spawn.c (posix_spawn_file_actions_destroy): Ditto. Corinna Vinschen 2013-11-25 17:23:30 +00:00
  • 05efdc441d * libc/include/spawn.h (posix_spawn_file_actions_destroy): Fix typo in function name. * libc/posix/posix_spawn.c (posix_spawn_file_actions_destroy): Ditto. Corinna Vinschen 2013-11-25 17:23:30 +00:00
  • d482870337 2013-11-25 Sahil Patnayakuni <sahil.patnayakuni@gmail.com> Joel Sherrill 2013-11-25 13:46:23 +00:00
  • 32a870d4b6 2013-11-25 Sahil Patnayakuni <sahil.patnayakuni@gmail.com> Joel Sherrill 2013-11-25 13:46:22 +00:00
  • 3073f26d6a Throughout, keep function definitions and declarations in sync with newlib in terms of C99 "restrict" keyword. Corinna Vinschen 2013-11-25 11:38:08 +00:00
  • bd1af1cab5 * dtable.cc: Include sys/param.h for MAX definition. Corinna Vinschen 2013-11-24 13:01:25 +00:00
  • d2a88d9792 Throughout, drop unnecessary explicit includes of windows header files included by default. * winlean.h: Add long comment to explain why we have to define certain symbols. (_NORMALIZE_): Define. (_WINNLS_): Drop definition and subsequent undef. (_WINNETWK_): Ditto. (_WINSVC_): Ditto. Corinna Vinschen 2013-11-24 12:13:36 +00:00
  • 6958a5e8f1 *** empty log message *** Corinna Vinschen 2013-11-24 12:09:18 +00:00
  • 7181fcc1d5 2013-11-23 Bryan Dunsmore <dunsmoreb@gmail.com> Joel Sherrill 2013-11-23 22:39:34 +00:00
  • f68a40cdf9 2013-11-23 Bryan Dunsmore <dunsmoreb@gmail.com> Joel Sherrill 2013-11-23 22:39:34 +00:00
  • 3a4ce7315f dup2: fix off-by-one crash Eric Blake 2013-11-23 13:51:53 +00:00
  • 7a5be33eb5 * new-features.xml (ov-new1.7.26): Add new section. Corinna Vinschen 2013-11-23 11:39:51 +00:00
  • ece50cb6dd 2013-11-22 Bryan Dunsmore <dunsmoreb@gmail.com> Joel Sherrill 2013-11-23 01:25:47 +00:00
  • 9cd69d84ef 2013-11-22 Bryan Dunsmore <dunsmoreb@gmail.com> Joel Sherrill 2013-11-23 01:25:47 +00:00
  • 849fe25d0e 2013-11-22 Chirayu Desai <chirayudesai1@gmail.com> Joel Sherrill 2013-11-22 22:39:51 +00:00
  • 7db0956e13 2013-11-22 Chirayu Desai <chirayudesai1@gmail.com> Joel Sherrill 2013-11-22 22:39:50 +00:00
  • 2464ecbf64 2013-11-21 Daniel Ramirez <javamonn@gmail.com> Joel Sherrill 2013-11-22 01:17:42 +00:00
  • 5f8fa6874e 2013-11-21 Daniel Ramirez <javamonn@gmail.com> Joel Sherrill 2013-11-22 01:17:42 +00:00
  • d0d3968f8f 2013-11-21 Joel Sherrill <joel.sherrill@oarcorp.com> Joel Sherrill 2013-11-21 19:27:17 +00:00
  • b681d06f55 2013-11-21 Joel Sherrill <joel.sherrill@oarcorp.com> Joel Sherrill 2013-11-21 19:27:16 +00:00
  • 9977fcbc42 2013-11-21 Julio Gutierrez <jgutleyva@gmail.com> Joel Sherrill 2013-11-21 17:04:57 +00:00
  • aa79149a6c 2013-11-21 Julio Gutierrez <jgutleyva@gmail.com> Joel Sherrill 2013-11-21 17:04:57 +00:00
  • a7c3258311 2013-11-21 Joel Sherrill <joel.sherrill@oarcorp.com> Joel Sherrill 2013-11-21 16:44:39 +00:00
  • 29af29ef14 2013-11-21 Joel Sherrill <joel.sherrill@oarcorp.com> Joel Sherrill 2013-11-21 16:44:39 +00:00