]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
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.

14 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Set st_rdev
Corinna Vinschen [Fri, 19 Feb 2010 12:37:37 +0000 (12:37 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper):  Set st_rdev
to same value as st_dev.  Avoid useless debug output in executable
check.  Add filename to debug output.
(fhandler_disk_file::facl): Simplify code calling fstat methods to
just call fstat to avoid errors with the cygdrive directory.

14 years ago * libc/ctype/iswalpha.c (iswalpha): Update to Unicode 5.2.
Corinna Vinschen [Thu, 18 Feb 2010 20:37:19 +0000 (20:37 +0000)]
* libc/ctype/iswalpha.c (iswalpha): Update to Unicode 5.2.
* libc/ctype/iswprint.c (iswprint): Ditto.
* libc/ctype/iswpunct.c (iswpunct): Drop standalone implementation.
Define in terms of other wctype functions instead.
* libc/ctype/towlower.c (towlower): Update to Unicode 5.2.  Add comment
to explain how to fetch the data from the Unicode database.
* libc/ctype/towupper.c (towupper): Ditto.
* libc/ctype/utf8alpha.h: Ditto.
* libc/ctype/utf8print.h: Ditto.
* libc/ctype/utf8punct.h: Remove.
* libc/ctype/iswcntrl.c (iswcntrl): Add comment to explain how to
fetch the data from the Unicode database.

14 years ago * nlsfuncs.cc (eval_datetimefmt): Rename force to flags.
Corinna Vinschen [Thu, 18 Feb 2010 18:07:14 +0000 (18:07 +0000)]
* nlsfuncs.cc (eval_datetimefmt): Rename force to flags.
(enum dt_flags): Define.
(__eval_datetimefmt): Change force to flags and change type to
dt_flags.  Accommodate throughout.
(__set_lc_time_from_win): Accommodate above change.  Set era-related
values to empty strings for now.

14 years ago * libc/locale/timelocal.h (struct lc_time_T): Add missing ERA-related
Corinna Vinschen [Thu, 18 Feb 2010 17:35:15 +0000 (17:35 +0000)]
* libc/locale/timelocal.h (struct lc_time_T): Add missing ERA-related
members.
* libc/locale/timelocal.c (_C_time_local): Set new members to empty
strings.
* libc/locale/nl_langinfo.c (nl_langinfo): Return values from
__get_current_time_locale() for ERA related requests.

14 years ago* fhandler.cc (fhandler_base::setup_overlapped): Revert to starting with handle
Christopher Faylor [Thu, 18 Feb 2010 15:07:38 +0000 (15:07 +0000)]
* fhandler.cc (fhandler_base::setup_overlapped): Revert to starting with handle
in signalled state as it seems to fix some hangs.

14 years ago2010-02-17 LRN <lrn1986@gmail.com>
Chris Sutcliffe [Thu, 18 Feb 2010 13:01:56 +0000 (13:01 +0000)]
2010-02-17  LRN  <lrn1986@gmail.com>

        * include/shlguid.h (IID_IFolderView): Define.
        * include/shlobj.h (IFolderView interface): Define.
        * lib/shell32.c (IID_IFolderView): Export.

14 years ago * bfd/elf32-arm.c (elf32_arm_merge_eabi_attributes): Add support for
Matthew Gretton-Dann [Thu, 18 Feb 2010 10:56:27 +0000 (10:56 +0000)]
* bfd/elf32-arm.c (elf32_arm_merge_eabi_attributes): Add support for
merging Tag_DIV_use, Tag_MPextension_use, and
Tag_MPextension_use_legacy tags.
* binutils/readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add
description of newly permitted attribute values.
(arm_attr_tag_Virtualization_use): Likewise.
(arm_attr_tag_DIV_use): Add description of new attribute.
(arm_attr_tag_MPextension_use_legacy): Likewise.
* gas/config/tc-arm.c (arm_convert_symbolic_attribute):
Add Tag_DIV_use.
* gas/doc/c-arm.texi: Likewise.
* gas/testsuite/gas/arm/attr-order.d: Fix test for new names for
attribute values.
* include/elf/arm.h (Tag_MPextension_use): Renumber.
(Tag_DIV_use): Add.
(Tag_MPextension_use_legacy): Likewise.
* ld/testsuite/ld-arm/attr-merge-3.attr: Fix test for new attribute
values.
* ld/testsuite/ld-arm/attr-merge-3b.s: Likewise.
* ld/testsuite/ld-arm/attr-merge-unknown-1.d: Fix test now that 42
is a recognised attribute ID.
* ld/testsuite/ld-arm/attr-merge-unknown-1.s: Likewise.
* ld/testsuite/ld-arm/attr-merge-6.attr: New test.
* ld/testsuite/ld-arm/attr-merge-6a.s: Likewise.
* ld/testsuite/ld-arm/attr-merge-6b.s: Likewise.
* ld/testsuite/ld-arm/attr-merge-7.attr: Likewise.
* ld/testsuite/ld-arm/attr-merge-7a.s: Likewise.
* ld/testsuite/ld-arm/attr-merge-7b.s: Likewise.
* ld/testsuite/ld-arm/arm-elf.exp: Run the new tests.

14 years ago * new-features.sgml (ov-new1.7.2): Accommodate name change of getlocale
Corinna Vinschen [Wed, 17 Feb 2010 15:02:17 +0000 (15:02 +0000)]
* new-features.sgml (ov-new1.7.2): Accommodate name change of getlocale
to locale.
* setup2.sgml (setup-locale-how): Ditto.

14 years ago * Makefile.in (CYGWIN_BINS): Rename getlocale to locale.
Corinna Vinschen [Wed, 17 Feb 2010 15:01:56 +0000 (15:01 +0000)]
* Makefile.in (CYGWIN_BINS): Rename getlocale to locale.
* getlocale.c: Rename to ...
* locale.cc: Revamp to add full functionality of POSIX locale(1) tool,
as far as Cygwin supports it.
* utils.sgml (getlocale): Move and rename to ...
(locale): Accommodate new functionality.

14 years ago * Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete
Nick Clifton [Wed, 17 Feb 2010 11:02:54 +0000 (11:02 +0000)]
    * Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete
        the config.cache files found by the find command.

14 years ago2010-02-17 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 17 Feb 2010 10:12:48 +0000 (10:12 +0000)]
2010-02-17  Tristan Gingold  <gingold@adacore.com>

