]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
14 years ago * libc/rcmd.c: Enable IPv6.
Corinna Vinschen [Mon, 29 Mar 2010 09:00:25 +0000 (09:00 +0000)]
* libc/rcmd.c: Enable IPv6.

14 years agochange wording
Christopher Faylor [Sun, 28 Mar 2010 18:36:02 +0000 (18:36 +0000)]
change wording

14 years ago* fhandler.cc (fhandler_base::fstat): Set st_mtime time to current time.
Christopher Faylor [Sun, 28 Mar 2010 17:49:35 +0000 (17:49 +0000)]
* fhandler.cc (fhandler_base::fstat): Set st_mtime time to current time.

14 years ago* globals.cc (exit_status): Add new ES_EXIT_STARTING enum.
Christopher Faylor [Sun, 28 Mar 2010 17:27:52 +0000 (17:27 +0000)]
* globals.cc (exit_status): Add new ES_EXIT_STARTING enum.
* dcrt0.cc (cygwin_exit): Set exit_state to ES_EXIT_STARTING prior to calling
real exit.
* dll_init.cc (dll_list::detach): Remove dll from linked list and call
destructors even if exiting.  Don't call __cxa_finalize in exiting case.

14 years ago * setup2.sgml (setup-locale-charsetlist): Add EUC-CN and GB2312.
Corinna Vinschen [Sat, 27 Mar 2010 21:13:04 +0000 (21:13 +0000)]
* setup2.sgml (setup-locale-charsetlist): Add EUC-CN and GB2312.

14 years ago * locale.cc (print_charmaps): Add EUC-CN and GB2312.
Corinna Vinschen [Sat, 27 Mar 2010 21:08:02 +0000 (21:08 +0000)]
* locale.cc (print_charmaps): Add EUC-CN and GB2312.

14 years ago * nlsfuncs.cc (__set_charset_from_locale): Set default charset for
Corinna Vinschen [Sat, 27 Mar 2010 21:07:17 +0000 (21:07 +0000)]
* nlsfuncs.cc (__set_charset_from_locale):  Set default charset for
locales defaulting to codepage 936 to GB2312.

14 years ago * libc/locale/locale.c (loadlocale): Optimize "EUC" charset check.
Corinna Vinschen [Sat, 27 Mar 2010 21:04:49 +0000 (21:04 +0000)]
* libc/locale/locale.c (loadlocale): Optimize "EUC" charset check.
Cygwin only: Allow GB2312 and EUC-CN as alternative codeset names
for GBK.  Add to documentation.
* libc/locale/nl_langinfo.c (nl_langinfo): On Cygwin, translate EUCCN
to GB2312.

14 years ago * textbinary.sgml: Add missing </para>.
Corinna Vinschen [Sat, 27 Mar 2010 17:10:23 +0000 (17:10 +0000)]
* textbinary.sgml: Add missing </para>.

14 years ago* textbinary.sgml: Remove tr example and just mention u2d and d2u instead.
Christopher Faylor [Sat, 27 Mar 2010 05:26:51 +0000 (05:26 +0000)]
* textbinary.sgml: Remove tr example and just mention u2d and d2u instead.

14 years agobfd:
Joseph Myers [Thu, 25 Mar 2010 21:12:32 +0000 (21:12 +0000)]
bfd:
* Makefile.am (ALL_MACHINES): Add cpu-tic6x.lo.
(ALL_MACHINES_CFILES): Add cpu-tic6x.c.
(BFD32_BACKENDS): Add elf32-tic6x.lo.
(BFD32_BACKENDS_CFILES): Add elf32-tic6x.c.
* Makefile.in: Regenerate.
* archures.c (bfd_arch_tic6x, bfd_tic6x_arch): New.
(bfd_archures_list): Update.
* config.bfd (tic6x-*-elf): New.
* configure.in (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec):
New.
* configure: Regenerate.
* cpu-tic6x.c, elf32-tic6x.c: New.
* reloc.c (BFD_RELOC_C6000_PCR_S21, BFD_RELOC_C6000_PCR_S12,
BFD_RELOC_C6000_PCR_S10, BFD_RELOC_C6000_PCR_S7,
BFD_RELOC_C6000_ABS_S16, BFD_RELOC_C6000_ABS_L16,
BFD_RELOC_C6000_ABS_H16, BFD_RELOC_C6000_SBR_U15_B,
BFD_RELOC_C6000_SBR_U15_H, BFD_RELOC_C6000_SBR_U15_W,
BFD_RELOC_C6000_SBR_S16, BFD_RELOC_C6000_SBR_L16_B,
BFD_RELOC_C6000_SBR_L16_H, BFD_RELOC_C6000_SBR_L16_W,
BFD_RELOC_C6000_SBR_H16_B, BFD_RELOC_C6000_SBR_H16_H,
BFD_RELOC_C6000_SBR_H16_W, BFD_RELOC_C6000_SBR_GOT_U15_W,
BFD_RELOC_C6000_SBR_GOT_L16_W, BFD_RELOC_C6000_SBR_GOT_H16_W,
BFD_RELOC_C6000_DSBT_INDEX, BFD_RELOC_C6000_PREL31,
BFD_RELOC_C6000_COPY, BFD_RELOC_C6000_ALIGN,
BFD_RELOC_C6000_FPHEAD, BFD_RELOC_C6000_NOCMP): New.
* targets.c (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec): New.
(_bfd_target_vector): Update.
* bfd-in2.h, libbfd.h: Regenerate.

