]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
10 years ago2014-02-07 Jon TURNEY <jon.turney@dronecode.org.uk>
Jon TURNEY [Sun, 9 Feb 2014 12:23:13 +0000 (12:23 +0000)]
2014-02-07  Jon TURNEY  <jon.turney@dronecode.org.uk>

* minidumper.cc: New file.
* Makefile.in (CYGWIN_BINS): Add minidumper.
* utils.xml (minidumper): New section.

10 years agoFix ChangeLog
Corinna Vinschen [Sat, 8 Feb 2014 22:25:11 +0000 (22:25 +0000)]
Fix ChangeLog

10 years ago * miscfuncs.h (class NT_readline): New class to implement line-wise
Corinna Vinschen [Sat, 8 Feb 2014 20:57:27 +0000 (20:57 +0000)]
* miscfuncs.h (class NT_readline): New class to implement line-wise
reading from file using native NT functions.
* miscfuncs.cc (NT_readline::init): New method.
* mount.cc (mount_info::from_fstab): Utilize NT_readline to read
fstab files.

10 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchown): Fix typo in
Corinna Vinschen [Thu, 6 Feb 2014 20:38:35 +0000 (20:38 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchown): Fix typo in
comment.
* mount.cc (mount_info::from_fstab): Use tmp_pathbuf rather than
stack for big local buffer.
* net.cc (cygwin_gethostname): Call GetComputerNameExA rather than
GetComputerNameA if gethostname failed.
* shared.cc (user_info::initialize): Fix formatting.
* include/sys/file.h: Define flock and accompanying macros if not
already defined in sys/_default_fcntl.h.

10 years ago PR target/59788
Rainer Orth [Wed, 5 Feb 2014 13:17:47 +0000 (13:17 +0000)]
PR target/59788
* ltmain.sh (opt_duplicate_compiler_generated_deps): Enable on
*solaris2*.

10 years ago2014-02-04 Matthias Braun <matze@braunis.de>
Jeff Johnston [Tue, 4 Feb 2014 20:49:53 +0000 (20:49 +0000)]
2014-02-04  Matthias Braun  <matze@braunis.de>

        * libm/mathfp/sf_numtest.c: Fix NaN/Inf detection logic.

10 years ago * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 29.
Corinna Vinschen [Tue, 4 Feb 2014 16:32:04 +0000 (16:32 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 29.

10 years ago * aarch64/Makefile.in (RDIMON_SCRIPTS): Rule to build in-tree copies
Richard Earnshaw [Mon, 3 Feb 2014 10:30:34 +0000 (10:30 +0000)]
* aarch64/Makefile.in (RDIMON_SCRIPTS): Rule to build in-tree copies
of scripts.
(all): Build the in-tree copies of the scripts.
(clean): Also delete the in-tree copies of the scripts.

10 years ago*** empty log message ***
Corinna Vinschen [Fri, 31 Jan 2014 19:27:26 +0000 (19:27 +0000)]
*** empty log message ***

10 years ago* fhandler.h (cltype): Add cl_buf_beg, cl_buf_end.
Christopher Faylor [Fri, 31 Jan 2014 04:23:22 +0000 (04:23 +0000)]
* fhandler.h (cltype): Add cl_buf_beg, cl_buf_end.
* fhandler_console.cc (dev_console::console_attrs::set_cl_x): Honor buffer
locations.
(dev_console::console_attrs::set_cl_y): Ditto.
(fhandler_console::write): On reset, use absolute positioning to go to
beginning of buffer.  Clear entire buffer.

10 years ago* msp430/Makefile.in (crt0-minrt.o, crtn-minrt.o): New. Build
DJ Delorie [Thu, 30 Jan 2014 02:46:34 +0000 (02:46 +0000)]
* msp430/Makefile.in (crt0-minrt.o, crtn-minrt.o): New.  Build
from crt0.S with -DMINRT.
(CRT_OBJS): Expand.
(crt_%.o): New rule pattern.  Build multiple objects from crt0.S.
* msp430/crt0.S: Further break out functionality.  Support -DMINRT
that omits all init/fini logic.
* msp430/crtn.S: Likewise.
* msp430/msp430-sim.ld: Wildcard all .crt_* sections, sorted.
* msp430/msp430.ld: Likewise.
* msp430/msp430xl-sim.ld: Likewise.

10 years ago* faq-setup.xml: Minor snapshot instruction rewording. Update discussion about
Christopher Faylor [Wed, 29 Jan 2014 19:01:53 +0000 (19:01 +0000)]
* faq-setup.xml: Minor snapshot instruction rewording.  Update discussion about
setup*.exe.
* faq-using.xml: Update information about setup*.exe.
* faq-what.xml: Ditto.

10 years ago * aarch64/cpu-init/rdimon-aem-el3.S (flat_map): Use bic-immediate
Corinna Vinschen [Tue, 28 Jan 2014 11:16:19 +0000 (11:16 +0000)]
* aarch64/cpu-init/rdimon-aem-el3.S (flat_map): Use bic-immediate
form to clear WXN bit.

10 years ago * new-features.xml (ov-new1.7.28): Add new section.
Corinna Vinschen [Mon, 27 Jan 2014 21:26:36 +0000 (21:26 +0000)]
* new-features.xml (ov-new1.7.28): Add new section.

10 years ago*** empty log message ***
Corinna Vinschen [Mon, 27 Jan 2014 21:25:39 +0000 (21:25 +0000)]
*** empty log message ***

10 years ago* gendef (_setjmp (x86)): Save FPU control word location in sequential
Christopher Faylor [Mon, 27 Jan 2014 20:53:02 +0000 (20:53 +0000)]
* gendef (_setjmp (x86)): Save FPU control word location in sequential
location.  Adjust sigstack save accordingly.
(_longjmp (x86)): Ditto for restore.

10 years ago * gendef (sigdelayed (x86_64)): Save and restore FPU control word.
Corinna Vinschen [Mon, 27 Jan 2014 20:08:36 +0000 (20:08 +0000)]
* gendef (sigdelayed (x86_64)): Save and restore FPU control word.
(_sigdelayed (x86)): Ditto.  Save and restore XMM registers.  Add
comment.
(_setjmp (x86)): Save FPU control word, following FreeBSD here.
(_longjmp (x86)): Restore FPU control word.

10 years agoupdate copyright
Christopher Faylor [Mon, 27 Jan 2014 20:04:35 +0000 (20:04 +0000)]
update copyright

10 years agoFix typo
Christopher Faylor [Mon, 27 Jan 2014 00:53:43 +0000 (00:53 +0000)]
Fix typo

10 years ago* winf.cc (linebuf::fromargv): Treat '=' as a special character.
Christopher Faylor [Fri, 24 Jan 2014 20:38:49 +0000 (20:38 +0000)]
* winf.cc (linebuf::fromargv): Treat '=' as a special character.

10 years ago2014-01-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
Jeff Johnston [Fri, 24 Jan 2014 19:01:15 +0000 (19:01 +0000)]
2014-01-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

        * aarch64/cpu-init/rdimon-aem-el3.S (flat_map): Clear WXN bit
        in SCTLR_EL3. Add dsb.

10 years ago * security.h (open_local_policy): Remove declaration.
Corinna Vinschen [Thu, 23 Jan 2014 17:02:30 +0000 (17:02 +0000)]
* security.h (open_local_policy): Remove declaration.
(lsa_open_policy): Declare.
(lsa_close_policy): Declare.
* sec_auth.cc (lsa_open_policy): Rename from open_local_policy.  Take
server name as parameter.  Return NULL in case of error, rather than
INVALID_HANDLE_VALUE.
(lsa_close_policy): Rename from close_local_policy.  Make externally
available.  Get handle by value.
(create_token): Convert call to open_local_policy/close_local_policy
according to aforementioned changes.
(lsaauth): Ditto.
(lsaprivkeyauth): Ditto.
* setlsapwd.cc (setlsapwd): Ditto.

10 years ago * Makefile.common: Don't drop -gFOO switches when filtering CFLAGS
Corinna Vinschen [Wed, 22 Jan 2014 18:00:24 +0000 (18:00 +0000)]
* Makefile.common: Don't drop -gFOO switches when filtering CFLAGS
and CXXFLAGS.

10 years ago * path.cc (etc::test_file_change): In case of NtQueryFullAttributesFile
Corinna Vinschen [Wed, 22 Jan 2014 15:45:29 +0000 (15:45 +0000)]
* path.cc (etc::test_file_change): In case of NtQueryFullAttributesFile
returning an error, only return true if file actually exists.

10 years agomerge from gcc
DJ Delorie [Tue, 21 Jan 2014 16:09:25 +0000 (16:09 +0000)]
merge from gcc

10 years ago * include/cygwin/in6.h (struct ipv6_rt_hdr): Define.
Corinna Vinschen [Mon, 20 Jan 2014 17:25:54 +0000 (17:25 +0000)]
* include/cygwin/in6.h (struct ipv6_rt_hdr): Define.
* include/cygwin/socket.h: Fix formatting.
(IP_UNICAST_IF): Define.
(IPV6_JOIN_GROUP): Remove Windowism.
(IPV6_LEAVE_GROUP): Ditto.
(IPV6_UNICAST_IF): Define.
(IPV6_TCLASS): Ditto.
(IPV6_RECVTCLASS): Ditto.

10 years ago * libc/include/setjmp.h (longjmp): Fix copy/paste error.
Corinna Vinschen [Mon, 20 Jan 2014 17:23:41 +0000 (17:23 +0000)]
* libc/include/setjmp.h (longjmp): Fix copy/paste error.

10 years ago * libc/include/setjmp.h (longjmp): Mark "noreturn" when building with
Corinna Vinschen [Sun, 19 Jan 2014 09:38:34 +0000 (09:38 +0000)]
* libc/include/setjmp.h (longjmp): Mark "noreturn" when building with
GCC.

10 years ago * include/netinet/ip6.h: New file, copied from FreeBSD vebatim.
Corinna Vinschen [Sat, 18 Jan 2014 11:37:55 +0000 (11:37 +0000)]
* include/netinet/ip6.h: New file, copied from FreeBSD vebatim.

10 years ago* dtable.h (dtable::lock): Revert static.
Christopher Faylor [Fri, 17 Jan 2014 17:22:57 +0000 (17:22 +0000)]
* dtable.h (dtable::lock): Revert static.
(dtable::unlock): Ditto.

10 years ago * libc/include/pwd.h: Use __foo_VISIBLE macros from sys/cdefs.h.
Corinna Vinschen [Fri, 17 Jan 2014 14:54:31 +0000 (14:54 +0000)]
* libc/include/pwd.h: Use __foo_VISIBLE macros from sys/cdefs.h.
(setpassent): Declare.

10 years ago * passwd.cc (setpassent): Align to BSD definition.
Corinna Vinschen [Fri, 17 Jan 2014 14:53:04 +0000 (14:53 +0000)]
* passwd.cc (setpassent): Align to BSD definition.

10 years ago*** empty log message ***
Corinna Vinschen [Fri, 17 Jan 2014 11:11:25 +0000 (11:11 +0000)]
*** empty log message ***

10 years ago * syscalls.cc (popen): Introduce Glibc 'e' flag to allow thread-safe
Corinna Vinschen [Fri, 17 Jan 2014 11:07:37 +0000 (11:07 +0000)]
* syscalls.cc (popen): Introduce Glibc 'e' flag to allow thread-safe
opening of the pipe with O_CLOEXEC flag.  Simplify FD_CLOEXEC handling.

10 years ago * include/sys/file.h (LOCK_SH): Drop definition in favor of new
Corinna Vinschen [Fri, 17 Jan 2014 11:01:46 +0000 (11:01 +0000)]
* include/sys/file.h (LOCK_SH): Drop definition in favor of new
definitions in newlib.
(LOCK_EX): Ditto.
(LOCK_NB): Ditto.
(LOCK_UN): Ditto.
(flock): Ditto.
(F_OK): Drop.  Already correctly defined in unistd.h.
(X_OK): Ditto.
(W_OK): Ditto.
(R_OK): Ditto.

10 years ago * libc/include/sys/_default_fcntl.h (LOCK_SH): Define.
Corinna Vinschen [Fri, 17 Jan 2014 10:57:54 +0000 (10:57 +0000)]
* libc/include/sys/_default_fcntl.h (LOCK_SH): Define.
(LOCK_EX): Likewise.
(LOCK_NB): Likewise.
(LOCK_UN): Likewise.
(flock): Declare.

10 years ago * include/cygwin/config.h (_STDIO_BSD_SEMANTICS): Define as 1.
Corinna Vinschen [Fri, 17 Jan 2014 10:56:25 +0000 (10:56 +0000)]
* include/cygwin/config.h (_STDIO_BSD_SEMANTICS): Define as 1.

10 years ago Introduce _STDIO_BSD_SEMANTICS flag to switch fclose/exit file flushing
Corinna Vinschen [Fri, 17 Jan 2014 10:55:32 +0000 (10:55 +0000)]
Introduce _STDIO_BSD_SEMANTICS flag to switch fclose/exit file flushing
semantics from POSIX to BSD.
* libc/stdio/fclose.c (_fclose_r): Conditionalize file flushing on
_STDIO_BSD_SEMANTICS.  Call __sflush_r rather than _fflush_r.  Add
comment.
* libc/stdio/fflush.c (__sflushw_r): New function, only available
if _STDIO_BSD_SEMANTICS is defined.
* libc/stdio/findfp.c (_cleanup_r): Call _fwalk_reent rather than
_fwalk.  Conditionalize cleanup function call on _STDIO_BSD_SEMANTICS.
Add comments.  Add FIXME.
* libc/stdio/local.h (__sflushw_r): Declare if _STDIO_BSD_SEMANTICS is
defined.

10 years ago* dtable.h (dtable::lock): Make static.
Christopher Faylor [Thu, 16 Jan 2014 18:40:13 +0000 (18:40 +0000)]
* dtable.h (dtable::lock): Make static.

10 years ago2014-01-10 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 10 Jan 2014 23:04:01 +0000 (23:04 +0000)]
2014-01-10  Jeff Johnston  <jjohnstn@redhat.com>

        * arm/configure.in: Revert previous fix and change host_makefile_frag
        to calculate the absolute location of srcdir/../config/default.mh.
        * arm/configure: Regenerated.

10 years ago.
Christopher Faylor [Wed, 8 Jan 2014 16:55:23 +0000 (16:55 +0000)]
.

10 years ago* exceptions.h (cygwin_exception::open_stackdumpfile): Move old function into
Christopher Faylor [Wed, 8 Jan 2014 16:51:20 +0000 (16:51 +0000)]
* exceptions.h (cygwin_exception::open_stackdumpfile): Move old function into
class.
(cygwin_exception::h): New member.
(cygwin_exception::cygwin_exception): Initialize h to NULL.
* exceptions.cc (cygwin_exception::open_stackdumpfile): Move into
cygwin_exception class.  Use 'h' class member.
(cygwin_exception::dumpstack): Close stack dump file handle if opened.

10 years ago2014-01-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 7 Jan 2014 22:41:38 +0000 (22:41 +0000)]
2014-01-07  Jeff Johnston  <jjohnstn@redhat.com>

        * arm/configure.in: Fix host_makefile_frag to use ac_abs_srcdir.
        * arm/configure: Regenerated.

10 years ago * faq-programming.xml: Update packages needed to build Cygwin.
Corinna Vinschen [Tue, 7 Jan 2014 14:54:58 +0000 (14:54 +0000)]
* faq-programming.xml: Update packages needed to build Cygwin.

10 years ago2014-01-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
Jeff Johnston [Mon, 6 Jan 2014 20:59:38 +0000 (20:59 +0000)]
2014-01-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>

        * 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.

10 years ago2014-01-06 Mike Frysinger <vapier@gentoo.org>
Jeff Johnston [Mon, 6 Jan 2014 19:50:33 +0000 (19:50 +0000)]
2014-01-06  Mike Frysinger  <vapier@gentoo.org>

        * 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.

10 years ago2013-01-06 Mike Frysinger <vapier@gentoo.org>
Jeff Johnston [Mon, 6 Jan 2014 19:30:50 +0000 (19:30 +0000)]
2013-01-06  Mike Frysinger  <vapier@gentoo.org>

        * libc/ctype/jp2uc.c: Include string.h.

10 years agoRecreate
Christopher Faylor [Sun, 5 Jan 2014 00:09:39 +0000 (00:09 +0000)]
Recreate

10 years ago* fhandler.h: Update copyright.
Christopher Faylor [Sat, 4 Jan 2014 23:58:32 +0000 (23:58 +0000)]
* fhandler.h: Update copyright.
(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.

10 years ago.
Christopher Faylor [Tue, 31 Dec 2013 22:27:12 +0000 (22:27 +0000)]
.

10 years ago* fhandler_console.cc (region_split): New function.
Christopher Faylor [Tue, 31 Dec 2013 22:19:07 +0000 (22:19 +0000)]
* fhandler_console.cc (region_split): New function.
(delta): Ditto.
(ReadConsoleOutputWrapper): Ditto.
(fhandler_console::char_command): Use ReadConsoleOutputWrapper to avoid OOM
condition from ReadConsoleOutputW.  Add more debugging.

10 years ago2013-12-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 23 Dec 2013 20:45:10 +0000 (20:45 +0000)]
2013-12-23  Jeff Johnston  <jjohnstn@redhat.com>

        * 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

10 years ago2013-12-22 JF Bastien <jfb@chromium.org>
Jeff Johnston [Mon, 23 Dec 2013 19:21:07 +0000 (19:21 +0000)]
2013-12-22  JF Bastien  <jfb@chromium.org>

        * 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.

10 years agomerge from gcc
DJ Delorie [Mon, 23 Dec 2013 18:30:21 +0000 (18:30 +0000)]
merge from gcc

10 years ago* strace.cc (strace::vsprntf): Fix potential (if unlikely) use of uninitialized
Christopher Faylor [Sun, 22 Dec 2013 07:07:48 +0000 (07:07 +0000)]
* strace.cc (strace::vsprntf): Fix potential (if unlikely) use of uninitialized
variable.

10 years ago * configure.host (newlib_cflags): Use -Os, -ffunction-sections and
Nick Clifton [Fri, 20 Dec 2013 10:27:49 +0000 (10:27 +0000)]
* configure.host (newlib_cflags): Use -Os, -ffunction-sections and
-fdata-sections for RL78.

10 years ago * libc/stdio/vfwscanf.c (__SVFWSCANF_R): Fix fetching decimal_point in
Corinna Vinschen [Thu, 19 Dec 2013 18:50:00 +0000 (18:50 +0000)]
* libc/stdio/vfwscanf.c (__SVFWSCANF_R): Fix fetching decimal_point in
!_MB_CAPABLE as well as in !__HAVE_LOCALE_INFO_EXTENDED__ case.

10 years agoFix ChangeLog entry
Corinna Vinschen [Thu, 19 Dec 2013 09:50:19 +0000 (09:50 +0000)]
Fix ChangeLog entry

10 years ago*** empty log message ***
Corinna Vinschen [Wed, 18 Dec 2013 20:50:04 +0000 (20:50 +0000)]
*** empty log message ***

10 years ago * vfscanf.c (BUF): Change definition to take multibyte decimal point
Corinna Vinschen [Wed, 18 Dec 2013 19:23:33 +0000 (19:23 +0000)]
* vfscanf.c (BUF): Change definition to take multibyte decimal point
into account.
(__SVFSCANF_R): Handle radix char language-dependent
per POSIX.
(__SVFWSCANF_R): Ditto.

10 years ago.
Christopher Faylor [Wed, 18 Dec 2013 17:49:51 +0000 (17:49 +0000)]
.

10 years ago* dcrt0.cc (dll_crt0_1): Remove NtSetTimerResolution.
Christopher Faylor [Wed, 18 Dec 2013 17:44:20 +0000 (17:44 +0000)]
* dcrt0.cc (dll_crt0_1): Remove NtSetTimerResolution.
* pinfo.cc (pinfo::init): Increase wait interval when waiting for procinfo to
stabilize.

10 years ago* autoload.cc (timeBeginPeriod): Delete.
Christopher Faylor [Wed, 18 Dec 2013 04:39:36 +0000 (04:39 +0000)]
* autoload.cc (timeBeginPeriod): Delete.
* dcrt0.cc (dll_crt0_1): Use NtSetTimerResolution rather than timeBeginPeriod.

10 years ago* autoload.cc (timeBeginPeriod): Autoload.
Christopher Faylor [Wed, 18 Dec 2013 04:28:46 +0000 (04:28 +0000)]
* 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.

10 years ago* external.cc (fillout_pinfo): Remove nonsensical loop.
Christopher Faylor [Wed, 18 Dec 2013 03:58:11 +0000 (03:58 +0000)]
* 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.

10 years ago* sigproc.cc (sig_send): Set PIPE_NOWAIT for pipes which are not us.
Christopher Faylor [Wed, 18 Dec 2013 03:01:39 +0000 (03:01 +0000)]
* sigproc.cc (sig_send): Set PIPE_NOWAIT for pipes which are not us.

10 years ago* fhandler.h (fhandler_pty_master::~fhandler_pty_master): Delete.
Christopher Faylor [Tue, 17 Dec 2013 19:05:26 +0000 (19:05 +0000)]
* fhandler.h (fhandler_pty_master::~fhandler_pty_master): Delete.
* fhandler_tty.cc (fhandler_pty_master::~fhandler_pty_master): Ditto.

10 years ago * syscalls.cc (NT_TRANSACTIONAL_ERROR): Define.
Corinna Vinschen [Wed, 11 Dec 2013 12:12:12 +0000 (12:12 +0000)]
* 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.

10 years ago * mount.cc (fs_info::update): Fix formatting.
Corinna Vinschen [Wed, 11 Dec 2013 10:24:52 +0000 (10:24 +0000)]
* mount.cc (fs_info::update): Fix formatting.

10 years ago * fhandler.h (fhandler_dev_clipboard): Add private member
Corinna Vinschen [Tue, 10 Dec 2013 21:05:23 +0000 (21:05 +0000)]
* 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.

10 years ago2013-12-10 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 10 Dec 2013 18:57:30 +0000 (18:57 +0000)]
2013-12-10  Jeff Johnston  <jjohnstn@redhat.com>

        * 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.