* dmt.h, dst.h, eeom.h, egps.h, egsd.h, egst.h, egsy.h: New Files.
* eiaf.h, eicp.h, eiha.h, eihd.h, eihi.h, eihs.h, eihvn.h: Ditto.
* eisd.h, emh.h, eobjrec.h, esdf.h, esrf.h, etir.h, shl.h: Ditto.

14 years ago PR 11238
Nick Clifton [Wed, 17 Feb 2010 10:05:51 +0000 (10:05 +0000)]
    PR 11238
        * Makefile.tpl (local-distclean): Also remove config.cache files in
        sub-directories as there may not be Makefiles present in the
        sub-directories.
        * Makefile.in: Regenerate.
        * configure.ac: Revert previous delta.
        * configure: Regenerate.

14 years ago * libc/ctype/iswblank.c (iswblank): Remove Unicode characters
Corinna Vinschen [Wed, 17 Feb 2010 09:14:35 +0000 (09:14 +0000)]
* libc/ctype/iswblank.c (iswblank): Remove Unicode characters
U+00A0 and U+200B.  Add Unicode character U+180E.  Add comment
to explain how to generate from Unicode data file.
* libc/ctype/iswspace.c (iswspace): Ditto.

14 years ago2010-02-14 Roumen Petrov <rumen@users.sourceforge.net>
Chris Sutcliffe [Wed, 17 Feb 2010 02:41:06 +0000 (02:41 +0000)]
2010-02-14  Roumen Petrov  <rumen@users.sourceforge.net>

        Issue [2134161]: time64 functions and types for msvcrt >= 8.0
        (initial implementation)

        * new type: __time32_t

        * new structures: _finddata32_t, _finddata32i64_t, _finddata64i32_t,
        __stat32, _stat32i64, _stat64i32, __timeb32, __utimbuf32,
        __wfinddata32_t, _wfinddata32i64_t, _wfinddata64i32_t

        * new functions: _ctime32, _difftime32, _difftime64, _findfirst32
        _findfirst32i64, _findfirst64i32, _findnext32, _findnext32i64,
        _findnext64i32, _fstat32, _fstat32i64, _fstat64i32, _ftime32,
        _futime32, _gmtime32, _localtime32, _mkgmtime32, _mkgmtime64,
        _mktime32, _stat32, _stat32i64, _stat64i32, _time32, _utime32,
        _wctime32, _wfindfirst32, _wfindfirst32i64, _wfindfirst64i32,
        _wfindnext32, _wfindnext32i64, _wfindnext64i32, _wstat32,
        _wstat32i64, _wstat64i32,_wutime32

        * new define _USE_32BIT_TIME_T set 32 or 64 aliases for: time_t,
        ctime, difftime, _findfirst, _findfirsti64, _findnext, _findnexti64,
        _fstat, _fstati64, _ftime, _futime, gmtime, localtime, mktime,
        _stat, _stati64, time, _utime, _wctime, _wfindfirst, _wfindfirsti64,
        _wfindnext, _wfindnexti64, _wstat, _wstati64, _wutime

14 years ago * libc/stdio/vfwprintf.c (_VFWPRINTF_R): Apply previous patch here
Corinna Vinschen [Mon, 15 Feb 2010 16:29:15 +0000 (16:29 +0000)]
* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Apply previous patch here
as well.

14 years ago * libc/stdio/vfprintf.c (_VFPRINTF_R): Drop printing a redundant
Corinna Vinschen [Mon, 15 Feb 2010 16:10:28 +0000 (16:10 +0000)]
* libc/stdio/vfprintf.c (_VFPRINTF_R): Drop printing a redundant
decimal point in case the float argument is an integral value.

14 years ago * new-features.sgml (ov-new1.7.2): Add native DOS path and UNC path
Corinna Vinschen [Mon, 15 Feb 2010 13:35:53 +0000 (13:35 +0000)]
* new-features.sgml (ov-new1.7.2): Add native DOS path and UNC path
change.
* pathnames.sgml (pathnames-intro): Make the Win32 path text a note
and xref to new pathnames-win32 section.
(cygdrive): Add description how the cygdrive mount flags apply to
UNC paths starting with slashes.
(pathnames-win32): New section describing native path handling.

14 years ago * path.cc (path_conv::check): Treat native DOS paths as "noacl".
Corinna Vinschen [Mon, 15 Feb 2010 13:29:02 +0000 (13:29 +0000)]
* path.cc (path_conv::check): Treat native DOS paths as "noacl".

14 years ago * mount.cc (mount_info::conv_to_win32_path): Set UNC path flags to
Corinna Vinschen [Mon, 15 Feb 2010 12:42:31 +0000 (12:42 +0000)]
* mount.cc (mount_info::conv_to_win32_path): Set UNC path flags to
cygdrive prefix path flags.

14 years ago PR 11238
Nick Clifton [Mon, 15 Feb 2010 10:53:35 +0000 (10:53 +0000)]
    PR 11238
        * configure.ac: Delete config.cache files in sub-directories when
        deleting Makefiles.
        * configure: Regenerate.