binutils:
* MAINTAINERS: Add self as TI C6X maintainer.
* NEWS: Add news entry for TI C6X support.
* readelf.c: Include elf/tic6x.h.
(guess_is_rela): Handle EM_TI_C6000.
(dump_relocations): Likewise.
(get_tic6x_dynamic_type): New.
(get_dynamic_type): Call it.
(get_machine_flags): Handle EF_C6000_REL.
(get_osabi_name): Handle machine-specific values only for relevant
machines.  Handle C6X values.
(get_tic6x_segment_type): New.
(get_segment_type): Call it.
(get_tic6x_section_type_name): New.
(get_section_type_name): Call it.
(is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
EM_TI_C6000.

gas:
* Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
(TARGET_CPU_HFILES): Add config/tc-tic6x.h.
* Makefile.in: Regenerate.
* NEWS: Add news entry for TI C6X support.
* app.c (do_scrub_chars): Handle "||^" for TI C6X.  Handle
TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR.  Keep spaces in
operands if TC_KEEP_OPERAND_SPACES.
* configure.tgt (tic6x-*-*): New.
* config/tc-ia64.h (TC_PREDICATE_START_CHAR,
TC_PREDICATE_END_CHAR): Define.
* config/tc-tic6x.c, config/tc-tic6x.h: New.
* doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
* doc/Makefile.in: Regenerate.
* doc/all.texi (TIC6X): Define.
* doc/as.texinfo: Add TI C6X documentation.  Include c-tic6x.texi.
* doc/c-tic6x.texi: New.

gas/testsuite:
* gas/tic6x: New directory and testcases.

include:
* dis-asm.h (print_insn_tic6x): Declare.

include/elf:
* common.h (ELFOSABI_C6000_ELFABI, ELFOSABI_C6000_LINUX): Define.
* tic6x.h: New.

include/opcode:
* tic6x-control-registers.h, tic6x-insn-formats.h,
tic6x-opcode-table.h, tic6x.h: New.

ld:
* Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
eelf32_tic6x_le.o.
(eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
* NEWS: Add news entry for TI C6X support.
* configure.tgt (tic6x-*-*): New.
* emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.

ld/testsuite:
* ld-elf/flags1.d, ld-elf/merge.d: XFAIL for tic6x-*-*.
* ld-elf/sec-to-seg.exp: Set B_test_same_seg to 0 for tic6x-*-*.
* ld-tic6x: New directory and testcases.

opcodes:
* Makefile.am (TARGET_LIBOPCODES_CFILES): Add tic6x-dis.c.
* Makefile.in: Regenerate.
* configure.in (bfd_tic6x_arch): New.
* configure: Regenerate.
* disassemble.c (ARCH_tic6x): Define if ARCH_all.
(disassembler): Handle TI C6X.
* tic6x-dis.c: New.

14 years ago* pathnames.sgml: Clarify wording of user-specific fstab files. Fix typo.
Christopher Faylor [Thu, 25 Mar 2010 12:52:32 +0000 (12:52 +0000)]
* pathnames.sgml: Clarify wording of user-specific fstab files.  Fix typo.

14 years ago * regtool.cc (find_key): Fix allocation size of "value".
Corinna Vinschen [Wed, 24 Mar 2010 19:52:00 +0000 (19:52 +0000)]
* regtool.cc (find_key): Fix allocation size of "value".

14 years ago * legal.sgml: Bump copyright date.
Corinna Vinschen [Wed, 24 Mar 2010 08:54:52 +0000 (08:54 +0000)]
* legal.sgml: Bump copyright date.

14 years ago * locale.cc (add_locale_alias_locales): Always use loc_num at function
Corinna Vinschen [Tue, 23 Mar 2010 21:26:03 +0000 (21:26 +0000)]
* locale.cc (add_locale_alias_locales): Always use loc_num at function
start to avoid confusing bsearch.

14 years ago * locale.cc: Revert accidental checkin of unfinished changes.
Corinna Vinschen [Tue, 23 Mar 2010 21:20:31 +0000 (21:20 +0000)]
* locale.cc: Revert accidental checkin of unfinished changes.

14 years ago * locale.cc (print_locale_with_codeset): Drop redundant name parameter.
Corinna Vinschen [Tue, 23 Mar 2010 21:01:01 +0000 (21:01 +0000)]
* locale.cc (print_locale_with_codeset): Drop redundant name parameter.
Simplify creating locale string.  Add "@" in case of a modifier.
(print_locale): Drop name parameter in calls to
print_locale_with_codeset.

14 years ago * configure.ac (tic6x-*-*): New case.
Joseph Myers [Tue, 23 Mar 2010 16:05:34 +0000 (16:05 +0000)]
* configure.ac (tic6x-*-*): New case.
* configure: Regenerate.

14 years ago * symcat.h (CONCAT5, CONCAT6, XCONCAT5, XCONCAT6): Define.
Joseph Myers [Tue, 23 Mar 2010 15:58:51 +0000 (15:58 +0000)]
* symcat.h (CONCAT5, CONCAT6, XCONCAT5, XCONCAT6): Define.

14 years ago Merge from gcc:
Joseph Myers [Tue, 23 Mar 2010 14:30:59 +0000 (14:30 +0000)]
Merge from gcc:
2010-03-19  Jack Howarth <howarth@bromo.med.uc.edu>
PR ada/42554
* configure.ac: Only pass -c to ranlib for darwin9 and earlier.
* configure: Regenerate.

14 years ago * config.sub: Update to version 2010-03-22.
Joseph Myers [Tue, 23 Mar 2010 14:27:19 +0000 (14:27 +0000)]
* config.sub: Update to version 2010-03-22.
* config.guess: Update to version 2009-12-30.

14 years ago * fhandler_socket.cc (fhandler_socket::evaluate_events): Make erase
Corinna Vinschen [Mon, 22 Mar 2010 10:47:53 +0000 (10:47 +0000)]
* fhandler_socket.cc (fhandler_socket::evaluate_events): Make erase
const in parameter list.
(fhandler_socket::wait_for_events): Take a DWORD flags value instead of
just a bool.  Call evaluate_events with erase flag according to
MSG_PEEK value in flags.  Replace check for dontwait with check for
MSG_DONTWAIT in flags.
(fhandler_socket::connect): Call wait_for_events with 0 flags value.
(fhandler_socket::accept4): Ditto.
(fhandler_socket::recv_internal): Save flags in wait_flags.  Drop
dontwait variable.  Call wait_for_events with wait_flags.
(fhandler_socket::send_internal): Save MSG_DONTWAIT flag in wait_flags
and call wait_for_events with wait_flags as argument.  Drop dontwait
variable.
* fhandler.h (class fhandler_socket): Change second parameter in
declaration of wait_for_events to const DWORD.

14 years ago * fhandler_disk_file.cc (fhandler_cygdrive::fstat): Add standard read
Corinna Vinschen [Fri, 19 Mar 2010 10:59:49 +0000 (10:59 +0000)]
* fhandler_disk_file.cc (fhandler_cygdrive::fstat): Add standard read
permissions again.

14 years ago* shared.cc (init_installation_root): Change to make sure that scope of the
Christopher Faylor [Thu, 18 Mar 2010 19:10:11 +0000 (19:10 +0000)]
* shared.cc (init_installation_root): Change to make sure that scope of the
lock lasts the entire function.

14 years agoMove ChangeLog entries to proper place.
H.J. Lu [Thu, 18 Mar 2010 14:44:46 +0000 (14:44 +0000)]
Move ChangeLog entries to proper place.

14 years ago * libc/include/sys/features.h: Allow for _XOPEN_SOURCE to have an
Corinna Vinschen [Wed, 17 Mar 2010 17:13:00 +0000 (17:13 +0000)]
* libc/include/sys/features.h:  Allow for _XOPEN_SOURCE to have an
empty definition.  Also add support for values of 500 or less.

14 years ago * faq-using.xml (faq.using.unicode): Remove old examples.
Corinna Vinschen [Wed, 17 Mar 2010 10:12:32 +0000 (10:12 +0000)]
* faq-using.xml (faq.using.unicode): Remove old examples.

14 years ago* shared_info.h (user_info): Add dll_crt0_1 as a friend.
Christopher Faylor [Mon, 15 Mar 2010 21:29:15 +0000 (21:29 +0000)]
* shared_info.h (user_info): Add dll_crt0_1 as a friend.
(user_info::version): Make LONG to accommodate spinlock use.
(user_info::create): New static function renamed from user_info_create.
(user_info::initialize): New private function renamed from
user_info_initialize.
(SHARED_VERSION): Delete.
(SHARED_VERSION_MAGIC): Ditto.
(USER_VERSION_MAGIC): Ditto.
(SHARED_INFO_CB): Ditto.
(USER_VERSION): Ditto.
(USER_VERSION_MAGIC): Ditto.
(CURR_SHARED_MAGIC): Update.
(CURR_USER_MAGIC): Ditto.
(shared_info::version): Make LONG to accommodate spinlock use.
(shared_info::create): New static function mirroring user_info::create.
(dll_crt0_1): Accommodate change to user_info::initialize.
* spinlock.h (spinlock::setto): New variable member.
(spinlock::done): New function.
(spinlock::spinlock): Generalize to allow arbitrary values and timeouts.  Call
done() when lock is not needed.
* ntdll.h: Make multiple-inclusion safe.
(NtQuerySystemTime): Declare.
* shared.cc (installation_root_inited): Rename from shared_mem_inited.
(init_installation_root): Make inline.  Use a spinlock to ensure that this is
initialized only once per session.
(user_info::initialize): Rename from user_shared_initialize.  Protect with
spinlock on sversion and remove other spinlock-like things.  Remove reference
to user_shared since it is now implicit.  Refer to spinlock version of
multiple_cygwin_problem to ensure that any spinlock is released.
(user_info::create): Rename from user_shared_create.  Accommodate change from
user_shared_initialize to user_info::initialize.
(shared_info::create): New inline function.
(shared_info::initialize): Protect with spinlock on sversion.  Move heap_init
back under specific control of shared_info spinlock.  Remove reference to
SHARED_INFO_CB and just use sizeof(*this).
(memory_init): Move all locking into respective functions where it is needed.
Accommodate name changes.  Remove call to heap_init().
* syscalls.cc (seteuid32): Accommodate name change to user_info::create().
* mount.cc (mount_info::create_root_entry): Report on errors from add_item
since they should be nonexistent.
(mount_info::init): Don't initialize nmounts.  It should already be zero.  Give
more verbose error when root_idx < 0.  Implicitly use this pointer rather than
explicitly referencing mount_table->.
(mount_info::add_item): Minor whitespace fix.

14 years ago* sigproc.cc (no_signals_available): Get sense of the test right for previous
Christopher Faylor [Mon, 15 Mar 2010 15:46:46 +0000 (15:46 +0000)]
* sigproc.cc (no_signals_available): Get sense of the test right for previous
botched change.

14 years ago* sigproc.cc (no_signals_available): Don't try to send a signal if still in
Christopher Faylor [Mon, 15 Mar 2010 15:31:32 +0000 (15:31 +0000)]
* sigproc.cc (no_signals_available): Don't try to send a signal if still in
cygwin startup code.

14 years ago Merge from gcc:
Joseph Myers [Sun, 14 Mar 2010 16:00:37 +0000 (16:00 +0000)]
Merge from gcc:
2010-01-11  Richard Guenther  <rguenther@suse.de>
PR lto/41569
* Makefile.def (all-lto-plugin): Depend on all-gcc.
* Makefile.in: Regenerated.

14 years ago* spinlock.h: New file.
Christopher Faylor [Sat, 13 Mar 2010 19:34:35 +0000 (19:34 +0000)]
* spinlock.h: New file.
(spinlock): New class.
* shared.cc: Include spinlock.h.
(memory_init): Use new spinlock methods rather than roll-your-own.  Time out
after ten seconds if shared_mem_inited is not initialized.
* sync.h: Update copyright.  Remove vanity attribution.
* sigproc.cc (sigproc_terminate): Avoid attempts to kill the signal thread
while we're still initializing or suffer a deadlock.

14 years agoThroughout change all calls of low_priority_sleep (0) to yield ().
Christopher Faylor [Fri, 12 Mar 2010 23:13:48 +0000 (23:13 +0000)]
Throughout change all calls of low_priority_sleep (0) to yield ().
* miscfuncs.cc (yield): Rename from low_priority_sleep.  Remove all of the
logic which called Sleep() and just use SwitchToThread.
* miscfuncs.h (yield): Rename from low_priority_sleep.
(SLEEP_0_STAY_LOW): Delete unused define.
* shared.cc (memory_init): Move heap_init() call directly after shared memory
initialization to more closely mimic long-standing program flow.
* tty.cc (tty_list::terminate): Replace call to low_priority_sleep with Sleep.

14 years ago * effectively.sgml (using-shortcuts): Match chapter with reality.
Corinna Vinschen [Fri, 12 Mar 2010 10:33:08 +0000 (10:33 +0000)]
* effectively.sgml (using-shortcuts): Match chapter with reality.

14 years ago * faq-using.xml (faq.using.bloda): Add "Credant Guardian Shield".
Corinna Vinschen [Thu, 11 Mar 2010 10:22:34 +0000 (10:22 +0000)]
* faq-using.xml (faq.using.bloda): Add "Credant Guardian Shield".

14 years ago* shared.cc (memory_init): Fix comment. Fix indentation.
Christopher Faylor [Wed, 10 Mar 2010 15:39:52 +0000 (15:39 +0000)]
* shared.cc (memory_init): Fix comment.  Fix indentation.

14 years ago* shared_info.h (open_shared): Create function wrapper for common use case.
Christopher Faylor [Tue, 9 Mar 2010 21:26:55 +0000 (21:26 +0000)]
* shared_info.h (open_shared): Create function wrapper for common use case.
(open_shared): Change fifth argument to a pointer rather than a reference.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Eliminate use of dummy
variable and call open_shared with constant.
* fhandler_process.cc (format_process_mounts): Ditto.
* pinfo.cc (pinfo::init): Pass pointer to shloc.
* shared.cc (shared_mem_inited): New variable.
(open_shared): Crate function wrapper for common use case.
(open_shared): Accommodate change to fifth argument to a pointer.
(shared_info::initialize): Remove spinlock test.  Simplify function.  Move
get_session_parent_dir call back here.
(memory_init): Protect global shared settings with shared_mem_inited spinlock.
Move get_session_parent_dir call to shared_info::initialize.

14 years ago2010-03-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 9 Mar 2010 20:38:18 +0000 (20:38 +0000)]
2010-03-09  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/posix/telldir.c (dd_loccnt): Change start index to be 1
        instead of 0.
        (_seekdir): A loc of 0 now means rewind dir.

14 years ago* shared.cc (inst_root_inited): Delete.
Christopher Faylor [Tue, 9 Mar 2010 16:07:15 +0000 (16:07 +0000)]
* shared.cc (inst_root_inited): Delete.
* (shared_info::initialize): Reorganize.  Move call to init_installation_root
here under spinlock control.  Move unneeded non-shared_info initialization out
of this function.
(memory_init): Remove call to init_installation_root.  Call heap_init and
get_session_parent_dir here.

14 years ago2010-03-08 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Mon, 8 Mar 2010 17:16:37 +0000 (17:16 +0000)]
2010-03-08  Craig Howland <howland@LGSInnovations.com>

        * libm/common/s_rint.c:  Fix error when integral part had 18 bits and
        fraction had bits set beyond first radix bit.  Also, make 2-part
        adjustment consistent with 1-part adjustment when adjusting fractional
        bits.
        * libm/common/sf_rint.c:  Make fractional-bit adjustment consistent
        with s_rint.c by setting 0b.01 instead of 0b.001.