10 years ago * libc/sys/rtems/include/limits.h: Update page size to match
Corinna Vinschen [Tue, 10 Dec 2013 09:20:37 +0000 (09:20 +0000)]
* libc/sys/rtems/include/limits.h: Update page size to match
libc/sys/rtems/machine/param.h.

10 years agosignal hang
Christopher Faylor [Mon, 9 Dec 2013 20:47:13 +0000 (20:47 +0000)]
signal hang

10 years ago* globals.cc (hntdll): Define/declare.
Christopher Faylor [Mon, 9 Dec 2013 20:32:24 +0000 (20:32 +0000)]
* 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.

10 years ago * include/cygwin/stdlib.h (initstate, random, setstate, srandom):
Corinna Vinschen [Mon, 9 Dec 2013 10:12:42 +0000 (10:12 +0000)]
* include/cygwin/stdlib.h (initstate, random, setstate, srandom):
Harden _XOPEN_SOURCE guard against applications defining _XOPEN_SOURCE
with empty value.

10 years ago * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 28.
Corinna Vinschen [Sun, 8 Dec 2013 13:42:16 +0000 (13:42 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 28.

10 years ago*** empty log message ***
Corinna Vinschen [Sun, 8 Dec 2013 13:38:27 +0000 (13:38 +0000)]
*** empty log message ***

10 years ago * new-features.xml (ov-new1.7.26): Add new section.
Corinna Vinschen [Sat, 7 Dec 2013 10:12:55 +0000 (10:12 +0000)]
* new-features.xml (ov-new1.7.26): Add new section.

10 years ago * path.cc (symlink_native): Workaround Windows 8.1 bug: Drop long path
Corinna Vinschen [Sat, 7 Dec 2013 10:12:25 +0000 (10:12 +0000)]
* path.cc (symlink_native): Workaround Windows 8.1 bug: Drop long path
prefix from symlink target path.  Add comment to explain why.

10 years ago* syscalls.cc (dup): Use cygheap_fdnew properly.
Christopher Faylor [Fri, 6 Dec 2013 15:38:21 +0000 (15:38 +0000)]
* syscalls.cc (dup): Use cygheap_fdnew properly.

10 years ago* cygheap.h (cygheap_fdnew): Avoid setting errno directly since it will have
Christopher Faylor [Thu, 5 Dec 2013 19:43:34 +0000 (19:43 +0000)]
* 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.

10 years ago2013-12-04 Steve Ellcey <sellcey@mips.com>
Steve Ellcey [Wed, 4 Dec 2013 21:18:02 +0000 (21:18 +0000)]
2013-12-04  Steve Ellcey <sellcey@mips.com>

* mips/cfe_api.h: Include stdint.h.

10 years ago* dtable.cc (dtable::find_unused_handle): When extending, always make sure that
Christopher Faylor [Wed, 4 Dec 2013 17:55:17 +0000 (17:55 +0000)]
* dtable.cc (dtable::find_unused_handle): When extending, always make sure that
there is a NOFILE_INCR chunk following the free fd.

10 years agomerge from gcc
DJ Delorie [Wed, 4 Dec 2013 16:09:03 +0000 (16:09 +0000)]
merge from gcc

10 years ago* configure.ac: Back out stupid change.
Christopher Faylor [Tue, 3 Dec 2013 20:51:05 +0000 (20:51 +0000)]
* configure.ac: Back out stupid change.
* configure: Regenerate.

10 years ago* select.cc (select): Add workaround for, as yet undebugged, pathological case.
Christopher Faylor [Tue, 3 Dec 2013 20:28:55 +0000 (20:28 +0000)]
* select.cc (select): Add workaround for, as yet undebugged, pathological case.

10 years ago* configure.ac: Don't require 64-bit compiler for 32-bit builds.
Christopher Faylor [Tue, 3 Dec 2013 18:37:40 +0000 (18:37 +0000)]
* configure.ac: Don't require 64-bit compiler for 32-bit builds.
* configure: Regenerate.

10 years ago * libc/sys/rtems/sys/cpuset.h: Use __inline instead of inline.
Corinna Vinschen [Tue, 3 Dec 2013 16:07:33 +0000 (16:07 +0000)]
* libc/sys/rtems/sys/cpuset.h: Use __inline instead of inline.

10 years ago * libc/include/machine/_default_types.h: Move extern "C" after
Corinna Vinschen [Tue, 3 Dec 2013 16:04:41 +0000 (16:04 +0000)]
* 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.

10 years ago* dtable.cc (dtable::find_unused_handle): Break out of the right loop.
Christopher Faylor [Sun, 1 Dec 2013 19:17:56 +0000 (19:17 +0000)]
* dtable.cc (dtable::find_unused_handle): Break out of the right loop.

10 years ago* dtable.cc (dtable::find_unused_handle): Fix off-by-one error. Always exit
Christopher Faylor [Sun, 1 Dec 2013 17:52:48 +0000 (17:52 +0000)]
* 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.

10 years agoFix ChangeLog entry
Corinna Vinschen [Sun, 1 Dec 2013 10:47:29 +0000 (10:47 +0000)]
Fix ChangeLog entry

10 years ago * dtable.cc (dtable::extend): Change local variable new_size to size_t
Corinna Vinschen [Sun, 1 Dec 2013 10:27:16 +0000 (10:27 +0000)]
* dtable.cc (dtable::extend): Change local variable new_size to size_t
as well.

* thread.cc: Fix comment.

10 years ago.
Christopher Faylor [Sun, 1 Dec 2013 02:58:03 +0000 (02:58 +0000)]
.

10 years ago* dtable.h (dtable::first_fd_for_open): Change declaration to size_t.
Christopher Faylor [Sun, 1 Dec 2013 02:52:54 +0000 (02:52 +0000)]
* 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.

10 years ago* dtable.cc (build_fh_pc): When creating an archetype, use native name rather
Christopher Faylor [Sun, 1 Dec 2013 02:09:22 +0000 (02:09 +0000)]
* dtable.cc (build_fh_pc): When creating an archetype, use native name rather
than unix name if name doesn't exist.

10 years ago2013-11-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
Joel Sherrill [Fri, 29 Nov 2013 23:35:34 +0000 (23:35 +0000)]
2013-11-29  Sebastian Huber <sebastian.huber@embedded-brains.de>

* 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.

10 years ago2013-11-29 Jennifer Averett <jennifer.averett@oarcorp.com>
Joel Sherrill [Fri, 29 Nov 2013 23:14:57 +0000 (23:14 +0000)]
2013-11-29  Jennifer Averett <jennifer.averett@oarcorp.com>

* 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.

10 years ago* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 27.
Christopher Faylor [Fri, 29 Nov 2013 13:31:54 +0000 (13:31 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 27.

10 years ago * include/cygwin/stdlib.h(initstate, random, setstate, srandom) :
Jon TURNEY [Fri, 29 Nov 2013 13:05:43 +0000 (13:05 +0000)]
* include/cygwin/stdlib.h(initstate, random, setstate, srandom) :
Prototype if not __STRICT_ANSI__ or _XOPEN_SOURCE is defined appropriately.

This page took 0.067319 seconds and 5 git commands to generate.