14 years agoSync from gcc mainline.
Nick Clifton [Mon, 15 Feb 2010 10:37:55 +0000 (10:37 +0000)]
Sync from gcc mainline.

14 years ago* fhandler.cc (fhandler_base::setup_overlapped): Don't set signalled state to
Christopher Faylor [Mon, 15 Feb 2010 01:45:05 +0000 (01:45 +0000)]
* fhandler.cc (fhandler_base::setup_overlapped): Don't set signalled state to
true initially.
(fhandler_base::has_ongoing_io): Delete ill-advised function.
(fhandler_base::read_overlapped): Rely on caller having checked nonblocking
state.  Don't attempt to (incorrectly) check it here.
(fhandler_base::write_overlapped): Remove call to has_ongoing_io.
* select.cc (peek_pipe): Ditto.
* fhandler.h (fhandler_base::has_ongoing_io): Delete declaration.

14 years ago* regex/regcomp.c (xwcrtomb): Fix one explicable and one inexcplicable C
Christopher Faylor [Sun, 14 Feb 2010 21:28:44 +0000 (21:28 +0000)]
* regex/regcomp.c (xwcrtomb): Fix one explicable and one inexcplicable C
warning.

14 years ago * regex/regcomp.c (xwcrtomb): Don't convert Unicode chars outside the
Corinna Vinschen [Sat, 13 Feb 2010 12:26:06 +0000 (12:26 +0000)]
* regex/regcomp.c (xwcrtomb): Don't convert Unicode chars outside the
base plane always to UTF-8.  Call wcsnrtombs instead to allow arbitrary
multibyte charsets.

14 years ago * cygpath.cc (do_pathconv): Fix potential crash.
Corinna Vinschen [Sat, 13 Feb 2010 11:41:53 +0000 (11:41 +0000)]
* cygpath.cc (do_pathconv): Fix potential crash.

14 years ago*** empty log message ***
Daniel Gutson [Fri, 12 Feb 2010 20:18:46 +0000 (20:18 +0000)]
*** empty log message ***

14 years ago * regex/regcomp.c (wgetnext): Use size_t as type for n2 since that's
Corinna Vinschen [Fri, 12 Feb 2010 20:17:22 +0000 (20:17 +0000)]
* regex/regcomp.c (wgetnext): Use size_t as type for n2 since that's
what's returned by mbrtowc.
* regex/regexec.c (xmbrtowc): Ditto.

14 years ago gas/
Daniel Gutson [Fri, 12 Feb 2010 20:15:12 +0000 (20:15 +0000)]
gas/
* config/tc-arm.c (asm_opcode): operands type
change.
(BAD_PC_ADDRESSING): New macro message.
(BAD_PC_WRITEBACK): Likewise.
(MIX_ARM_THUMB_OPERANDS): New macro.
(operand_parse_code): Added enum values.
(parse_operands): Added thumb/arm distinction,
plus new enum values handling.
(encode_arm_addr_mode_2): Validations enhanced.
(encode_arm_addr_mode_3): Likewise.
(do_rm_rd_rn): Likewise.
(encode_thumb32_addr_mode): Likewise.
(do_t_ldrex): Likewise.
(do_t_ldst): Likewise.
(do_t_strex): Likewise.
(md_assemble): Call parse_operands with
a new parameter.
(OPS_1): New macro.
(OPS_2): Likewise.
(OPS_3): Likewise.
(OPS_4): Likewise.
(OPS_5): Likewise.
(OPS_6): Likewise.
(insns): Updated insns operands.

gas/testsuite/
* gas/arm/sp-pc-validations-bad.d: New testcase.
* gas/arm/sp-pc-validations-bad.l: New file.
* gas/arm/sp-pc-validations-bad.s: New file.
* gas/arm/sp-pc-validations-bad-t.d: New testcase.
* gas/arm/sp-pc-validations-bad-t.l: New file.
* gas/arm/sp-pc-validations-bad-t.s: New file.
* gas/arm/sp-pc-usage-t.d: Removed invalid insns.
* gas/arm/sp-pc-usage-t.s: Likewise.
* gas/arm/unpredictable.d: Likewise.
* gas/arm/unpredictable.s: Likewise.
* gas/arm/thumb2_bcond.d: Added test.
* gas/arm/thumb2_bcond.s: Likewise.

14 years ago* pthread.cc (pthread_mutex_init): Explicitly fill out third arg to
Christopher Faylor [Fri, 12 Feb 2010 20:07:13 +0000 (20:07 +0000)]
* pthread.cc (pthread_mutex_init): Explicitly fill out third arg to
pthread_mutex::init.
* thread.cc: Remov some obsolete comments.
(verifyable_object_isvalid): Reflect change to use thread_magic_t for magic
numbers.
(pthread_mutex::pthread_mutex): Set magic number to invalid initially until
we've verified that everything is valid.
(pthread_mutex::unlock): Fix a comment.
(verifyable_object::verifyable_object): Delete here.
(~verifyable_object::~verifyable_object): Ditto.
(pthread_mutex::init): Don't run is_good_initializer for non-static objects.
* thread.h (thread_magic_t): New typedef.
(verifyable_object::verifyable_object): Use thread_magic_t;
(verifyable_object::magic): Ditto.
(pthread_mutex::is_good_initializer_or_bad_object): Remove unneeded variable
names.
(pthread_mutex::can_be_unlocked): Ditto.
(pthread_mutex::init): Ditto.  Remove default for third argument.

14 years agofix typo
Christopher Faylor [Fri, 12 Feb 2010 18:38:59 +0000 (18:38 +0000)]
fix typo