14 years ago2010-03-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sun, 7 Mar 2010 03:10:38 +0000 (03:10 +0000)]
2010-03-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

        * include/_mingw.h: Increment version to 3.18.

14 years ago2010-03-02 Daniel Atallah <datallah@users.sourceforge.net>
Chris Sutcliffe [Sun, 7 Mar 2010 03:08:35 +0000 (03:08 +0000)]
2010-03-02  Daniel Atallah <datallah@users.sourceforge.net>

        * include/stdio.h: (_vscprintf, _vscwprintf)
        * include/tchar.h: (_vsctprintf)

14 years ago include:
Rainer Orth [Fri, 5 Mar 2010 21:04:59 +0000 (21:04 +0000)]
include:
* elf/common.h (VER_FLG_*): Document.
(VER_FLG_INFO): Define.

gold:
* dynobj.h (Verdef::Verdef): Add is_info arg, is_info member
function, is_info_ member.
* dynobj.cc (Verdef::write): Set VER_FLG_INFO if this->is_info_.
(Versions::Versions): Update caller.
(Versions::define_base_version): Likewise.
(Versions::add_def): Likewise.

elfcpp:
* elfcpp.h (VER_FLG_INFO): Define.

binutils:
* readelf.c (get_ver_flags): Handle VER_FLG_INFO.

