6c36e83bab* 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
Corinna Vinschen
2010-02-19 17:30:19 +0000
f13fe16475* 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.
Corinna Vinschen
2010-02-19 17:27:05 +0000
1929fc8ece* fhandler_disk_file.cc (fhandler_disk_file::opendir): Try to open directory with stat()-friendly access mask first. Explain why.
Corinna Vinschen
2010-02-19 13:28:49 +0000
eb67604071* 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.
Corinna Vinschen
2010-02-19 12:37:37 +0000
7ab414f5a0* 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.
Corinna Vinschen
2010-02-18 20:37:19 +0000
97c8d005d9* 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.
Corinna Vinschen
2010-02-18 18:07:14 +0000
f723b60cf2* 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.
Corinna Vinschen
2010-02-18 17:35:15 +0000
90f5de33d5* fhandler.cc (fhandler_base::setup_overlapped): Revert to starting with handle in signalled state as it seems to fix some hangs.
Christopher Faylor
2010-02-18 15:07:38 +0000
954e9f99fb2010-02-17 LRN <lrn1986@gmail.com>
Chris Sutcliffe
2010-02-18 13:01:56 +0000
7cadc91d98* 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.
Matthew Gretton-Dann
2010-02-18 10:56:27 +0000
16e235b5ad* new-features.sgml (ov-new1.7.2): Accommodate name change of getlocale to locale. * setup2.sgml (setup-locale-how): Ditto.
Corinna Vinschen
2010-02-17 15:02:17 +0000
ce4f5f76ab* 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.
Corinna Vinschen
2010-02-17 15:01:56 +0000
c4889b2341* Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete the config.cache files found by the find command.
Nick Clifton
2010-02-17 11:02:54 +0000
d4850f586dPR 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.
Nick Clifton
2010-02-17 10:05:51 +0000
dc7992f47e* 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.
Corinna Vinschen
2010-02-17 09:14:35 +0000
f94e2b9f582010-02-14 Roumen Petrov <rumen@users.sourceforge.net>
Chris Sutcliffe
2010-02-17 02:41:06 +0000
38d09c90de* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Apply previous patch here as well.
Corinna Vinschen
2010-02-15 16:29:15 +0000
b85c06ba36* libc/stdio/vfprintf.c (_VFPRINTF_R): Drop printing a redundant decimal point in case the float argument is an integral value.
Corinna Vinschen
2010-02-15 16:10:28 +0000
0da7a27a1b* 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.
Corinna Vinschen
2010-02-15 13:35:53 +0000
66f2d8f13e* path.cc (path_conv::check): Treat native DOS paths as "noacl".
Corinna Vinschen
2010-02-15 13:29:02 +0000
93579594b7* mount.cc (mount_info::conv_to_win32_path): Set UNC path flags to cygdrive prefix path flags.
Corinna Vinschen
2010-02-15 12:42:31 +0000
a61421f1fbPR 11238 * configure.ac: Delete config.cache files in sub-directories when deleting Makefiles. * configure: Regenerate.
Nick Clifton
2010-02-15 10:53:35 +0000
f107c370b3Sync from gcc mainline.
Nick Clifton
2010-02-15 10:37:55 +0000
8103e40743* 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.
Christopher Faylor
2010-02-15 01:45:05 +0000
d67a6ce4a8* regex/regcomp.c (xwcrtomb): Fix one explicable and one inexcplicable C warning.
Christopher Faylor
2010-02-14 21:28:44 +0000
15a9e17656* 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.
Corinna Vinschen
2010-02-13 12:26:06 +0000
cfdf224b82*** empty log message ***
Daniel Gutson
2010-02-12 20:18:46 +0000
6b3f923fe2* regex/regcomp.c (wgetnext): Use size_t as type for n2 since that's what's returned by mbrtowc. * regex/regexec.c (xmbrtowc): Ditto.
Corinna Vinschen
2010-02-12 20:17:22 +0000
492f1c3431gas/ * 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.
Daniel Gutson
2010-02-12 20:15:12 +0000
2b1407d372* 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.
Christopher Faylor
2010-02-12 20:07:13 +0000
97e5d3ffa4fix typo
Christopher Faylor
2010-02-12 18:38:59 +0000
7bd2296c83* 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.
Corinna Vinschen
2010-02-12 17:46:39 +0000
e122c47112* 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.
Corinna Vinschen
2010-02-12 17:40:42 +0000
848dbc8f982010-02-11 Pierre Humblet <Pierre.Humblet@ieee.org>
Pierre Humblet
2010-02-12 01:04:52 +0000
44caccfca2* 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.
Corinna Vinschen
2010-02-11 21:19:19 +0000
45c8c6469a2010-02-11 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston
2010-02-11 21:03:51 +0000
451a8eb09a2010-02-11 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston
2010-02-11 21:00:33 +0000
583c495774* 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.
Corinna Vinschen
2010-02-11 11:39:23 +0000
87c0903113* 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.
Corinna Vinschen
2010-02-11 10:04:51 +0000
bb6d8123db* getlocale.c (main): Restrict -a loop to avoid psudo language entries on Vista and later.
Corinna Vinschen
2010-02-10 12:39:40 +0000
96cbb3a380* getlocale.c (main): Revamp -a loop to avoid duplicates and to print locales with the correct, supported modifiers.
Corinna Vinschen
2010-02-10 12:36:29 +0000
4f1c922e06* nlsfuncs.cc (__set_charset_from_locale): Allow "@euro" modifier only for locales which use EUR as currency.
Corinna Vinschen
2010-02-10 12:29:26 +0000
ae40237a0a* 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.
Corinna Vinschen
2010-02-10 10:44:21 +0000
3700578ee8* 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.
Christopher Faylor
2010-02-10 07:25:26 +0000
5880fbf7832010-02-09 Daniel Gutson <dgutson@codesourcery.com>
Jeff Johnston
2010-02-09 22:52:21 +0000
23a4a3517f* 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.
Corinna Vinschen
2010-02-09 12:22:26 +0000
86dc997820bfd/
Martin Schwidefsky
2010-02-09 12:14:43 +0000
9008eb4041* lc_msg.h: New file, fix a problem in locales with modifiers.
Corinna Vinschen
2010-02-09 11:38:44 +0000
09dfe7e025* lc_msg.h: New file, generated from running Linux system.
Corinna Vinschen
2010-02-09 11:16:38 +0000
502a4f52ed* 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.
Corinna Vinschen
2010-02-09 08:59:49 +0000
1cea6189a3* 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.
Corinna Vinschen
2010-02-09 08:58:38 +0000
2f27950afbNow *really* check in what should have been checked in 12 hours ago.
Corinna Vinschen
2010-02-08 21:33:59 +0000
95fc66f6cbinclude/
David S. Miller
2010-02-08 20:28:43 +0000
ab608bc7322010-02-08 Conny Marco Menebrocker <c-m-m@gmx.de>
Jeff Johnston
2010-02-08 20:12:00 +0000
cf9d06b1492010-02-08 Josef Wolf <jw@raven.inka.de>
Jeff Johnston
2010-02-08 17:24:22 +0000
4dce4255ffThis patch got lost in the previous checkin, accidentally: * nlsfuncs.cc (lc_mbstowcs): Fix call to f_mbtowc.
Corinna Vinschen
2010-02-08 09:55:35 +0000
f5a73638cd* 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.
Corinna Vinschen
2010-02-08 09:52:40 +0000
72e44746dcmissed from last commit
Alan Modra
2010-02-08 02:04:05 +0000
db2e119fe6Move entry for elf/s390.h to elf/ChangeLog.
H.J. Lu
2010-02-07 14:42:40 +0000
9ac5e663e8* 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.
Corinna Vinschen
2010-02-07 13:52:34 +0000
8803e713c7* new-features.sgml (ov-new1.7.2): Add support for locales from /usr/share/locale/locale.alias. * setup2.sgml (setup-locale-ov): Ditto.
Corinna Vinschen
2010-02-07 13:42:49 +0000
07d061aeec* nlsfuncs.cc (__set_locale_from_locale_alias): New function to read locale aliases from /usr/share/locale/locale.alias.
Corinna Vinschen
2010-02-07 13:31:08 +0000
bc3677c557* libc/locale/locale.c: Fix typo in documentation. Remove useless _MB_CAPABLE guards within other _MB_CAPABLE guards. Add comment to remaining #endif's.
Corinna Vinschen
2010-02-07 12:57:48 +0000
689109a76f* nlsfuncs.cc (__get_lcid_from_locale): Handle no_NO as nb_NO, rather than nn_NO.
Corinna Vinschen
2010-02-06 21:57:33 +0000
573df59cd4* setup2.sgml (setup-locale-ov): Align description of working modifiers to latest changes.
Corinna Vinschen
2010-02-06 21:41:05 +0000
28d3c4fa38* 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.
Corinna Vinschen
2010-02-06 21:40:53 +0000
3673ff5968* 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.
Corinna Vinschen
2010-02-06 18:33:40 +0000
b6b236270e* nlsfuncs.cc (__set_charset_from_locale): Set default charset for "ka_GE" locale to GEORGIAN-PS, for "kk_KZ" to PT154.
Corinna Vinschen
2010-02-06 18:30:18 +0000
5eb556c849* 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.
Corinna Vinschen
2010-02-06 18:28:33 +0000
38d9821daf* 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.
Corinna Vinschen
2010-02-06 15:57:21 +0000
b96600ef91* 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.
Corinna Vinschen
2010-02-06 13:13:15 +0000
e90f14f5d3* 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.
Corinna Vinschen
2010-02-05 21:38:31 +0000
207889c9a7* nlsfuncs.cc (__set_charset_from_locale): Set default locale for "uz_UZ" locale to ISO-8859-1, with the "@cyrillic" modifier to UTF-8.
Corinna Vinschen
2010-02-05 21:35:34 +0000
837dda8652* libc/locale/locale.c (loadlocale): Handle ISO-8859 and KOI8 charsets so that the dashes are optional. Align documentation.
Corinna Vinschen
2010-02-05 21:24:42 +0000
e7fd08839e* dll_init.cc (per_module::run_dtors): Use consistent method for running destructors.
Christopher Faylor
2010-02-05 15:05:22 +0000
b0776ebd41* libc/stdio/vfprintf.c: Include locale.h also if _WANT_IO_C99_FORMATS is defined. Raise conversion buffer size to make sure it has enough room for numbers plus grouping character. Define GROUPING flag. (_VFPRINTF_R): Add PRINTANDPAD macro. Handle grouping flag character. Handle grouping for decimal integer and float values. * libc/stdio/vfwprintf.c: Ditto.
Corinna Vinschen
2010-02-05 08:35:35 +0000
6e3f2c626d* regcomp.c (p_ere): Workaround incorrect compiler warning. * regerror.c (regatoi): Return non-const string or compiler complains in certain inexplicable situations.
Christopher Faylor
2010-02-04 21:05:07 +0000
fa40bd922e* libc/stdlib/__atexit.c (__atexit_lock): Define a global lock for atexit functions. (__register_exitproc): Use __atexit_lock rather than a local static lock. * libc/stdlib/__call_atexit.c: Ditto.
Christopher Faylor
2010-02-04 17:57:30 +0000
aec8c3d510* regex/engine.c (step): Declare and define with `int ch' rather than `wint_t ch' parameter. Explain why. (NONCHAR): Remove related Cygwin patch here, including wrong comment.
Corinna Vinschen
2010-02-04 17:34:44 +0000
4db9544f4f* new-features.sgml (ov-new1.7.2): Add multibyte-awareness of regcomp and regexec.
Corinna Vinschen
2010-02-04 12:38:00 +0000
e1e595a649Replace regex files with multibyte-aware version from FreeBSD. * Makefile.in (install-headers): Remove extra command to install regex.h. (uninstall-headers): Remove extra command to uninstall regex.h. * nlsfuncs.cc (collate_lcid): Make externally available to allow access to collation internals from regex functions. (collate_charset): Ditto. * wchar.h: Add __cplusplus guards to make C-clean. * include/regex.h: New file, replacing regex/regex.h. Remove UCB advertising clause. * regex/COPYRIGHT: Accommodate BSD license. Remove UCB advertising clause. * regex/cclass.h: Remove. * regex/cname.h: New file from FreeBSD. * regex/engine.c: Ditto. (NONCHAR): Tweak for Cygwin. * regex/engine.ih: Remove. * regex/mkh: Remove. * regex/regcomp.c: New file from FreeBSD. Tweak slightly for Cygwin. Import required collate internals from nlsfunc.cc. (p_ere_exp): Add GNU-specific \< and \> handling for word boundaries. (p_simp_re): Ditto. (__collate_range_cmp): Define. (p_b_term): Use Cygwin-specific collate internals. (findmust): Ditto. * regex/regcomp.ih: Remove. * regex/regerror.c: New file from FreeBSD. Fix a few compiler warnings. * regex/regerror.ih: Remove. * regex/regex.7: New file from FreeBSD. Remove UCB advertising clause. * regex/regex.h: Remove. Replaced by include/regex.h. * regex/regexec.c: New file from FreeBSD. Fix a few compiler warnings. * regex/regfree.c: New file from FreeBSD. * regex/tests: Remove. * regex/utils.h: New file from FreeBSD.
Corinna Vinschen
2010-02-04 12:35:49 +0000
c8f7d3cb48merge from gcc
DJ Delorie
2010-02-03 23:27:54 +0000
4a49c71595* fhandler_disk_file.cc (fhandler_base::fstat_helper): Workaround another bug in NWFS. Add comment to explain why. Improve debug output in case the NT calls to test for binary fail. * path.h (path_conv::fs_is_cifs): New method. (path_conv::fs_is_nwfs): New method.
Corinna Vinschen
2010-02-03 16:05:33 +0000
8b5c2e99d4Add NT_386_XSTATE.
H.J. Lu
2010-02-02 12:37:40 +0000
fac3c73ba0* include/paths.h (_PATH_MNTTAB): Define. (_PATH_MOUNTED): Define. * include/mntent.h: Include paths.h. Define MNTTAB and MOUNTED as their paths.h equivalents. Add comment.
Corinna Vinschen
2010-02-02 11:17:54 +0000
fc6a0dc849* dcrt0.cc (atexit_lock): Delete. (cygwin_exit): Remove atexit lock. (cygwin_atexit): Ditto. Rename parameter to match newlib. Call __cxa_atexit when invoked by a registered DLL. * dll_init.cc (remove_dll_atexit): Delete. (dll_list::find): New function. (dll_list::detach): Use dll_list::find to find dll associated with return address. Use __cxa_finalize to run atexit functions associated with the dll. (cygwin_detach_dll): Don't assume that HANDLE == void *. * dll_init.h (dll_list::find): Declare. (__cxa_atexit): Ditto. (__cxa_finalize): Ditto. * init.cc (dll_entry): Clarify comment.
Christopher Faylor
2010-02-02 02:00:01 +0000