14 years ago * regex/regcomp.c (xwcrtomb): New function to convert wide chars
Corinna Vinschen [Fri, 12 Feb 2010 17:46:39 +0000 (17:46 +0000)]
* regex/regcomp.c (xwcrtomb): New function to convert wide chars
outside of the base plane to UTF-8.  Call throughout instead of
wcrtomb.
(wgetnext): Handle surrogate pairs on UTF-16 systems.
* regex/regexec.c (xmbrtowc): Ditto.

14 years ago * sec_auth.cc (get_user_local_groups): Retrieve name of well known
Corinna Vinschen [Fri, 12 Feb 2010 17:40:42 +0000 (17:40 +0000)]
* sec_auth.cc (get_user_local_groups): Retrieve name of well known
builtin group from system.  Explain why.
* sec_helper.cc (well_known_builtin_sid): New SID for BUILTIN group.
* security.h (well_known_builtin_sid): Declare.

14 years ago2010-02-11 Pierre Humblet <Pierre.Humblet@ieee.org>
Pierre Humblet [Fri, 12 Feb 2010 01:04:52 +0000 (01:04 +0000)]
2010-02-11  Pierre Humblet <Pierre.Humblet@ieee.org>

        * registry.c (get_registry_hive_path): Add space in string.

14 years ago * regex/engine.c (step): Drop Cygwin-specific definition.
Corinna Vinschen [Thu, 11 Feb 2010 21:19:19 +0000 (21:19 +0000)]
* regex/engine.c (step): Drop Cygwin-specific definition.
(NONCHAR): Better cast here to make the test work.  Move comment
from step here.
(matcher): Disable skipping initial string in multibyte case.
* regex/regcomp.c (p_bracket): Don't simplify singleton in the invert
case.
(p_b_term): Handle early end of pattern after dash in bracket
expression.
(singleton): Don't ignore the wides just because there's already a
singleton in the single byte chars.  Fix condition for a singleton
wide accordingly.
(findmust): Check for LC_CTYPE charset, rather than LC_COLLATE charset.
* regex2.h (CHIN): Fix condition in the icase & invert case.
(ISWORD): Fix wrong cast to unsigned char.

14 years ago2010-02-11 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Thu, 11 Feb 2010 21:03:51 +0000 (21:03 +0000)]
2010-02-11  Craig Howland <howland@LGSInnovations.com>

        * libc/include/machine/ieeefp.h:  isfinite macro modified to run faster
        by only calling fpclassify once instead of possibly twice.

14 years ago2010-02-11 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Thu, 11 Feb 2010 21:00:33 +0000 (21:00 +0000)]
2010-02-11  Craig Howland <howland@LGSInnovations.com>

        * libm/common/s_ilogb.c:  Adjust documentation to reflect new returns
        (see next items) and that ilogb() and ilogbf() are C99/POSIX.
        * libm/common/s_ilogb.c (ilogb):  Use C99/POSIX FP_ILOGB0 and
        FP_ILOGBNAN returns for 0 and NAN arguments, respectively, instead of
        the prior -INT_MAX and INT_MAX.  The FP_ILOGBx defines in math.h
        presently match the prior hard-codes, so no functional change is
        actually introduced.  (Not at this time, nor planned, but the values
        are permitted to be different, so subsequent edits of math.h could
        possibly cause a functional change.)
        * libm/common/sf_ilogb.c (ilogbf):  Ditto.

14 years ago * new-features.sgml (ov-new1.7.2): Rephrase getlocale entry.
Corinna Vinschen [Thu, 11 Feb 2010 11:39:58 +0000 (11:39 +0000)]
* new-features.sgml (ov-new1.7.2): Rephrase getlocale entry.

14 years ago * getlocale.c (main): Rename local variable to avoid problems.
Corinna Vinschen [Thu, 11 Feb 2010 11:39:23 +0000 (11:39 +0000)]
* getlocale.c (main): Rename local variable to avoid problems.
Avoid string comparisons, rather test language and sublanguage codes
wheere possible.  Add more code to handle Serbian language/territory
state identical on all Windows versions.  Fix handling for "@latin"
modifier in Belarusian locale.
* utils.sgml (getlocale): Try to make wording and example clearer.

14 years ago * nlsfuncs.cc (initial_setlocale): Move check whether charset has
Corinna Vinschen [Thu, 11 Feb 2010 10:04:51 +0000 (10:04 +0000)]
* nlsfuncs.cc (initial_setlocale): Move check whether charset has
changed from here...
(internal_setlocale): ...to here, to avoid unnecessary work when invoked
via CW_INT_SETLOCALE.

14 years ago * getlocale.c (usage): Change text slightly.
Corinna Vinschen [Wed, 10 Feb 2010 15:58:59 +0000 (15:58 +0000)]
* getlocale.c (usage): Change text slightly.

14 years ago * getlocale.c (main): Restrict -a loop to avoid psudo language entries
Corinna Vinschen [Wed, 10 Feb 2010 12:39:40 +0000 (12:39 +0000)]
* getlocale.c (main): Restrict -a loop to avoid psudo language entries
on Vista and later.

14 years ago * getlocale.c (main): Revamp -a loop to avoid duplicates and to print
Corinna Vinschen [Wed, 10 Feb 2010 12:36:29 +0000 (12:36 +0000)]
* getlocale.c (main): Revamp -a loop to avoid duplicates and to print
locales with the correct, supported modifiers.

14 years ago * new-features.sgml (ov-new1.7.2): Add LC_MESSAGES support.
Corinna Vinschen [Wed, 10 Feb 2010 12:34:54 +0000 (12:34 +0000)]
* new-features.sgml (ov-new1.7.2): Add LC_MESSAGES support.
* setup2.sgml (setup-locale-ov): Change "@euro" modifier description.
(setup-locale-missing): Remove.