14 years ago * setup2.sgml (setup-env): Add cross reference to using-cygwinenv.
Corinna Vinschen [Fri, 5 Mar 2010 15:44:03 +0000 (15:44 +0000)]
* setup2.sgml (setup-env): Add cross reference to using-cygwinenv.
Change description for locale environment variables to comply with
changes in 1.7.2.

14 years ago * libm/math/ef_sqrt.c: Delete unused variable sign.
Corinna Vinschen [Fri, 5 Mar 2010 08:55:16 +0000 (08:55 +0000)]
* libm/math/ef_sqrt.c: Delete unused variable sign.
* libc/stdlib/getenv.c: Delete "char *_findenv_r ();", as is not a
proper prototype, and is properly prototyped in stdlib.h, anyway.
* libc/stdlib/getenv_r.c: Ditto.
* libc/search/hash.c: Add _DEFUN to __hash_open() declaration; add
#define __DBINTERFACE_PRIVATE to activate prototypes from db_local.h.
* libc/search/db_local.h: Correct __hash_open() prototype.
* libc/sys/linux/cmath/math_private.h:  Eliminate compiler warnings:
Remove #define INFINITY (redefines from math.h); remove #define __isnanf
and #define __isinff isinff.

14 years ago PR libstdc++/32499
Rainer Orth [Thu, 4 Mar 2010 17:12:46 +0000 (17:12 +0000)]
PR libstdc++/32499
* configure.ac (RANLIB): Default to true.
(STRIP): Likewise.
(RANLIB_FOR_TARGET): Remove superfluous : argument.
* configure: Regenerate.

14 years ago * syscalls.cc (nt_path_has_executable_suffix): Change storage class of
Corinna Vinschen [Thu, 4 Mar 2010 16:20:37 +0000 (16:20 +0000)]
* syscalls.cc (nt_path_has_executable_suffix): Change storage class of
blessed_executable_suffixes to static.
(rename): Revert meaning of old_explicit_suffix.  Change the rules
for appending a .exe suffix and (yikes!) document them.

14 years ago * cygwin.din: Export __xdr functions.
Corinna Vinschen [Thu, 4 Mar 2010 09:37:52 +0000 (09:37 +0000)]
* cygwin.din: Export __xdr functions.
* include/cygwin/version.h: Bump version.
* posix.sgml: Add a few more XDR functions to list
of implemented Solaris functions.

14 years ago * new-features.sgml (ov-new1.7.2): Describe XDR support.
Corinna Vinschen [Wed, 3 Mar 2010 15:05:33 +0000 (15:05 +0000)]
* new-features.sgml (ov-new1.7.2): Describe XDR support.

14 years ago Add XDR support.
Corinna Vinschen [Wed, 3 Mar 2010 15:05:19 +0000 (15:05 +0000)]
Add XDR support.
* cygwin.din: Export xdr functions.
* include/cygwin/version.h: Bump version.
* cygxdr.cc: New.
* cygxdr.h: New.
* dcrt0.cc (dll_crt0_1): Print the (rare) xdr-related
error messages to stderr.
* Makefile.in: Add cygxdr.
* posix.sgml: Add new XDR functions to list of implemented Solaris
functions.

14 years ago2010-03-02 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Tue, 2 Mar 2010 19:28:39 +0000 (19:28 +0000)]
2010-03-02  Craig Howland <howland@LGSInnovations.com>

        * libc/include/sys/features.h:  Add POSIX.1-permitted definition of
        _POSIX_C_SOURCE if not already defined and _XOPEN_SOURCE has an
        appropriate value.  Specifically, check for POSIX.1-2008 & 2001 values.
        * libc/include/sys/config.h:  Add #include <sys/features.h> so that all
        includes get the new check added to it.

