]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
15 years ago2009-10-13 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Jeff Johnston [Tue, 13 Oct 2009 17:31:49 +0000 (17:31 +0000)]
2009-10-13  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>

        * libc/include/sys/signal.h: Include <sys/types.h> always.
        [__CYGWIN__, __rtems__]: Define kill first argument as pid_t per
        standards.

15 years ago * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
Corinna Vinschen [Tue, 13 Oct 2009 12:08:22 +0000 (12:08 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

15 years ago * include/sys/cygwin.h: Add new cygwin_getinfo_type
Corinna Vinschen [Tue, 13 Oct 2009 10:23:31 +0000 (10:23 +0000)]
* include/sys/cygwin.h: Add new cygwin_getinfo_type
CW_SET_EXTERNAL_TOKEN.
Add new enum CW_TOKEN_IMPERSONATION, CW_TOKEN_RESTRICTED.
* cygheap.h (cyguser): New flags ext_token_is_restricted,
curr_token_is_restricted and setuid_to_restricted.
* external.cc (cygwin_internal): Add CW_SET_EXTERNAL_TOKEN.
* sec_auth.cc (set_imp_token): New function.
(cygwin_set_impersonation_token): Call set_imp_token ().
* security.h (set_imp_token): New prototype.
* spawn.cc (spawn_guts): Use CreateProcessAsUserW if restricted token
was enabled by setuid().  Do not create new window station in this case.
* syscalls.cc (seteuid32): Add handling of restricted external tokens.
Set HANDLE_FLAG_INHERIT for primary token.
(setuid32): Set setuid_to_restricted flag.
* uinfo.cc (uinfo_init): Do not reimpersonate if restricted token was
enabled by setuid ().  Initialize user.*_restricted flags.

15 years agoFix toplevel 'config.status --recheck' for --enable-lto.
Ralf Wildenhues [Tue, 13 Oct 2009 03:32:18 +0000 (03:32 +0000)]
Fix toplevel 'config.status --recheck' for --enable-lto.

/:
* configure.ac: Add 'lto' to enable_languages, not
new_enable_languages, and only if not already present.
* configure: Regenerate.

15 years agoImprove clock_gettime and utimensat resolution.
Eric Blake [Tue, 13 Oct 2009 02:26:33 +0000 (02:26 +0000)]
Improve clock_gettime and utimensat resolution.

* hires.h (hires_ms): Change initime_us to initime_ns, with 10x
more resolution.
(hires_ms::nsecs): New prototype.
(hires_ms::usecs, hires_ms::msecs, hires_ms::uptime): Adjust.
* times.cc (systime_ns): New helper function.
(hires_ms::prime): Use it for more resolution.
(hires_ms::usecs): Change to...
(hires_ms::nsecs): ...with more resolution.
(clock_gettime): Use more resolution.
(systime): Rewrite in terms of systime_ns.
(timespec_to_filetime): Rewrite math to reflect true operation.
* fhandler_disk_file.cc (utimens_fs): Use higher resolution.

15 years ago * external.cc (cygwin_internal): Return 0 in CW_SET_DOS_FILE_WARNING
Corinna Vinschen [Mon, 12 Oct 2009 19:26:08 +0000 (19:26 +0000)]
* external.cc (cygwin_internal): Return 0 in CW_SET_DOS_FILE_WARNING
and CW_SETERRNO cases.

15 years ago * kill.cc (main): Skip to PID loop on invalid option to handle
Corinna Vinschen [Mon, 12 Oct 2009 16:01:44 +0000 (16:01 +0000)]
* kill.cc (main): Skip to PID loop on invalid option to handle
negative pids there.

15 years ago * fhandler_disk_file.cc (fhandler_disk_file::link): Only append .lnk
Corinna Vinschen [Mon, 12 Oct 2009 11:57:29 +0000 (11:57 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::link): Only append .lnk
if the original device had one, too.  Add comment.

* fhandler_socket.cc (fhandler_socket::fstat): Always return a size of
0 on sockets.

15 years ago2009-10-09 Dave Korn <dave.korn@artimi.com>
Jeff Johnston [Fri, 9 Oct 2009 18:43:12 +0000 (18:43 +0000)]
2009-10-09  Dave Korn  <dave.korn@artimi.com>

        * libc/include/sys/time.h (_TIMEVAL_DEFINED): Define when
        defining struct timeval.

15 years agomerge from gcc
DJ Delorie [Fri, 9 Oct 2009 16:17:35 +0000 (16:17 +0000)]
merge from gcc

15 years ago * pathnames.sgml (pathnames-specialchars): Add control chars to the
Corinna Vinschen [Fri, 9 Oct 2009 11:19:18 +0000 (11:19 +0000)]
* pathnames.sgml (pathnames-specialchars): Add control chars to the
list.  Explain backslash exception.

15 years ago * path.cc (tfx_chars): Convert all ASCII control characters except
Corinna Vinschen [Fri, 9 Oct 2009 11:17:17 +0000 (11:17 +0000)]
* path.cc (tfx_chars): Convert all ASCII control characters except
ASCII NUL as well.  Change layout to make the conversions more clear.
Add comment.

15 years ago * include/cygwin/config.h (DEFAULT_LOCALE): Define as "C.UTF-8".
Corinna Vinschen [Fri, 9 Oct 2009 08:36:21 +0000 (08:36 +0000)]
* include/cygwin/config.h (DEFAULT_LOCALE): Define as "C.UTF-8".

15 years ago * libc/locale/locale.c (DEFAULT_LOCALE): New define.
Corinna Vinschen [Fri, 9 Oct 2009 08:25:28 +0000 (08:25 +0000)]
* libc/locale/locale.c (DEFAULT_LOCALE): New define.
(__default_locale): New global variable set to the default locale.
(__get_locale_env): Return __default_locale rather than fixed "C".

15 years ago2009-10-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 8 Oct 2009 16:44:10 +0000 (16:44 +0000)]
2009-10-08  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.host: For RTEMS, define HAVE_ASSERT_FUNC.
        * libc/stdlib/assert.c (_assert_func): Do not specify
        __assert_func if HAVE_ASSERT_FUNC flag is set.

15 years ago2009-10-08 Jie Zhang <jie.zhang@analog.com>
Jeff Johnston [Thu, 8 Oct 2009 16:35:34 +0000 (16:35 +0000)]
2009-10-08  Jie Zhang  <jie.zhang@analog.com>

        * bfin/Makefile.in (basiccrt.o, basiccrts.o): Use
        -mcpu=bf532-any for the default multilib.

15 years ago2009-10-08 Eric Blake <ebb9@byu.net>
Jeff Johnston [Thu, 8 Oct 2009 16:26:28 +0000 (16:26 +0000)]
2009-10-08  Eric Blake  <ebb9@byu.net>

        * libc/include/getopt.h (__getopt_r, __getopt_long_r)
        (__getopt_long_only_r): Protect declarations, to avoid compiler
        warning.

15 years ago* exceptions.cc (_cygtls::signal_exit): There's no need to set signal_arrived
Christopher Faylor [Thu, 8 Oct 2009 15:56:14 +0000 (15:56 +0000)]
* exceptions.cc (_cygtls::signal_exit): There's no need to set signal_arrived
if we're exiting.

15 years ago* fhandler_disk_file.cc (utimens_fs): Plug fd leak on EINVAL.
Eric Blake [Thu, 8 Oct 2009 11:13:45 +0000 (11:13 +0000)]
* fhandler_disk_file.cc (utimens_fs): Plug fd leak on EINVAL.

15 years ago * libc/locale/nl_langinfo.c (nl_langinfo): Just return current locale
Corinna Vinschen [Wed, 7 Oct 2009 16:45:23 +0000 (16:45 +0000)]
* libc/locale/nl_langinfo.c (nl_langinfo): Just return current locale
charset on Cygwin.

15 years agoSupport pseudo-reloc version 2
Charles Wilson [Wed, 7 Oct 2009 15:47:38 +0000 (15:47 +0000)]
Support pseudo-reloc version 2

15 years ago * syscalls.cc (seteuid32): Call set_cygwin_privileges on primary token
Corinna Vinschen [Wed, 7 Oct 2009 08:20:49 +0000 (08:20 +0000)]
* syscalls.cc (seteuid32): Call set_cygwin_privileges on primary token
as well.

15 years ago * fhandler.h (fhandler_pty_master::tcgetpgrp): Declare.
Corinna Vinschen [Wed, 7 Oct 2009 07:52:30 +0000 (07:52 +0000)]
* fhandler.h (fhandler_pty_master::tcgetpgrp): Declare.
* fhandler_termios.cc (fhandler_termios::tcgetpgrp): Only return
valid pgid if tty is controlling tty.  Set errno to ENOTTY and
return -1 otherwise.
(fhandler_pty_master::tcgetpgrp): New function.  Return 0 for
master side of pty if it's not the controlling tty of the process.

15 years agoSync with gcc repository.
Ian Lance Taylor [Wed, 7 Oct 2009 05:57:49 +0000 (05:57 +0000)]
Sync with gcc repository.

15 years agomerge from gcc
DJ Delorie [Wed, 7 Oct 2009 02:57:27 +0000 (02:57 +0000)]
merge from gcc

15 years agoAdd cygwin wrapper for ExitProcess and TerminateProcess.
Charles Wilson [Tue, 6 Oct 2009 21:51:17 +0000 (21:51 +0000)]
Add cygwin wrapper for ExitProcess and TerminateProcess.

15 years agoMerge from gcc repository.
Ian Lance Taylor [Tue, 6 Oct 2009 20:14:06 +0000 (20:14 +0000)]
Merge from gcc repository.

15 years ago* exceptions.cc: Move global variable sigExeced...
Christopher Faylor [Tue, 6 Oct 2009 03:39:38 +0000 (03:39 +0000)]
* exceptions.cc: Move global variable sigExeced...
* globals.cc: here.
* pinfo.cc (pinfo::maybe_set_exit_code_from_windows): Remove now unneeded
declaration.

15 years ago * Makefile.in (CFLAGS): Add -mno-use-libstdc-wrappers.
Dave Korn [Sun, 4 Oct 2009 17:48:05 +0000 (17:48 +0000)]
* Makefile.in (CFLAGS): Add -mno-use-libstdc-wrappers.

15 years ago * include/winbase.h (CreateRestrictedToken): Declare for >= Win 2000.
Corinna Vinschen [Sun, 4 Oct 2009 12:28:08 +0000 (12:28 +0000)]
* include/winbase.h (CreateRestrictedToken): Declare for >= Win 2000.
_WIN32_WINNT >= 0x0500.
(DISABLE_MAX_PRIVILEGE, SANDBOX_INERT, LUA_TOKEN,
WRITE_RESTRICTED): Define.
(IsTokenRestricted): Declare for >= Win 2000.

15 years ago * syscalls.cc (internal_setlocale): Add comment.
Corinna Vinschen [Sun, 4 Oct 2009 11:32:07 +0000 (11:32 +0000)]
* syscalls.cc (internal_setlocale): Add comment.

15 years ago * faq-using.xml (faq.using.bloda): Add Lenovo IPS Core Service.
Dave Korn [Sat, 3 Oct 2009 13:33:18 +0000 (13:33 +0000)]
* faq-using.xml (faq.using.bloda): Add Lenovo IPS Core Service.

15 years ago * libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Allow CESU-8 surrogate
Corinna Vinschen [Sat, 3 Oct 2009 08:51:07 +0000 (08:51 +0000)]
* libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Allow CESU-8 surrogate
value encoding.
* libc/stdlib/wctomb_r.c (__utf8_mbtowc): Allow CESU-8 surrogate
value decoding.

15 years agomerge from gcc
DJ Delorie [Fri, 2 Oct 2009 18:22:51 +0000 (18:22 +0000)]
merge from gcc

15 years ago * dcrt0.cc (dll_crt0_1): Drop calls to setlocale/_setlocale_r. Just
Corinna Vinschen [Fri, 2 Oct 2009 14:58:10 +0000 (14:58 +0000)]
* dcrt0.cc (dll_crt0_1): Drop calls to setlocale/_setlocale_r.  Just
call initial_setlocale from here.
* syscalls.cc (initial_setlocale): Set internal charset and revert
application locale to "C".
(setlocale): Don't set Cygwin's internal charset here.

15 years agogas/
Peter Bergner [Fri, 2 Oct 2009 14:42:42 +0000 (14:42 +0000)]
gas/
* config/tc-ppc.c (md_show_usage): Document -m476.
* doc/c-ppc.texi (PowerPC-Opts): Document -m476.

gas/testsuite/
* gas/ppc/476.s: New test.
* gas/ppc/476.d: Likewise.
* gas/ppc/ppc.exp: Run the 476 test.

include/opcode/
* ppc.h (PPC_OPCODE_476): Define.

opcodes/
* ppc-dis.c (ppc_opts): Add "476" entry.
* ppc-opc.c (PPC476): Define.
(powerpc_opcodes): Update mnemonics where required for 476.

15 years agoinclude/aout/
Alan Modra [Fri, 2 Oct 2009 14:40:41 +0000 (14:40 +0000)]
include/aout/
* aout64.h (N_SHARED_LIB): Define as zero if not already defined.
* sun4.h (N_SHARED_LIB): Define.
* hp300hpux.h (N_SHARED_LIB): Don't define.
bfd/
* aout-cris.c (N_SHARED_LIB): Don't define.
* hp300bsd.c (N_SHARED_LIB): Don't define.
* i386bsd.c (N_SHARED_LIB): Don't define.
* i386linux.c (N_SHARED_LIB): Don't define.
* i386lynx.c (N_SHARED_LIB): Don't define.
* m68klinux.c (N_SHARED_LIB): Don't define.
* m88kmach3.c (N_SHARED_LIB): Don't define.
* mipsbsd.c (N_SHARED_LIB): Don't define.
* newsos3.c (N_SHARED_LIB): Don't define.
* pc532-mach.c (N_SHARED_LIB): Don't define.
* pdp11.c (N_SHARED_LIB): Don't define.
* sparclinux.c (N_SHARED_LIB): Don't define.
* vaxbsd.c (N_SHARED_LIB): Don't define.

15 years ago* mkpasswd.c: Properly define __progname as __declspec(dllimport).
Christopher Faylor [Fri, 2 Oct 2009 13:49:39 +0000 (13:49 +0000)]
* mkpasswd.c: Properly define __progname as __declspec(dllimport).
* mkgroup.c: Ditto.

15 years ago * setup2.sgml (setup-locale-ov): Fix typo in C+charset example.
Corinna Vinschen [Fri, 2 Oct 2009 12:35:52 +0000 (12:35 +0000)]
* setup2.sgml (setup-locale-ov): Fix typo in C+charset example.
Rephrase how the locale environment variables are evaluated.

15 years ago* dcrt0.cc (dll_crt0_1): Move cxx_malloc reset kluge from here.
Christopher Faylor [Fri, 2 Oct 2009 06:04:57 +0000 (06:04 +0000)]
* dcrt0.cc (dll_crt0_1): Move cxx_malloc reset kluge from here.
(check_sanity_and_sync): to here.
* path.cc (has_dot_last_component): Rewrite to detect some corner cases that
were previously uncaught.

15 years agogas/
Peter Bergner [Thu, 1 Oct 2009 19:24:48 +0000 (19:24 +0000)]
gas/
* config/tc-ppc.c (md_show_usage): Rename "ppca2" to "a2".
* doc/c-ppc.texi (PowerPC-Opts): Likewise.

gas/testsuite/
* gas/ppc/a2.d: Rename "ppca2" to "a2".

include/opcode/
* ppc.h (PPC_OPCODE_A2): Rename from PPC_OPCODE_PPCA2.

opcodes/
* ppc-opc.c (PPCA2): Use renamed mask PPC_OPCODE_A2.
* ppc-dis.c (ppc_opts): Likewise.
Rename "ppca2" to "a2".

15 years ago * new-features.sgml (ov-new1.7-file): Ctrl-X, not Ctrl-N.
Corinna Vinschen [Wed, 30 Sep 2009 09:45:01 +0000 (09:45 +0000)]
* new-features.sgml (ov-new1.7-file): Ctrl-X, not Ctrl-N.
* pathnames.sgml (pathnames-unusual): Ditto.
* setup2.sgml (setup-locale-ov): Change description according to
latest changes.
(setup-locale-how): Rewrite.
(setup-locale-console): Enable section again.  Change to reflect
recent changes.
(setup-locale-problems): Change to reflect recent changes.

15 years ago * fhandler_console.cc (beep): Move up to avoid forward declaration.
Corinna Vinschen [Wed, 30 Sep 2009 09:23:45 +0000 (09:23 +0000)]
* fhandler_console.cc (beep): Move up to avoid forward declaration.
(fhandler_console::read): Just beep on characters invalid in current
charset.  Add comment.

15 years ago* syscalls.cc (rename): Fix regression in rename("dir","d/").
Eric Blake [Wed, 30 Sep 2009 02:11:05 +0000 (02:11 +0000)]
* syscalls.cc (rename): Fix regression in rename("dir","d/").

15 years ago2009-09-29 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 29 Sep 2009 21:31:07 +0000 (21:31 +0000)]
2009-09-29  Paolo Bonzini  <bonzini@gnu.org>

Sync from gcc:
2009-09-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.ac: Update minimum MPC version to 0.7.
* configure: Regenerate.

15 years agoMake MinGW printf() "%p" format compatible with MSVCRT scanf().
Keith Marshall [Tue, 29 Sep 2009 20:43:50 +0000 (20:43 +0000)]
Make MinGW printf() "%p" format compatible with MSVCRT scanf().

15 years ago * libc/locale/locale.c (loadlocale): Allow "C." same as "C-" as locale
Corinna Vinschen [Tue, 29 Sep 2009 19:12:28 +0000 (19:12 +0000)]
* libc/locale/locale.c (loadlocale): Allow "C." same as "C-" as locale
prefix.  Add some words to documentation.

15 years ago * libc/stdlib/sb_charsets.c: Throughout, translate undefined
Corinna Vinschen [Tue, 29 Sep 2009 19:11:01 +0000 (19:11 +0000)]
* libc/stdlib/sb_charsets.c: Throughout, translate undefined
characters to their corresponding Windows Unicode value.

15 years agobfd
Nick Clifton [Tue, 29 Sep 2009 14:17:13 +0000 (14:17 +0000)]
bfd
        * Makefile.am (ALL_MACHINES): Add cpu-rx.lo.
        (ALL_MACHINES_CFILES): Add cpu-rx.c.
        (BFD32_BACKENDS): Add elf32-rx.lo.
        (BFD32_BACKENDS_CFILES): Add elf32-rx.c.
        * archures.c (bfd_architecture): Add bfd_arch_rx and bfd_mach_rx.
        Export bfd_rx_arch.
        (bfd_archures_list): Add bfd_rx_arch.
        * config.bfd: Add entry for rx-*-elf.
        * configure.in: Add entries for bfd_elf32_rx_le_vec and
        bfd_elf32_rx_be_vec.
        * reloc.c: Add RX relocations.
        * targets.c: Add RX target vectors.
        * Makefile.in: Regenerate.
        * bfd-in2.h: Regenerate.
        * configure: Regenerate.
        * libbfd.h: Regenerate.
        * cpu-rx.c: New file.
        * elf32-rx.c: New file.

binutils
        * readelf.c: Add support for RX target.
        * MAINTAINERS: Add DJ and NickC as maintainers for RX.

gas
        * Makefile.am: Add RX target.
        * configure.in: Likewise.
        * configure.tgt: Likewise.
        * read.c (do_repeat_with_expander): New function.
        * read.h: Provide a prototype for do_repeat_with_expander.
        * doc/Makefile.am: Add RX target documentation.
        * doc/all.texi: Likewise.
        * doc/as.texinfo: Likewise.
        * Makefile.in: Regenerate.
        * NEWS: Mention support for RX architecture.
        * configure: Regenerate.
        * doc/Makefile.in: Regenerate.
        * config/rx-defs.h: New file.
        * config/rx-parse.y: New file.
        * config/tc-rx.h: New file.
        * config/tc-rx.c: New file.
        * doc/c-rx.texi: New file.

gas/testsuite
        * gas/rx: New directory.
        * gas/rx/*: New set of test cases.
        * gas/elf/section2.e-rx: New expected output file.
        * gas/all/gas.exp: Add support for RX target.
        * gas/elf/elf.exp: Likewise.
        * gas/lns/lns.exp: Likewise.
        * gas/macros/macros.exp: Likewise.

include
        * dis-asm.h: Add prototype for print_insn_rx.

include/elf
        * rx.h: New file.

include/opcode
        * rx.h: New file.

ld
        * Makefile.am: Add rules to build RX emulation.
        * configure.tgt: Likewise.
        * NEWS: Mention support for RX architecture.
        * Makefile.in: Regenerate.
        * emulparams/elf32rx.sh: New file.
        * emultempl/rxelf.em: New file.

opcodes
        * Makefile.am: Add RX files.
        * configure.in: Add support for RX target.
        * disassemble.c: Likewise.
        * Makefile.in: Regenerate.
        * configure: Regenerate.
        * opc2c.c: New file.
        * rx-decode.c: New file.
        * rx-decode.opc: New file.
        * rx-dis.c: New file.

15 years ago * fhandler_socket.cc (fhandler_socket::recv_internal): Always call
Corinna Vinschen [Tue, 29 Sep 2009 08:46:29 +0000 (08:46 +0000)]
* fhandler_socket.cc (fhandler_socket::recv_internal): Always call
WSARecv on SOCK_STREAM sockets.

15 years ago2009-09-28 Michael Eager <eager@eagercon.com>
Jeff Johnston [Mon, 28 Sep 2009 16:43:57 +0000 (16:43 +0000)]
2009-09-28  Michael Eager <eager@eagercon.com>

        * configure.in: Add microblaze-*-*.
        * configure: Add microblaze-*-* (not regenerated.)
        * microblaze: NEW microblaze target directory.
        * microblaze/configure.in: NEW.
        * microblaze/configure: Generate.
        * microblaze/Makefile.in: NEW.
        * microblaze/{crt0.S, crt1.S, crt2.S, crt3.S, crt4.S, crtinit.S}: NEW.
        * microblaze/{pgcrtinit.S, _program_clean.S, _program_init.S,
        sbrk.c, sim-crtinit.S, sim-pgcrtinit.S, timer.c, _exception_handler.S,
        _hw_exception_handler.S, _interrupt_handler.S, xil_malloc.c,
        nnxil_printf.c, xil_sbrk.c: NEW.
        * microblaze/xilinx.ld: NEW.

15 years ago2009-09-28 Michael Eager <eager@eagercon.com>
Jeff Johnston [Mon, 28 Sep 2009 16:42:21 +0000 (16:42 +0000)]
2009-09-28  Michael Eager <eager@eagercon.com>

        * configure.host: Add microblaze.
        * libc/include/machine/ieeefp.h [MICROBLAZE]: Define __IEEE_BIG_ENDIAN.
        * libc/include/machine/setjmp.h [MICROBLAZE]: Define _JBLEN, _JBTYPE.
        * libc/include/sys/config.h [MICROBLAZE]: Define _REENT_SMALL,
        _UNIX98_THREAD_MUTEX_ATTRIBUTES.
        * libc/include/sys/types.h: Treat XMK like rtems, define
        PTHREAD_MUTEX_NORMAL, PTHREAD_MUTEX_ERRORCHECK, PTHREAD_MUTEX_RECURSIVE,
        PTHREAD_MUTEX_DEFAULT, PTHREAD_STACK_MIN, define stuct pthread_attr_s.
        * libc/machine/configure.in: Add microblaze.
        * libc/machine/configure: Add microblaze (not regenerated).
        * libc/machine/microblaze/configure.in: NEW.
        * libc/machine/microblaze/configure: Generate.
        * libc/machine/microblaze/Makefile.am: NEW.
        * libc/machine/microblaze/Makefile.in: Generate.
        * libc/machine/microblaze/{abort.c, strcmp.c, strcpy.c, strlen.c,
        mallocr.c, longjmp.S, setjmp.S}: NEW.
        * libc/stdlib/mallocr.c [MICROBLAZE]: Don't declare sbrk prototype,
        mALLOc(): return malloc value.

15 years ago * fhandler.h (class dev_console): Constify charset parameter of
Corinna Vinschen [Mon, 28 Sep 2009 12:10:32 +0000 (12:10 +0000)]
* fhandler.h (class dev_console): Constify charset parameter of
str_to_con.
* fhandler_console.cc (dev_console::con_to_str): Simplify.  Always
default to the current internal locale.
(dev_console::get_console_cp): Always use codepage 437 for alternate
charset.
(dev_console::str_to_con): Constify charset parameter.
(fhandler_console::write_normal): Always use codepage 437 for alternate
charset.  Otherwise always default to the current internal locale.
Replace ASCII SO with ASCII CAN.
* strfuncs.cc: Tweka comments according to below changes.
(sys_cp_wcstombs): Constify charset parameter.  Convert all wchar_t
values in the Unicode private use area U+F0xx to the singlebyte
counterpart.  Drop special handling creating ASCII SO sequence from
U+DCxx value.  Rearrange for performance.  Replace ASCII SO with
ASCII CAN.
(sys_cp_mbstowcs): Constify charset parameter.  Replace ASCII SO with
ASCII CAN.  Drop special case for U+DCxx ASCII SO sequences.  Always
create a replacement from the Unicode private use area U+F0xx for
invalid byte values in a multibyte sequence.  Do the same for wchar_t
values from the U+F0xx range to make them roundtrip safe.
* wchar.h (sys_cp_wcstombs): Constify charset parameter.
(sys_cp_mbstowcs): Ditto.

15 years ago * cygheap.cc (cygheap_init): Default locale.charset to "UTF-8".
Corinna Vinschen [Mon, 28 Sep 2009 10:43:49 +0000 (10:43 +0000)]
* cygheap.cc (cygheap_init): Default locale.charset to "UTF-8".
* dcrt0.cc (dll_crt0_1): Call setlocale (LC_CTYPE, "") here, just
before resetting application locale to "C".
* environ.cc (environ_init): Drop code setting locale here.
* syscalls.cc (check_codepage): Break out check for required codepage
from internal_setlocale.
(internal_setlocale): Just convert CWD and $PATH from old charset to
new charset and set internal charset.
(setlocale): Change accordingly.  Don't require LC_ALL or LC_CTYPE to
store old locale value.  Always call internal_setlocale if charset
changed due to locale environment changes.

15 years ago * libc/locale/locale.c (lc_ctype_charset): Set to "UTF-8" on Cygwin.
Corinna Vinschen [Sun, 27 Sep 2009 12:21:16 +0000 (12:21 +0000)]
* libc/locale/locale.c (lc_ctype_charset): Set to "UTF-8" on Cygwin.
(lc_message_charset): Ditto.
(loadlocale): Set charset of the "C" locale to "UTF-8" on Cygwin.
* libc/stdlib/mbtowc_r.c (__mbtowc): Default to __utf8_mbtowc on
Cygwin.
* libc/stdlib/wctomb_r.c (__wctomb): Default to __utf8_wctomb on
Cygwin.

15 years ago* new-features.sgml (ov-new1.7-file): Mention fexecve, execvpe.
Eric Blake [Sat, 26 Sep 2009 21:01:59 +0000 (21:01 +0000)]
* new-features.sgml (ov-new1.7-file): Mention fexecve, execvpe.

15 years agoAdd fexecve, execvpe.
Eric Blake [Sat, 26 Sep 2009 21:01:10 +0000 (21:01 +0000)]
Add fexecve, execvpe.

* exec.cc (fexecve): New function.
* cygwin.din (execvpe, fexecve): Export new fexecve and existing
execvpe.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* posix.sgml: Mention them.

15 years ago* libc/include/sys/unistd.h (execvpe, fexecve) [__CYGWIN__]:
Eric Blake [Sat, 26 Sep 2009 20:59:54 +0000 (20:59 +0000)]
* libc/include/sys/unistd.h (execvpe, fexecve) [__CYGWIN__]:
Add declarations.

15 years agoFix some POSIX-compliance bugs in link, rename, mkdir.
Eric Blake [Sat, 26 Sep 2009 15:51:53 +0000 (15:51 +0000)]
Fix some POSIX-compliance bugs in link, rename, mkdir.

* syscalls.cc (link): Delete obsolete comment.  Reject directories
and missing source up front.
(rename): Use correct errno for trailing '.'.  Detect empty
strings.  Allow trailing slash to newpath iff oldpath is
directory.
* dir.cc (mkdir): Reject dangling symlink with trailing slash.
* fhandler_disk_file.cc (fhandler_disk_file::link): Reject
trailing slash.
* fhandler.cc (fhandler_base::link): Match Linux errno.

15 years agomerge from gcc
DJ Delorie [Sat, 26 Sep 2009 00:01:16 +0000 (00:01 +0000)]
merge from gcc

15 years ago* libc/include/sys/unistd.h (eaccess, euidaccess) [__CYGWIN__]:
Eric Blake [Fri, 25 Sep 2009 23:57:09 +0000 (23:57 +0000)]
* libc/include/sys/unistd.h (eaccess, euidaccess) [__CYGWIN__]:
Add declarations.

15 years ago* new-features.sgml (ov-new1.7-file): Mention eaccess, euidaccess,
Eric Blake [Fri, 25 Sep 2009 23:56:18 +0000 (23:56 +0000)]
* new-features.sgml (ov-new1.7-file): Mention eaccess, euidaccess,
canonicalize_file_name, and document change in access semantics.

15 years agoProvide euidaccess, canonicalize_file_name; fix fchmodat.
Eric Blake [Fri, 25 Sep 2009 23:55:00 +0000 (23:55 +0000)]
Provide euidaccess, canonicalize_file_name; fix fchmodat.

* syscalls.cc (fchmodat): lchmod is not yet implemented.
(euidaccess): New function.
* path.cc (realpath): Update comment.
(canonicalize_file_name): New function.
* include/cygwin/stdlib.h (canonicalize_file_name): Declare it.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* cygwin.din: Export canonicalize_file_name, eaccess, euidaccess.
* posix.sgml: Mention them.

15 years ago * configure.ac: Pass any --cache-file=/dev/null option on to
Nick Clifton [Fri, 25 Sep 2009 19:25:04 +0000 (19:25 +0000)]
    * configure.ac: Pass any --cache-file=/dev/null option on to
        subconfigures.
        * configure: Regenerate.

15 years agomerge from gcc
DJ Delorie [Fri, 25 Sep 2009 19:02:00 +0000 (19:02 +0000)]
merge from gcc

15 years ago * setup2.sgml (setup-locale-problems): Fix charset names of codepages
Corinna Vinschen [Fri, 25 Sep 2009 16:42:36 +0000 (16:42 +0000)]
* setup2.sgml (setup-locale-problems): Fix charset names of codepages
936 and 949.

15 years agoFix faccessat(,0) and access() semantics.
Eric Blake [Fri, 25 Sep 2009 13:44:45 +0000 (13:44 +0000)]
Fix faccessat(,0) and access() semantics.

* fhandler.h (fhandler_base::fhaccess): Add parameter.
* security.h (check_file_access, check_registry_access): Likewise.
* security.cc (check_file_access, check_registry_access)
(check_access): Implement new parameter.
* fhandler.cc (fhandler_base::fhaccess): Likewise.
(device_access_denied): Update caller.
* syscalls.cc (access, faccessat): Update callers.
* spawn.cc (find_exec, fixup): Likewise.

15 years ago* setup2.sgml (setup-locale-problems): Document how to install
Eric Blake [Fri, 25 Sep 2009 12:27:46 +0000 (12:27 +0000)]
* setup2.sgml (setup-locale-problems): Document how to install
non-default charsets.

15 years agoinclude/
Cary Coutant [Thu, 24 Sep 2009 20:52:07 +0000 (20:52 +0000)]
include/

* dwarf2.h (DW_TAG_rvalue_reference_type, DW_TAG_template_alias):
New tags.
(DW_FORM_ref_sig8): New name for DW_FORM_sig8.
(DW_AT_main_subprogram, DW_AT_data_bit_offset, DW_AT_const_expr,
DW_AT_enum_class, DW_AT_linkage_name, DW_AT_GNU_guarded_by,
DW_AT_GNU_pt_guarded_by, DW_AT_GNU_guarded, DW_AT_GNU_pt_guarded,
DW_AT_GNU_locks_excluded, DW_AT_GNU_exclusive_locks_required,
DW_AT_GNU_shared_locks_required, DW_AT_GNU_odr_signature): New
attributes.
(DW_LANG_Python): New language.

binutils/

* dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
(get_FORM_name): Add new DWARF-4 forms.
(read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
(get_AT_name): Add new DWARF-4 and GNU-specific attributes.
(process_debug_info): Add do_types parameter; change all callers.
Add support for .debug_types sections.
(display_debug_types): New function.
(debug_displays): Add .debug_types section.
* readelf.c (process_section_headers): Add .debug_types section.
(display_debug_section): Simplify call to streq.

15 years ago * posix_ipc.cc (mq_open): Avoid closing the same descriptor twice in
Corinna Vinschen [Thu, 24 Sep 2009 09:25:35 +0000 (09:25 +0000)]
* posix_ipc.cc (mq_open): Avoid closing the same descriptor twice in
case of errors.
(sem_open): Ditto.

15 years ago * kernel32.cc (CreateMutexW): Use correct access mask.
Corinna Vinschen [Thu, 24 Sep 2009 09:09:45 +0000 (09:09 +0000)]
* kernel32.cc (CreateMutexW): Use correct access mask.
(CreateSemaphoreW): Ditto.

15 years ago * libc/locale/locale.c: Drop Cygwin-specific windows.h include.
Corinna Vinschen [Wed, 23 Sep 2009 17:19:00 +0000 (17:19 +0000)]
* libc/locale/locale.c: Drop Cygwin-specific windows.h include.
(loadlocale): Call __set_charset_from_codepage with 0 codepage.

15 years ago * strfuncs.cc (__set_charset_from_codepage): Fetch current ANSI
Corinna Vinschen [Wed, 23 Sep 2009 17:13:55 +0000 (17:13 +0000)]
* strfuncs.cc (__set_charset_from_codepage): Fetch current ANSI
codepage if cp is 0.

15 years ago Fix typo.
Corinna Vinschen [Wed, 23 Sep 2009 12:01:42 +0000 (12:01 +0000)]
Fix typo.

15 years ago * strfuncs.cc (sys_cp_wcstombs): Convert lone surrogate pair
Corinna Vinschen [Wed, 23 Sep 2009 11:31:00 +0000 (11:31 +0000)]
* strfuncs.cc (sys_cp_wcstombs): Convert lone surrogate pair
second halves to unambiguous ASCII SO sequence.  When converting
chars invalid in current codepage to ASCII SO sequence, make
sure to check for surrogate pair second half only if ct least
one wide characters is left.  Decrement nwc if valid second half has
been converted.
(sys_cp_mbstowcs): Improve ASCII SO handling.  Never break from loop
if invalid character has been found.  Recognize ASCII SO sequence
representing originally invalid mulitbyte char converted into a
lone surrogate pair second half.  Convert accordingly.

15 years ago * config.sub, config.guess: Update from upstream sources.
Nick Clifton [Wed, 23 Sep 2009 09:51:31 +0000 (09:51 +0000)]
    * config.sub, config.guess: Update from upstream sources.

15 years agomerge from gcc
DJ Delorie [Tue, 22 Sep 2009 21:52:47 +0000 (21:52 +0000)]
merge from gcc

15 years ago2009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
Jeff Johnston [Tue, 22 Sep 2009 21:49:20 +0000 (21:49 +0000)]
2009-09-22  Ralf Corsépius <ralf.corsepius@rtems.org>

        * libc/include/stdlib.h: Add posix_memalign.

15 years ago2009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
Jeff Johnston [Tue, 22 Sep 2009 21:24:55 +0000 (21:24 +0000)]
2009-09-22  Ralf Corsépius <ralf.corsepius@rtems.org>

        * configure.host (*-rtems*): Remove -DMISSING_SYSCALL_NAMES.
        Add -DHAVE_BLKSIZE, -D_NO_WORDEXP -D_NO_POPEN.

15 years ago2009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
Jeff Johnston [Tue, 22 Sep 2009 21:23:13 +0000 (21:23 +0000)]
2009-09-22  Ralf Corsépius <ralf.corsepius@rtems.org>

        * configure.host (m32c): Move setting -DABORT_PROVIDED to second
        "case $host".

15 years agoError out if building separately but srcdir has build remnants.
Ralf Wildenhues [Tue, 22 Sep 2009 18:00:40 +0000 (18:00 +0000)]
Error out if building separately but srcdir has build remnants.

/:
PR bootstrap/32272
* configure.ac: Error out if $srcdir isn't '.' but contains
host-${host_noncanonical}.
* configure: Regenerate.

15 years ago * autoload.cc (WSARecv): Define.
Corinna Vinschen [Tue, 22 Sep 2009 14:27:57 +0000 (14:27 +0000)]
* autoload.cc (WSARecv): Define.
* fhandler_socket.cc (fhandler_socket::recv_internal): Call WSARecv
instead of WSARecvFrom if no name parameter is given.  Explain why.

15 years agoMake *at functions more like Linux.
Eric Blake [Tue, 22 Sep 2009 12:13:53 +0000 (12:13 +0000)]
Make *at functions more like Linux.

* syscalls.cc (faccessat): Fix typo, reject bad flags.
(fchmodat, fchownat, fstatat, utimensat, linkat, unlinkat): Reject
bad flags.

15 years ago * strfuncs.cc (sys_cp_mbstowcs): Reset shift state after handling
Corinna Vinschen [Tue, 22 Sep 2009 09:44:32 +0000 (09:44 +0000)]
* strfuncs.cc (sys_cp_mbstowcs): Reset shift state after handling
invalid multibyte sequence.

15 years ago * path.cc (symlink_worker): Rework error handling to generate Linux
Corinna Vinschen [Tue, 22 Sep 2009 09:24:30 +0000 (09:24 +0000)]
* path.cc (symlink_worker): Rework error handling to generate Linux
compatible errno in case of trailing slash in newpath.

15 years agoMatch dup2 and fcntl error values to POSIX.
Eric Blake [Tue, 22 Sep 2009 04:09:03 +0000 (04:09 +0000)]
Match dup2 and fcntl error values to POSIX.

* dtable.h (OPEN_MAX_MAX): New macro.
* resource.cc (getrlimit) [RLIMIT_NOFILE]: Use it.
* dtable.cc (dtable::extend): Likewise.
* fcntl.cc (fcntl64): Obey POSIX rule with too-large F_DUPFD.
* syscalls.cc (dup2): Likewise.

15 years ago* ChangeLog-2002: Fix typo.
Eric Blake [Tue, 22 Sep 2009 02:49:15 +0000 (02:49 +0000)]
* ChangeLog-2002: Fix typo.
* ChangeLog-2008: Likewise.

15 years agoo * ppc.h (ppc_cpu_t): Typedef to uint64_t.
Alan Modra [Tue, 22 Sep 2009 02:36:26 +0000 (02:36 +0000)]
o * ppc.h (ppc_cpu_t): Typedef to uint64_t.

15 years agoRequire c++ in stage1_languages with --enable-gold in combined bootstrap.
Ralf Wildenhues [Mon, 21 Sep 2009 20:32:59 +0000 (20:32 +0000)]
Require c++ in stage1_languages with --enable-gold in combined bootstrap.

/:
* configure.ac: If bootstrapping a combined tree with
--enable-gold, require c++ in stage1_languages.
* configure: Regenerate.

15 years agotoplevel configure: bootstrap target_libs of stage1_languages.
Ralf Wildenhues [Mon, 21 Sep 2009 20:31:02 +0000 (20:31 +0000)]
toplevel configure: bootstrap target_libs of stage1_languages.

/:
* configure.ac: Also add target_libs of stage1_languages to
bootstrap_target_libs.
* configure: Regenerate.

15 years ago * cygheap.h (cwdstuff::get_posix): Convert to const inline method just
Corinna Vinschen [Mon, 21 Sep 2009 19:29:16 +0000 (19:29 +0000)]
* cygheap.h (cwdstuff::get_posix): Convert to const inline method just
returning pointer to posix path.
(cwdstuff::reset_posix): Convert to non-inline method taking a wchar_t
pointer.
* path.cc (cwdstuff::set): Revert change from 2009-05-13.  Set posix
to valid incoming path again.
(cwdstuff::reset_posix): New implementation setting posix path from
incoming wchar_t path.  Explain usage.
(cwdstuff::get_posix): Drop implementation.
(cwdstuff::get): Drop special case to handle empty posix path.
* syscalls.cc (internal_setlocale): Store old posix cwd as wide char
path.  Restore posix cwd using new charset.  Explain why.

15 years agoDiagnose --enable-build-with-cxx --enable-bootstrap --enable-languages w/o c++
Ralf Wildenhues [Mon, 21 Sep 2009 19:25:05 +0000 (19:25 +0000)]
Diagnose --enable-build-with-cxx --enable-bootstrap --enable-languages w/o c++

/:
* configure.ac: Diagnose --enable-build-with-cxx bootstrap
with --enable-languages not containing c++.
* configure: Regenerate.

15 years ago2009-09-21 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Mon, 21 Sep 2009 16:07:34 +0000 (16:07 +0000)]
2009-09-21  Ken Werner  <ken.werner@de.ibm.com>

        * spu/getpagesize.c: Align getpagesize implementation to POSIX

15 years agoinclude/elf/
Alan Modra [Mon, 21 Sep 2009 11:51:01 +0000 (11:51 +0000)]
include/elf/
* ppc.h (DT_PPC_TLSOPT): Define.
* ppc64.h (DT_PPC64_TLSOPT): Define.
bfd/
* elf32-ppc.c (TLS_GET_ADDR_GLINK_SIZE): Define.
(ADD_3_12_2, BEQLR, CMPWI_11_0, LWZ_11_3, LWZ_12_3): Define.
(MR_0_3, MR_3_0): Define.
(struct ppc_elf_link_hash_table): Add no_tls_get_addr_opt.
(ppc_elf_select_plt_layout): Save emit_stub_syms param earlier.
(ppc_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash
table.  Check for presense of __tls_get_addr_opt
(allocate_dynrelocs): Increase glink entry size for __tls_get_addr.
(ppc_elf_size_dynamic_sections): Add DT_PPC_TLS_OPT tag.
(write_glink_stub): Add param p.
(ppc_elf_relocate_section): Adjust write_glink_stub call.
(ppc_elf_finish_dynamic_symbol): Emit special glink call stub for
__tls_get_addr.
* elf32-ppc.h (ppc_elf_tls_setup): Update prototype.
* elf64-ppc.c (struct ppc_link_hash_table): Add no_tls_get_addr_opt.
(ppc64_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash
table.  Check for presense of __tls_get_addr_opt.
(ppc64_elf_size_dynamic_sections): Add DT_PPC64_TLS_OPT tag.
(LD_R11_0R3, LD_R12_0R3, MR_R0_R3, CMPDI_R11_0, ADD_R3_R12_R13,
BEQLR, MR_R3_R0, MFLR_R11, STD_R11_0R1, BCTRL, LD_R11_0R1,
LD_R2_0R1, MTLR_R11): Define.
(build_tls_get_addr_stub): New function.
(ppc_build_one_stub): Call it.
(ppc_size_one_stub): Add extra size for __tls_get_addr stub.
(ppc64_elf_relocate_section): Don't change nop to ld 2,40(1) for
__tls_get_addr plt call.
* elf64-ppc.h (ppc64_elf_tls_setup): Update prototype.
binutils/
* readelf.c (get_ppc_dynamic_type): Add TLSOPT.
(get_ppc64_dynamic_type): Likewise.
ld/
* emultempl/ppc32elf.em (no_tls_get_addr_opt): New var.
(ppc_before_allocation): Pass to ppc_elf_tls_setup.
(OPTION_NO_TLS_GET_ADDR_OPT): Define.  Redefine other options in
terms of previous option.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
--no-tls-get-addr-optimize.
(PARSE_AND_LIST_ARGS_CASES): Handle it.
* emultempl/ppc64elf.em (no_tls_get_addr_opt): New var.
(ppc_before_allocation): Pass to ppc64_elf_tls_setup.
(OPTION_NO_TLS_GET_ADDR_OPT): Define.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
--no-tls-get-addr-optimize.
(PARSE_AND_LIST_ARGS_CASES): Handle it.
ld/testsuite/
* ld-powerpc/tlslib.s: Delete dot-symbol entry syms.  Add
__tls_get_addr_opt.
* ld-powerpc/tlslib32.s: Add __tls_get_addr_opt.
* ld-powerpc/oldtlslib.s: New file, old-abi version of tlslib.s.
* ld-powerpc/powerpc.exp: Build old-abi library and use it in
two new link tests.
* ld-powerpc/tlsexe.d: Update for new __tls_get_addr stub.
* ld-powerpc/tlsexe.g, * ld-powerpc/tlsexe.r, *ld-powerpc/tlsexe32.d,
* ld-powerpc/tlsexe32.g, * ld-powerpc/tlsexe32.r,
* ld-powerpc/tlsexetoc.d, * ld-powerpc/tlsexetoc.g,
* ld-powerpc/tlsexetoc.r: Likewise.

15 years ago * new-features.sgml (ov-new1.7-file): Add new hardlink behaviour on
Corinna Vinschen [Mon, 21 Sep 2009 11:01:19 +0000 (11:01 +0000)]
* new-features.sgml (ov-new1.7-file): Add new hardlink behaviour on
filesystems not supporting hardlinks.
* overview2.sgml (ov-hi-files): Change descripton accordingly.

15 years ago * fhandler_disk_file.cc (fhandler_disk_file::link): Drop faking hardlink
Corinna Vinschen [Mon, 21 Sep 2009 10:56:50 +0000 (10:56 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::link): Drop faking hardlink
creation on filesystems not supporting hardlinks.

15 years agogas/
Ben Elliston [Mon, 21 Sep 2009 10:29:07 +0000 (10:29 +0000)]
gas/
* config/tc-ppc.c (md_show_usage): Document -mpcca2.
* doc/c-ppc.texi (PowerPC-Opts): Document -mppca2.

gas/testsuite/
* gas/ppc/a2.s: New.
* gas/ppc/a2.d: Likewise.
* gas/ppc/ppc.exp: Run the a2 dump test.

include/opcode/
* ppc.h (PPC_OPCODE_PPCA2): New.

opcodes/
* ppc-dis.c (ppc_opts): Add "ppca2" entry.
* ppc-opc.c (powerpc_opcodes): Add eratilx, eratsx, eratsx.,
eratre, wchkall, eratwe, ldawx., mdfcrx., mfdcr. mtdcrx., icswx,
icswx., mtdcr., dci, wclrone, wclrall, wclr, erativax, tlbsrx.,
ici mnemonics.
(ERAT_T): New operand.
(XWC_MASK): New mask.
(XOPL2): New macro.
(PPCA2): Define.

15 years ago* dcrt0.cc (dll_crt0_1): Add another hack to REALLY make sure that cxx_malloc
Christopher Faylor [Mon, 21 Sep 2009 02:32:06 +0000 (02:32 +0000)]
* dcrt0.cc (dll_crt0_1): Add another hack to REALLY make sure that cxx_malloc
is always set to the cygwin version.

15 years ago* external.cc (cygwin_internal): Add hack to always reset cxx_malloc to proper
Christopher Faylor [Mon, 21 Sep 2009 02:19:31 +0000 (02:19 +0000)]
* external.cc (cygwin_internal): Add hack to always reset cxx_malloc to proper
value.
* lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Relocate wayward comment.

15 years ago* exceptions.cc (sigpacket::process): Explicitly set thread-specific handler
Christopher Faylor [Sat, 19 Sep 2009 15:34:19 +0000 (15:34 +0000)]
* exceptions.cc (sigpacket::process): Explicitly set thread-specific handler
function to zero to avoid transferring to incorrect location.
(_cygtls::call_signal_handler): Don't transfer to handler if there is no
handler to transfer to.

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