14 years ago * nlsfuncs.cc (__set_charset_from_locale): Allow "@euro" modifier only
Corinna Vinschen [Wed, 10 Feb 2010 12:29:26 +0000 (12:29 +0000)]
* nlsfuncs.cc (__set_charset_from_locale): Allow "@euro" modifier only
for locales which use EUR as currency.

14 years ago * nlsfuncs.cc (__get_lcid_from_locale): Convert iu_CA to iu-Latn-CA
Corinna Vinschen [Wed, 10 Feb 2010 10:44:21 +0000 (10:44 +0000)]
* nlsfuncs.cc (__get_lcid_from_locale): Convert iu_CA to iu-Latn-CA
rather than iu-Cans-CA on Vista and later.
(__set_charset_from_locale): Set default charset for iu_CA to UTF-8.

14 years ago* dcrt0.cc (_dll_crt0): Set _main_tls as early as possible.
Christopher Faylor [Wed, 10 Feb 2010 07:25:26 +0000 (07:25 +0000)]
* dcrt0.cc (_dll_crt0): Set _main_tls as early as possible.
* thread.cc (pthread_mutex::can_be_unlocked): Remove check for
MUTEX_OWNER_ANONYMOUS since it is racy and unsafe.
(pthread::init_mainthread): Initialize thread directly from _my_tls.
(pthread::self): Ditto.
(pthread::get_tls_self_pointer): Delete.
(pthread_mutex::pthread_mutex): Use an event rather than a semaphore.
(pthread_mutex::lock): Rename from _<func>.  Derive self directly.
(pthread_mutex::tryunlock): Ditto.
(pthread_mutex::destroy): Ditto.
(pthread_mutex::unlock): Ditto.  Accommodate change from semaphore to event.
(pthread_mutex::_fixup_after_fork): Accommodate change from semaphore to event.
(pthread_mutex::init): Don't attempt to initialize a semaphore unless it is in
an initialized state.  Do this check under mutex_initialization_lock.lock
* thread.h (fast_mutex::init): Use event rather than semaphore.
(fast_mutex::lock): Ditto.
(pthread_mutex::_lock): Delete.
(pthread_mutex::_unlock): Ditto.
(pthread_mutex::_trylock): Ditto.
(pthread_mutex::_destroy): Ditto.
(pthread_mutex::get_pthread_self): Ditto.
(pthread_mutex::get_tls_self_pointer): Ditto.
(pthread_mutex::lock): Un-inline.
(pthread_mutex::unlock): Ditto.
(pthread_mutex::trylock): Ditto.
(pthread_mutex::destroy): Ditto.

14 years ago* cygtls.h (struct _cygtls): Remove unneeded elements.
Christopher Faylor [Wed, 10 Feb 2010 03:17:32 +0000 (03:17 +0000)]
* cygtls.h (struct _cygtls): Remove unneeded elements.
* thread.cc (pthread::exit): Avoid potential double call to _my_tls.remove.
* tlsoffsets.h: Regenerate.

14 years ago2010-02-09 Daniel Gutson <dgutson@codesourcery.com>
Jeff Johnston [Tue, 9 Feb 2010 22:52:21 +0000 (22:52 +0000)]
2010-02-09  Daniel Gutson  <dgutson@codesourcery.com>

        * libc/machine/arm/arm_asm.h (_ISA_THUMB_2): __ARM_ARCH_7EM__
        added to the preprocessor condition.

14 years ago * nlsfuncs.cc (lc_wcstombs): Add `return_invalid' flag to specify
Corinna Vinschen [Tue, 9 Feb 2010 12:22:26 +0000 (12:22 +0000)]
* nlsfuncs.cc (lc_wcstombs): Add `return_invalid' flag to specify
whether invalid chars should be ignored or not.  Change comment.
(__set_lc_monetary_from_win): Call lc_wcstombs with return_invalid
flag set.
(__set_lc_messages_from_win): Simplify to accommodate the fact that
lc_wcstombs just ignores invalid chars.  Explain why.

14 years agobfd/
Martin Schwidefsky [Tue, 9 Feb 2010 12:14:43 +0000 (12:14 +0000)]
bfd/

2010-02-09  Michael Holzheu  <holzheu@de.ibm.com>

* elf-bfd.h (elfcore_write_s390_timer, elfcore_write_s390_todcmp,
elfcore_write_s390_todpreg, elfcore_write_s390_ctrs,
elfcore_write_s390_prefix): New.
* elf.c (elfcore_write_s390_timer, elfcore_write_s390_todcmp,
elfcore_write_s390_todpreg, elfcore_write_s390_ctrs,
elfcore_write_s390_prefix): New.
(elfcore_grok_note): Handle NT_S390_TIMER, NT_S390_TODCMP,
NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
(elfcore_write_register_note): Handle .reg-s390-timer,
.reg-s390-todcmp, .reg-s390-todpreg, .reg-s390-ctrs,
.reg-s390-prefix section.

binutils/

2010-02-09  Michael Holzheu  <holzheu@de.ibm.com>

* readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.

include/elf/

2010-02-09  Michael Holzheu  <holzheu@de.ibm.com>

* common.h (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG,
NT_S390_CTRS and NT_S390_PREFIX): Define.

14 years ago * nlsfuncs.cc (__set_lc_messages_from_win): Fix typo.
Corinna Vinschen [Tue, 9 Feb 2010 11:44:03 +0000 (11:44 +0000)]
* nlsfuncs.cc (__set_lc_messages_from_win): Fix typo.

14 years ago * lc_msg.h: New file, fix a problem in locales with modifiers.
Corinna Vinschen [Tue, 9 Feb 2010 11:38:44 +0000 (11:38 +0000)]
* lc_msg.h: New file, fix a problem in locales with modifiers.