14 years ago * libc/xdr/README: Correct grammatical errors.
Corinna Vinschen [Tue, 2 Mar 2010 14:29:36 +0000 (14:29 +0000)]
* libc/xdr/README: Correct grammatical errors.
* libc/include/rpc/types.h: Add public types used
by RPC implementations.
* libc/include/rpc/xdr.h: Add defines used by RPC
implementations.
* libc/xdr/Makefile.am: Eliminate automake warning.
* libc/xdr/Makefile.in: Regenerate.

14 years ago * libc/xdr/Makefile.in: Regenerate.
Corinna Vinschen [Tue, 2 Mar 2010 12:21:52 +0000 (12:21 +0000)]
* libc/xdr/Makefile.in: Regenerate.

14 years ago Add eXtensible Data Record (XDR) support
Corinna Vinschen [Tue, 2 Mar 2010 12:05:18 +0000 (12:05 +0000)]
Add eXtensible Data Record (XDR) support
* configure.host: Build libc/xdr only on cygwin.
* Makefile.am: Install xdr headers.
* libc/configure.in: Support new libc/xdr subdirectory.
* libc/Makefile.am: Support new libc/xdr subdirectory.
* libc/include/rpc/types.h: New.
* libc/include/rpc/xdr.h: New.
* libc/xdr/README: New.
* libc/xdr/Makefile.am: New.
* libc/xdr/dummy.c: New.
* libc/xdr/xdr.c: New.
* libc/xdr/xdr_array.c: New.
* libc/xdr/xdr_float.c: New.
* libc/xdr/xdr_float_vax.c: New.
* libc/xdr/xdr_mem.c: New.
* libc/xdr/xdr_private.c: New.
* libc/xdr/xdr_private.h: New.
* libc/xdr/xdr_rec.c: New.
* libc/xdr/xdr_reference.c: New.
* libc/xdr/xdr_sizeof.c: New.
* libc/xdr/xdr_stdio.c: New.

Regenerate using ac-2.63 and am-1.11.1
* libc/xdr/Makefile.in: New.
* Makefile.in: Regenerate.
* libc/configure: Regenerate.
* libc/Makefile.in: Regenerate.
* libc/argz/Makefile.in: Regenerate.
* libc/ctype/Makefile.in: Regenerate.
* libc/errno/Makefile.in: Regenerate.
* libc/iconv/ccs/binary/Makefile.in: Regenerate.
* libc/iconv/ccs/Makefile.in: Regenerate.
* libc/iconv/ces/Makefile.in: Regenerate.
* libc/iconv/lib/Makefile.in: Regenerate.
* libc/iconv/Makefile.in: Regenerate.
* libc/locale/Makefile.in: Regenerate.
* libc/misc/Makefile.in: Regenerate.
* libc/posix/Makefile.in: Regenerate.
* libc/reent/Makefile.in: Regenerate.
* libc/search/Makefile.in: Regenerate.
* libc/signal/Makefile.in: Regenerate.
* libc/stdio/Makefile.in: Regenerate.
* libc/stdio64/Makefile.in: Regenerate.
* libc/stdlib/Makefile.in: Regenerate.
* libc/string/Makefile.in: Regenerate.
* libc/syscalls/Makefile.in: Regenerate.
* libc/time/Makefile.in: Regenerate.
* libc/unix/Makefile.in: Regenerate.

14 years ago* cygtls.h: Replace /*gentls_offsets*/ at end.
Christopher Faylor [Tue, 2 Mar 2010 00:49:15 +0000 (00:49 +0000)]
* cygtls.h: Replace /*gentls_offsets*/ at end.

14 years ago* exception.h: Fix copyright.
Christopher Faylor [Mon, 1 Mar 2010 06:39:47 +0000 (06:39 +0000)]
* exception.h: Fix copyright.

14 years agoFix/delete inaccurate comments.
Christopher Faylor [Mon, 1 Mar 2010 06:38:58 +0000 (06:38 +0000)]
Fix/delete inaccurate comments.

14 years agoUpdate some copyrights.
Christopher Faylor [Sun, 28 Feb 2010 15:54:25 +0000 (15:54 +0000)]
Update some copyrights.
* cygtls.cc (_cygtls::call): Invoke new exception protection here.
(_cygtls::init_thread): Remove conditionalized exception handler setup.
(exception_list): Delete declaration.
(_cygtls::init_exception_handler): Delete obsolete function.
* cygtls.h: Remove (now) unneeded include.
(_cygtls): Make this a real C++ class.
(_cygtls::handle_exceptions): Remove.
(_cygtls::init_exception_handler): Remove.
(_cygtls::call2): Make private.
(myfault::faulted): Remove unneeded parentheses.
* dcrt0.cc (dll_crt0_1): Remove exception handler setup.
* dlfcn.cc (dlopen): Ditto.
(dlclose): Ditto.
* dll_init.cc (dll_dllcrt0_1): Ditto.
(dll_list::detach): Use new exception handler protection.
* exceptions.cc (dump_exception): Rename to prevent confusion with new class.
(exception::handle): Rename from _cygtls::handle_exceptions.  Accommodate new
exception class.  Accommodate rename to dump_exception.
* tlsoffsets.h: Regenerate.

14 years ago* cygtls.h (_cygtls::init_exception_handler): Eliminate argument.
Christopher Faylor [Fri, 26 Feb 2010 21:36:31 +0000 (21:36 +0000)]
* cygtls.h (_cygtls::init_exception_handler): Eliminate argument.
(_cygtls::andreas): Convert to a pointer.
(san): Convert to a real class with methods.  Use a linked list to keep track
of previous handlers on the "stack".
(myfault): Rewrite to use new san class rather than calling directly into
_cygtls.
* cygtls.cc (_cygtls::init_exception_handler): Just assume that we're always
using the standard exception handler.
(_cygtls::init_thread): Reflect loss of argument to init_exception_handler.
* dcrt0.cc (dll_crt0_1): Ditto.
* dfcn.cc (dlopen): Ditto.
(dlclose): Reset the exception handler after FreeLibrary.
* dll_init.cc (dll_list::detach): Make sure that the exception handler is
initialized before calling destructors.
* exceptions.cc (_cygtls::handle_exceptions): Accommodate new andreas pointer.
* thread.cc (verifyable_object_isvalid): Pass objectptr to faulted for explicit
NULL pointer checking.
* tlsoffsets.h: Regenerate.

14 years ago* mkimport: cd away from temp directory or Windows will have problems removing
Christopher Faylor [Fri, 26 Feb 2010 19:37:43 +0000 (19:37 +0000)]
* mkimport: cd away from temp directory or Windows will have problems removing
the directory.