14 years ago * lc_msg.h: New file, generated from running Linux system.
Corinna Vinschen [Tue, 9 Feb 2010 11:16:38 +0000 (11:16 +0000)]
* lc_msg.h: New file, generated from running Linux system.

14 years ago * lc_msg.h: New file, autogenerated from CLDR data.
Corinna Vinschen [Tue, 9 Feb 2010 08:59:49 +0000 (08:59 +0000)]
* lc_msg.h: New file, autogenerated from CLDR data.
* nlsfuncs.cc: Include lc_msg.h.
(lc_time_buf): Remove.
(lc_numeric_buf): Remove.
(lc_monetary_buf): Remove.
(lc_mbstowcs): Fix previous fix.
(__set_lc_time_from_win): Take additional pointer to buffer pointer,
defined in newlib.
(__set_lc_numeric_from_win): Ditto.
(__set_lc_monetary_from_win): Ditto.
(locale_cmp): New static function.
(__set_lc_messages_from_win): New function to be called from newlib.

14 years ago * libc/locale/lmessages.c (__messages_load_locale): Take additional
Corinna Vinschen [Tue, 9 Feb 2010 08:58:38 +0000 (08:58 +0000)]
* libc/locale/lmessages.c (__messages_load_locale): Take additional
parameters for wide char to multibyte conversion.  Call
__set_lc_messages_from_win on Cygwin.
* libc/locale/lmessages.h: Make C++-safe.
(__messages_load_locale): Change declaration.
* libc/locale/lmonetary.c (__monetary_load_locale): Use
_monetary_locale_buf as buffer pointer.
* libc/locale/lnumeric.c (__numeric_load_locale): Use
_numeric_locale_buf as buffer pointer.
* libc/locale/timelocal.c (__time_load_locale): Use time_locale_buf
as buffer pointer.
* libc/locale/locale.c (loadlocale): Enable loading LC_MESSAGES data
on Cygwin.

14 years ago Now *really* check in what should have been checked in 12 hours ago.
Corinna Vinschen [Mon, 8 Feb 2010 21:33:59 +0000 (21:33 +0000)]
Now *really* check in what should have been checked in 12 hours ago.

14 years agoinclude/
David S. Miller [Mon, 8 Feb 2010 20:28:43 +0000 (20:28 +0000)]
include/

* elf/sparc.h (R_SPARC_JMP_IREL, R_SPARC_IRELATIVE): Define.

bfd/

* reloc.c (BFD_RELOC_SPARC_JMP_IREL): New.
(BFD_RELOC_SPARC_IRELATIVE): Likewise.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.

* elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add loc_hash_table
and loc_hash_memory.
(_bfd_sparc_elf_link_hash_table_free): Declare.
* elf32-sparc.c (elf32_sparc_add_symbol_hook): New.
(elf_backend_add_symbol_hook, elf_backend_post_process_headers,
bfd_elf32_bfd_link_hash_table_free): Define.
* elf64-sparc.c (elf64_sparc_add_symbol_hook): Set
has_ifunc_symbols if STT_GNU_IFUNC.
(bfd_elf64_bfd_link_hash_table_free): Define.
(elf_backend_post_process_headers): Define always.
* elfxx-sparc.c (sparc_jmp_irel_howto, sparc_irelative_howto): New.
(sparc_reloc_map): Add entries for new IFUNC relocs.
(_bfd_sparc_elf_reloc_type_lookup): Handle new IFUNC relocs.
(_bfd_sparc_elf_info_to_howto_ptr): Likewise.
(elf_sparc_local_htab_hash, elf_sparc_local_htab_eq,
elf_sparc_get_local_sym_hash): New.
(_bfd_sparc_elf_create_dynamic_sections): Move PLT ops initialization
from here...
(_bfd_sparc_elf_link_hash_table_create): ... to here.  Allocate
local hash table.
(_bfd_sparc_elf_link_hash_table_free): New.
(create_ifunc_sections): New.
(_bfd_sparc_elf_check_relocs): Unconditionally assign htab->elf.dynobj
and call create_ifunc_sections().  For local STT_GNU_IFUNC symbols
cons up a fake local hash table entry for it.  Unconditionally add
a PLT refcount for STT_GNU_IFUNC symbols when h->def_regular.  Count
dyn relocs for ifunc.
(_bfd_sparc_elf_adjust_dynamic_symbol): Handle ifunc.
(allocate_dynrelocs):  Unconditionally emit a PLT entry when STT_GNU_IFUNC
and h->def_regular.  Count GOT dyn relocs for ifunc.
(allocate_local_dynrelocs): New function.
(_bfd_sparc_elf_size_dynamic_sections): Invoke it over the local hash table.
Emit dynamic relocs to irelplt when not shared.  Treat iplt like splt.
(_bfd_sparc_elf_relocate_section): Handle ifunc relocations by hand.
(_bfd_sparc_elf_finish_dynamic_symbol): Adjust for non-dynamic ifunc plt
in iplt/irelplt.

ld/testsuite/

* ld-ifunc/ifunc.exp: Run for sparc.

14 years ago2010-02-08 Conny Marco Menebrocker <c-m-m@gmx.de>
Jeff Johnston [Mon, 8 Feb 2010 20:12:00 +0000 (20:12 +0000)]
2010-02-08  Conny Marco Menebrocker <c-m-m@gmx.de>

        * xc16x/xc16x.mt: New file.
        * xc16x/configure.in: Add target_makefile_frag reference.
        * xc16x/configure: Regenerated.

14 years ago2010-02-08 Josef Wolf <jw@raven.inka.de>
Jeff Johnston [Mon, 8 Feb 2010 17:24:22 +0000 (17:24 +0000)]
2010-02-08  Josef Wolf  <jw@raven.inka.de>

        * libc/machine/m68k/memcpy.S: MISALIGEND_OK should not be set for
        __mcpu32__.

14 years ago This patch got lost in the previous checkin, accidentally:
Corinna Vinschen [Mon, 8 Feb 2010 09:55:35 +0000 (09:55 +0000)]
This patch got lost in the previous checkin, accidentally:
* nlsfuncs.cc (lc_mbstowcs): Fix call to f_mbtowc.

14 years ago * external.cc (cygwin_internal): Add CW_INT_SETLOCALE case to
Corinna Vinschen [Mon, 8 Feb 2010 09:52:40 +0000 (09:52 +0000)]
* external.cc (cygwin_internal): Add CW_INT_SETLOCALE case to
allow to call internal_setlocale().
* nlsfuncs.cc (internal_setlocale): Make externally available.
* include/cygwin/version.h: Bump API minor number.
* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_INT_SETLOCALE.

* nlsfuncs.cc (lc_mbstowcs): Fix call to f_mbtowc.
(__set_locale_from_locale_alias): Ignore "@cjknarrow" modifier.

14 years agomissed from last commit
Alan Modra [Mon, 8 Feb 2010 02:04:05 +0000 (02:04 +0000)]
missed from last commit

14 years agoinclude/
Alan Modra [Mon, 8 Feb 2010 01:59:33 +0000 (01:59 +0000)]
include/
* opcode/ppc.h (PPC_OPCODE_TITAN): Define.
bfd/
* archures.c (bfd_mach_ppc_titan): Define.
* bfd-in2.h: Regenerate.
* cpu-powerpc.c (bfd_powerpc_archs): Add titan entry.
opcodes/
* ppc-dis.c (ppc_opts): Add titan entry.
* ppc-opc.c (TITAN, MULHW): Define.
(powerpc_opcodes): Support AppliedMicro Titan core (APM83xxx).
gas/
* config/tc-ppc.c (md_show_usage): Mention -mtitan.  Don't use tabs.
(ppc_mach): Handle titan.
* doc/c-ppc.texi: Mention -mtitan.
gas/testsuite/
* gas/ppc/titan.d, * gas/ppc/titan.s: New test.
* gas/ppc/ppc.exp: Run it.

14 years ago * new-features.sgml (ov-new1.7-misc): Fix typo.
Yaakov Selkowitz [Sun, 7 Feb 2010 22:06:16 +0000 (22:06 +0000)]
* new-features.sgml (ov-new1.7-misc): Fix typo.

14 years ago * nlsfuncs.cc (__get_lcid_from_locale): Handle "@cyrillic" modifier
Corinna Vinschen [Sun, 7 Feb 2010 17:35:59 +0000 (17:35 +0000)]
* nlsfuncs.cc (__get_lcid_from_locale): Handle "@cyrillic" modifier
for uz_UZ locale here.
(__set_charset_from_locale): Accommodate above change.

14 years agoMove entry for elf/s390.h to elf/ChangeLog.
H.J. Lu [Sun, 7 Feb 2010 14:42:40 +0000 (14:42 +0000)]
Move entry for elf/s390.h to elf/ChangeLog.