14 years ago * new-features.sgml (ov-new1.7.2): Add strptime changes.
Corinna Vinschen [Fri, 26 Feb 2010 17:54:24 +0000 (17:54 +0000)]
* new-features.sgml (ov-new1.7.2): Add strptime changes.

14 years ago * libc/strptime.cc: Implement support for era, alt_digits and POSIX
Corinna Vinschen [Fri, 26 Feb 2010 17:53:52 +0000 (17:53 +0000)]
* libc/strptime.cc: Implement support for era, alt_digits and POSIX
padding and width modifiers.
(era_info_t): New type.
(free_era_info): New static function to free era_info_t storage.
(get_era_info): New static function to create era_info_t storage
from LC_TIME era information.
(alt_digits_t): New type.
(get_alt_digits): New static function to create alt_digits_t storage
from LC_TIME alt_digits information.
(free_alt_digits): New static function to free alt_digits_t storage.
(find_alt_digits): New static function to scan input for alternative
digits and return them, if any.  Return NULL otherwise.
(__strptime): New static function taking all code from strptime.
Implement handling for E, O, +, 0, and width modifiers per POSIX-1.2008.
(strptime): Convert into wrapper function to provide era_info and
alt_digits pointers and call __strptime.
(conv_num): Take additional alt_digits_t parameter and if it's not
NULL, call find_alt_digits to convert.

14 years ago * strsig.cc: Fix formatting and copyright.
Corinna Vinschen [Fri, 26 Feb 2010 16:00:17 +0000 (16:00 +0000)]
* strsig.cc: Fix formatting and copyright.

14 years ago2010-02-26 Pierre Humblet <Pierre.Humblet@ieee.org>
Pierre Humblet [Fri, 26 Feb 2010 14:51:59 +0000 (14:51 +0000)]
2010-02-26  Pierre Humblet <Pierre.Humblet@ieee.org>

        * security.cc (check_access): Use user.imp_token if appropriate.
        Set errno and return if DuplicateTokenEx fails .

14 years ago * utils.sgml (kill): Add SIGIO, SIGCLD, and SIGPWR.
Yaakov Selkowitz [Fri, 26 Feb 2010 10:47:05 +0000 (10:47 +0000)]
* utils.sgml (kill): Add SIGIO, SIGCLD, and SIGPWR.

14 years ago * new-features.sgml (ov-new1.7.2): Add strftime/wcsftime changes.
Corinna Vinschen [Fri, 26 Feb 2010 10:28:39 +0000 (10:28 +0000)]
* new-features.sgml (ov-new1.7.2): Add strftime/wcsftime changes.

14 years ago * libm/common/s_ilogb.c: Fix typo in comments that causes doc
Corinna Vinschen [Fri, 26 Feb 2010 09:44:25 +0000 (09:44 +0000)]
* libm/common/s_ilogb.c:  Fix typo in comments that causes doc
generation to fail.

14 years ago * libc/time/strftime.c: Add support for era and alt_digits data from
Corinna Vinschen [Fri, 26 Feb 2010 09:41:44 +0000 (09:41 +0000)]
* libc/time/strftime.c: Add support for era and alt_digits data from
LC_TIME locale category.  Conditionalize using _WANT_C99_TIME_FORMATS
flag.
(STRTOUL): Define differently for building strftime or wcsftime.
(STRCPY): Ditto.
(STRCHR): Ditto.
(STRLEN): Ditto.
(CHECK_LENGTH): Define to simplify code.
(era_info_t): New type to store era info.
(get_era_info): New function to fetch era info matching incoming
struct tm.
(free_era_info): New function to free era info.
(alt_digits_t): New type to store alternative digits.
(get_alt_digits): New function to convert alt_digits string into
alt_digits_t structure.
(free_alt_digits): New function to free alt_digits info.
(conv_to_alt_digits): New function to convert unsigned value into
alternative digits.
(strftime): Conditionalize on _WANT_C99_TIME_FORMATS.  If
_WANT_C99_TIME_FORMATS is defined, define as just a wrapper function
providing era_info and alt_digits pointers and call ...
(__strftime): Rename from strftime and make static if
_WANT_C99_TIME_FORMATS is defined.  Add parameters for era_info and
alt_digits pointers.  Handle conversion modifiers according to
POSIX-1.2008.  Redefine %F and %Y according to POSIX.  Add default case
to allow to bail out on invalid conversion specifiers.
* libc/include/sys/config.h: Move Cygwin build flags to Cygwin's
config.h.

* libc/include/stdio.h: Remove __CYGWIN_USE_BIG_TYPES__ condition.

14 years ago Add missing ChangeLog checkin.
Corinna Vinschen [Fri, 26 Feb 2010 09:37:12 +0000 (09:37 +0000)]
Add missing ChangeLog checkin.

14 years ago Remove all traces of __CYGWIN_USE_BIG_TYPES__.
Corinna Vinschen [Fri, 26 Feb 2010 09:36:21 +0000 (09:36 +0000)]
Remove all traces of __CYGWIN_USE_BIG_TYPES__.

* include/cygwin/config.h: Move Cygwin-specific build flags from
newlib's sys/config.h here.  Add a comment.

14 years ago * new-features.sgml (ov-new1.7.2): Add SIGPWR support.
Yaakov Selkowitz [Fri, 26 Feb 2010 09:34:38 +0000 (09:34 +0000)]
* new-features.sgml (ov-new1.7.2): Add SIGPWR support.

14 years ago * include/cygwin/signal.h: Define SIGPWR as synonym for SIGLOST.
Yaakov Selkowitz [Fri, 26 Feb 2010 05:43:50 +0000 (05:43 +0000)]
* include/cygwin/signal.h: Define SIGPWR as synonym for SIGLOST.
* strsig.cc: Ditto.
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR.

14 years ago * lc_era.h (lc_era_t): Fix apparent glibc bug in ja_JP era definition.
Corinna Vinschen [Thu, 25 Feb 2010 16:55:02 +0000 (16:55 +0000)]
* lc_era.h (lc_era_t): Fix apparent glibc bug in ja_JP era definition.

14 years ago * utils.sgml (locale): Change description of -a and -av to match
Corinna Vinschen [Thu, 25 Feb 2010 16:42:59 +0000 (16:42 +0000)]
* utils.sgml (locale): Change description of -a and -av to match
latest changes.

14 years ago * new-features.sgml (ov-new1.7.2): Move stty erase support into
Corinna Vinschen [Thu, 25 Feb 2010 16:27:39 +0000 (16:27 +0000)]
* new-features.sgml (ov-new1.7.2): Move stty erase support into
correct category.  Change "console window" to "Windows console".

14 years ago * libc/locale/locale.c (loadlocale): Fix typo in comment.
Corinna Vinschen [Thu, 25 Feb 2010 16:16:16 +0000 (16:16 +0000)]
* libc/locale/locale.c (loadlocale): Fix typo in comment.

14 years ago * libc/locale/locale.c: Throughout, extensively comment on the
Corinna Vinschen [Thu, 25 Feb 2010 16:10:42 +0000 (16:10 +0000)]
* libc/locale/locale.c:  Throughout, extensively comment on the
reason for using __CYGWIN__.
(lconv): Remove _CONST entirely.
(loadlocale): Guard calls to function loading locale-specific
category data with __HAVE_LOCALE_INFO__ rather than __CYGWIN__.
* libc/sys/config.h (__HAVE_LOCALE_INFO__): Define for Cygwin.

14 years ago * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
Nick Clifton [Thu, 25 Feb 2010 11:15:48 +0000 (11:15 +0000)]
    * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
        mips_fix_loongson2f_jump): New variables.
        (md_longopts): Add New options -mfix-loongson2f-nop/jump,
        -mno-fix-loongson2f-nop/jump.
        (md_parse_option): Initialize variables via above options.
        (options): New enums for the above options.
        (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
        (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
        New functions.
        (append_insn): call fix_loongson2f().
        (mips_handle_align): Replace the implicit nops.
        * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
        for the new mips_handle_align().
        * doc/c-mips.texi: Document the new options.

        * gas/mips/loongson-2f-2.s: New test of -mfix-loongson2f-nop.
        * gas/mips/loongson-2f-2.d: Likewise.
        * gas/mips/loongson-2f-3.s: New test of -mfix-loongson2f-jump.
        * gas/mips/loongson-2f-3.d: Likewise.
        * gas/mips/mips.exp: Run the new tests.

        * opcode/mips.h (LOONGSON2F_NOP_INSN): New macro.

14 years ago2010-02-24 Charles Wilson <...>
Jeff Johnston [Wed, 24 Feb 2010 21:00:08 +0000 (21:00 +0000)]
2010-02-24  Charles Wilson  <...>

        Work around issues with new libtool files in ..
        * configure.in: Unconditionally call _LT_PROG_ECHO_BACKSLASH.
        * iconvdata/configure.in: Ditto.
        * libc/configure.in: Ditto.
        * libc/machine/configure.in: Ditto.
        * libc/machine/i386/configure.in: Ditto.
        * libc/sys/configure.in: Ditto.
        * libc/sys/linux/configure.in: Ditto.
        * libc/sys/linux/linuxthreads/configure.in: Ditto.
        * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
        * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
        * libc/sys/linux/machine/configure.in: Ditto.
        * libc/sys/linux/machine/i386/configure.in: Ditto.
        * libm/configure.in: Ditto.
        * libm/machine/configure.in: Ditto.
        * libm/machine/i386/configure.in: Ditto.
        * libc/machine/sh/configure.in: Ditto.  Also, call
        AC_NO_EXECUTABLES before NEWLIB_CONFIGURE.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * Makefile.in: Ditto.
        * doc/aclocal.m4: Ditto.
        * doc/Makefile.in: Ditto.
        * libc/*/aclocal.m4: Ditto.
        * libc/*/Makefile.in: Ditto.
        * libc/*/configure: Ditto.
        * libm/*/aclocal.m4: Ditto.
        * libm/*/Makefile.in: Ditto.
        * libm/*/configure: Ditto.

14 years ago2010-02-24 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 24 Feb 2010 19:58:17 +0000 (19:58 +0000)]
2010-02-24  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/__call_exit.c: Add include of sys/lock.h.

14 years ago * sec_auth.cc (get_full_privileged_inheritable_token): Fix dumb typo
Corinna Vinschen [Wed, 24 Feb 2010 17:30:18 +0000 (17:30 +0000)]
* sec_auth.cc (get_full_privileged_inheritable_token): Fix dumb typo
when checking linked token for being a primary token.

14 years ago* dlfcn.cc (dlopen): Make sure exception handler is really loaded after dynamic
Christopher Faylor [Wed, 24 Feb 2010 08:03:44 +0000 (08:03 +0000)]
* dlfcn.cc (dlopen): Make sure exception handler is really loaded after dynamic
load.

14 years ago* cygtls.cc (_cygtls::init_exception_handler): Force installation of our
Christopher Faylor [Wed, 24 Feb 2010 00:03:42 +0000 (00:03 +0000)]
* cygtls.cc (_cygtls::init_exception_handler): Force installation of our
exception handler to always be at the beginning.

14 years ago2010-02-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 23 Feb 2010 23:13:20 +0000 (23:13 +0000)]
2010-02-23  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/types.h: Fix __XMK__ sectioning and remove
        redundant code section for __XMK__.

14 years ago * locale.cc (printlocale): Remove.
Corinna Vinschen [Tue, 23 Feb 2010 14:07:08 +0000 (14:07 +0000)]
* locale.cc (printlocale): Remove.
(loc_t): New type to keep locale information for printing.
(print_codeset): New function to print codeset as on Linux.
(print_locale_with_codeset): New function to print single locale.
Print verbose style as the Linux locale(1) tool.
(print_locale): New function to print single locale plus its UTF-8
variation, if available.
(compare_locales): New helper function for bsearch and qsort on loc_t.
(add_locale): New function to store locale in loc_t array.
(add_locale_alias_locales): New function to store locales from
locale.alias file in loc_t.
(print_all_locales): Call add_locale instead of printlocale.
Call add_locale_alias_locales, sort locales alphabetically and print
them.

14 years agoPR 11297: Add support for 8-bit relocations to the AVR toolchain.
Nick Clifton [Tue, 23 Feb 2010 11:38:36 +0000 (11:38 +0000)]
PR 11297: Add support for 8-bit relocations to the AVR toolchain.

14 years ago* thread.cc (pthread_mutex::unlock): Don't attempt to unlock if there is an
Christopher Faylor [Tue, 23 Feb 2010 07:12:38 +0000 (07:12 +0000)]
* thread.cc (pthread_mutex::unlock): Don't attempt to unlock if there is an
error.

14 years ago* strace.cc (mnemonic_table): Add "special" mask option.
Christopher Faylor [Mon, 22 Feb 2010 20:39:18 +0000 (20:39 +0000)]
* strace.cc (mnemonic_table): Add "special" mask option.
(usage): Document it.
* utils.sgml: Ditto.