14 years ago * libc/locale/locale.c: Add Cygwin's /usr/share/locale/locale.alias
Corinna Vinschen [Sun, 7 Feb 2010 13:52:34 +0000 (13:52 +0000)]
* libc/locale/locale.c: Add Cygwin's /usr/share/locale/locale.alias
support to documentation.
(__set_locale_from_locale_alias): Declare when build for Cygwin.
(loadlocale): On Cygwin, if locale can't be recognized, call
__set_locale_from_locale_alias to check for locale alias.
Define FAIL macro to replace `return NULL' statements.  Replace
throughout.

14 years ago * new-features.sgml (ov-new1.7.2): Add support for locales from
Corinna Vinschen [Sun, 7 Feb 2010 13:42:49 +0000 (13:42 +0000)]
* new-features.sgml (ov-new1.7.2): Add support for locales from
/usr/share/locale/locale.alias.
* setup2.sgml (setup-locale-ov): Ditto.

14 years ago * nlsfuncs.cc (__set_locale_from_locale_alias): New function to read
Corinna Vinschen [Sun, 7 Feb 2010 13:31:08 +0000 (13:31 +0000)]
* nlsfuncs.cc (__set_locale_from_locale_alias): New function to read
locale aliases from /usr/share/locale/locale.alias.

14 years ago * libc/locale/locale.c: Fix typo in documentation. Remove useless
Corinna Vinschen [Sun, 7 Feb 2010 12:57:48 +0000 (12:57 +0000)]
* libc/locale/locale.c: Fix typo in documentation.  Remove useless
_MB_CAPABLE guards within other _MB_CAPABLE guards.  Add comment
to remaining #endif's.

14 years ago * nlsfuncs.cc (__get_lcid_from_locale): Handle no_NO as nb_NO, rather
Corinna Vinschen [Sat, 6 Feb 2010 21:57:33 +0000 (21:57 +0000)]
* nlsfuncs.cc (__get_lcid_from_locale): Handle no_NO as nb_NO, rather
than nn_NO.

14 years ago * setup2.sgml (setup-locale-ov): Align description of working modifiers
Corinna Vinschen [Sat, 6 Feb 2010 21:41:05 +0000 (21:41 +0000)]
* setup2.sgml (setup-locale-ov): Align description of working modifiers
to latest changes.

14 years ago * nlsfuncs.cc (has_modifier): MOve up in file to use in
Corinna Vinschen [Sat, 6 Feb 2010 21:40:53 +0000 (21:40 +0000)]
* nlsfuncs.cc (has_modifier): MOve up in file to use in
__get_lcid_from_locale as well.
(__get_lcid_from_locale): Handle no_NO locale as alias for nn_NO.
Default all sr_XY locales to Cyrillic script.  Change lcid to Latin
script if "@latin" modifier has been specified.
(__set_charset_from_locale): Handle Serbian in codepage 1251 case as
well.  Also check for sr_BA lcid.  Restrict "@euro" modifier to
locales otherwise defaulting to ISO-8859-1.

14 years ago * new-features.sgml (ov-new1.7.2): Add support for new charsets.
Corinna Vinschen [Sat, 6 Feb 2010 18:33:40 +0000 (18:33 +0000)]
* new-features.sgml (ov-new1.7.2): Add support for new charsets.
Change text for modifier support.
(setup-locale-charsetlist): Add new GEORGIAN-PS and PT154 charsets
to list of supported charsets.  Reorder list for non-ISO, non-CP
charsets alphabetically.

14 years ago * nlsfuncs.cc (__set_charset_from_locale): Set default charset for
Corinna Vinschen [Sat, 6 Feb 2010 18:30:18 +0000 (18:30 +0000)]
* nlsfuncs.cc (__set_charset_from_locale): Set default charset for
"ka_GE" locale to GEORGIAN-PS, for "kk_KZ" to PT154.

14 years ago * libc/ctype/ctype_cp.h (_CTYPE_GEORGIAN_PS_128_254): Define.
Corinna Vinschen [Sat, 6 Feb 2010 18:28:33 +0000 (18:28 +0000)]
* libc/ctype/ctype_cp.h (_CTYPE_GEORGIAN_PS_128_254): Define.
(_CTYPE_GEORGIAN_PS_255): Define.
(_CTYPE_PT154_128_254): Define.
(_CTYPE_PT154_255): Define.
(__ctype_cp): Add array members for above ctype definitions.
* libc/locale/locale.c (loadlocale): Make TIS-620 charset name
available for all targets.  Add guards for setting the conversion
function pointers.  Add support for GEORGIAN-PS and PT154 charsets.
Change documentation to reflect current behaviour more closely.
* libc/locale/nl_langinfo.c (nl_langinfo): On Cygwin, translate
"CP101" to "GEORGIAN-PS" and "CP102" to "PT154".
* libc/stdlib/sb_charsets.c (__cp_conv): Add conversion arrays
for GEORGIAN-PS and PT154.
(__cp_index): Map invalid Windows codepage number 101 to
GEORGIAN-PS conversion array, 102 to PT154 conversion array.

14 years ago * path.cc (symlink_info::check_nfs_symlink): Reopen file with
Corinna Vinschen [Sat, 6 Feb 2010 15:57:21 +0000 (15:57 +0000)]
* path.cc (symlink_info::check_nfs_symlink): Reopen file with
FILE_READ_EA access since, surprisingly, you need it to read EAs even
on NFS.

14 years ago * sec_auth.cc (get_full_privileged_inheritable_token): New function
Corinna Vinschen [Sat, 6 Feb 2010 13:13:15 +0000 (13:13 +0000)]
* sec_auth.cc (get_full_privileged_inheritable_token): New function
to fetch token with full privileges from logon token in Vista and
later, and to make token inheritable.  Add lengthy comments to explain
the function's job.
(cygwin_logon_user): Drop calling SetHandleInformation.  Enable TCB
privilege and call get_full_privileged_inheritable_token.
(lsaauth): Don't fetch linked token and don't make handle inheritable
here, just call get_full_privileged_inheritable_token instead.
(lsaprivkeyauth): Ditto.

14 years ago * libc/posix/telldir.c: Remove bogus nested prototype of lseek().
Corinna Vinschen [Sat, 6 Feb 2010 10:32:20 +0000 (10:32 +0000)]
* libc/posix/telldir.c: Remove bogus nested prototype of lseek().

14 years ago * setup2.sgml (setup-locale-ov): Add description for "uz_UZ@cyrillic"
Corinna Vinschen [Fri, 5 Feb 2010 21:38:31 +0000 (21:38 +0000)]
* setup2.sgml (setup-locale-ov): Add description for "uz_UZ@cyrillic"
and "tt_RU@iqtelif" modifiers.  Slightly rephrase locale specifier
description in terms of the modifier string.

14 years ago * nlsfuncs.cc (__set_charset_from_locale): Set default locale for
Corinna Vinschen [Fri, 5 Feb 2010 21:35:34 +0000 (21:35 +0000)]
* nlsfuncs.cc (__set_charset_from_locale): Set default locale for
"uz_UZ" locale to ISO-8859-1, with the "@cyrillic" modifier to UTF-8.

14 years ago * libc/locale/locale.c (loadlocale): Handle ISO-8859 and KOI8 charsets
Corinna Vinschen [Fri, 5 Feb 2010 21:24:42 +0000 (21:24 +0000)]
* libc/locale/locale.c (loadlocale): Handle ISO-8859 and KOI8 charsets
so that the dashes are optional.  Align documentation.

14 years ago* dll_init.cc (per_module::run_dtors): Use consistent method for running
Christopher Faylor [Fri, 5 Feb 2010 15:05:22 +0000 (15:05 +0000)]
* dll_init.cc (per_module::run_dtors): Use consistent method for running
destructors.

14 years ago * new-features.sgml (ov-new1.7.2): Add grouping for printf/wprintf.
Corinna Vinschen [Fri, 5 Feb 2010 08:57:32 +0000 (08:57 +0000)]
* new-features.sgml (ov-new1.7.2): Add grouping for printf/wprintf.

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