14 years ago* include/sys/strace.h: Define _STRACE_SPECIAL.
Christopher Faylor [Mon, 22 Feb 2010 20:36:04 +0000 (20:36 +0000)]
* include/sys/strace.h: Define _STRACE_SPECIAL.
(strace_printf_wrap): Fix NOSTRACE definitions.
(strace_printf_wrap1): Fix NOSTRACE definitions.
(special_printf): Define.
* thread.cc: Perform minor syntax fix in a comment.  Rename
"is_good_initialzer*" to "is_initializer*" throughout.  Use pthread_printf
rather than debug_printf throughout.  Add extra pthread_printf debugging
throughout.
(pthread_mutex::_new_mutex): New constant value.
(pthread_mutex::_unlocked_mutex): Ditto.
(pthread_mutex::_destroyed_mutex): Ditto.
(pthread_mutex::no_owner): Define new function.
(pthread_mutex::can_be_unlocked): Detect no_owner situation.  Handle
PTHREAD_MUTEX_NORMAL as a special case.
(pthread::create_cancel_event): Use C++ boolean values.
(pthread::precreate): Use method to set mutex type.
(pthread_cond::pthread_cond): Ditto.
(pthread_rwlock::pthread_rwlock): Ditto.
(pthread_mutex::pthread_mutex): Set owner to _new_mutex initially.
(pthread_mutex::~pthread_mutex): Reset various elements to make it clearer if
they are incorrectly reused.
(pthread_mutex::lock): Add clarifying comment.
(pthread_mutex::unlock): Attempt to handle various mutex types correctly.  In
particular, reinstate ability to have one thread unlock another thread's mutex
if type == PTHREAD_MUTEX_NORMAL.
(semaphore::_fixup_after_fork): Avoid redundancy.
(pthread_mutex::_fixup_after_fork): Ditto.  Fix debugging statement.
(__pthread_cond_dowait): Accommodate changes to remove previously inexplicable
use can_be_unblocked() as a static function.
* thread.h: Rename "is_good_initialzer*" to "is_initializer*" throughout.
(pthread_mutex): Reorganize.  Make many things private.
(pthread_mutex::no_owner): Define new method.
(pthread_mutex::_new_mutex): Define new constant.
(pthread_mutex::_unlocked_mutex): Ditto.
(pthread_mutex::_destroyed_mutex): Ditto.

14 years ago * cygpath.cc (do_pathconv): Fix erroneously printing native NT path
Corinna Vinschen [Mon, 22 Feb 2010 17:40:46 +0000 (17:40 +0000)]
* cygpath.cc (do_pathconv): Fix erroneously printing native NT path
prefix introduced by previous patch.

14 years ago * lc_era.h: Redefine lc_era_t to keep
Corinna Vinschen [Mon, 22 Feb 2010 11:01:46 +0000 (11:01 +0000)]
* lc_era.h: Redefine lc_era_t to keep
default date and time formats as well to workaround YA Windows
shortcoming.  Refresh with latest data.
* lc_msg.h: Refresh with latest data.
* nlsfuncs.cc (__eval_datetimefmt): Revert latest change.
(__set_lc_time_from_win): Rename res to era.  Prefer default date and
time formats from era array if available.
(__set_lc_messages_from_win): Rename res to msg.

14 years ago * locale.cc (lc_time_names): Add "date_fmt" entry.
Corinna Vinschen [Mon, 22 Feb 2010 10:56:00 +0000 (10:56 +0000)]
* locale.cc (lc_time_names): Add "date_fmt" entry.

14 years ago * libc/include/langinfo.h (_NL_TIME_DATE_FMT): Define new nl_item
Corinna Vinschen [Mon, 22 Feb 2010 10:53:04 +0000 (10:53 +0000)]
* libc/include/langinfo.h (_NL_TIME_DATE_FMT): Define new nl_item
value for LC_TIME entry date_fmt.
(_DATE_FMT): Define "official" GNU name same as _NL_TIME_DATE_FMT.
* libc/locale/nl_langinfo.c (nl_langinfo): Add case for _DATE_FMT.

14 years ago * lc_era.h (lc_era): Fix "ja_JP" era_t_fmt entry to use traditional
Corinna Vinschen [Sat, 20 Feb 2010 22:10:26 +0000 (22:10 +0000)]
* lc_era.h (lc_era): Fix "ja_JP" era_t_fmt entry to use traditional
format.
* nlsfuncs.cc (dt_flags): Remove DT_ERACAL since crippled era data
in Windows makes it useless.
(__eval_datetimefmt): Check if locale's default calender has
non-gregorian start year.  Use era year also in default date entries,
if so.

14 years ago * path.cc (warn_msdos): Enforce extended hex printing of multibyte
Corinna Vinschen [Sat, 20 Feb 2010 09:17:07 +0000 (09:17 +0000)]
* path.cc (warn_msdos): Enforce extended hex printing of multibyte
pathnames.

14 years agoUpdate copyright
Christopher Faylor [Fri, 19 Feb 2010 20:01:49 +0000 (20:01 +0000)]
Update copyright

14 years agoutils/ChangeLog:
Christopher Faylor [Fri, 19 Feb 2010 17:55:27 +0000 (17:55 +0000)]
utils/ChangeLog:
* strace.cc (mnemonic_table): Add pthread mask option.
(usage): Document strace pthread mask option.
* utils.sgml: Ditto.

cygwin/ChangeLog:
* include/sys/strace.h: Remove old code.  Add support for ptrace
tracing.

14 years ago * lc_era.h: New file.
Corinna Vinschen [Fri, 19 Feb 2010 17:30:19 +0000 (17:30 +0000)]
* lc_era.h: New file.
* nlsfuncs.cc: Include lc_era.h.
(locale_cmp): convert arguments to char** to be usable for both types,
lc_msg_t and lc_era_t.
(__set_lc_time_from_win): Handle era-related data

14 years ago * locale.cc (print_lc_mstrings): New function to print
Corinna Vinschen [Fri, 19 Feb 2010 17:27:05 +0000 (17:27 +0000)]
* locale.cc (print_lc_mstrings): New function to print
semicolon-separated strings.
(enum type_t): New type is_sepstrings_linf.
(lc_time_names): Change type of era and alt_digits entry to
is_sepstrings_linf.
(print_lc): Add case for is_sepstrings_linf and call print_lc_mstrings
in that case.

14 years ago * fhandler_disk_file.cc (fhandler_disk_file::opendir): Try to open
Corinna Vinschen [Fri, 19 Feb 2010 13:28:49 +0000 (13:28 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Try to open
directory with stat()-friendly access mask first.  Explain why.

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