summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * libc/locale/locale.c (loadlocale): Handle ISO-8859 and KOI8 charsetsCorinna Vinschen2010-02-052-13/+36
| | | | so that the dashes are optional. Align documentation.
* * dll_init.cc (per_module::run_dtors): Use consistent method for runningChristopher Faylor2010-02-052-2/+7
| | | | destructors.
* * new-features.sgml (ov-new1.7.2): Add grouping for printf/wprintf.Corinna Vinschen2010-02-052-0/+11
|
* * libc/stdio/vfprintf.c: Include locale.h also if _WANT_IO_C99_FORMATSCorinna Vinschen2010-02-053-76/+330
| | | | | | | | 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.
* * regcomp.c (p_ere): Workaround incorrect compiler warning.Christopher Faylor2010-02-043-3/+9
| | | | | * regerror.c (regatoi): Return non-const string or compiler complains in certain inexplicable situations.
* * libc/stdlib/__atexit.c (__atexit_lock): Define a global lock for atexitChristopher Faylor2010-02-043-5/+25
| | | | | | functions. (__register_exitproc): Use __atexit_lock rather than a local static lock. * libc/stdlib/__call_atexit.c: Ditto.
* * regex/engine.c (step): Declare and define with `int ch' rather thanCorinna Vinschen2010-02-042-6/+17
| | | | | `wint_t ch' parameter. Explain why. (NONCHAR): Remove related Cygwin patch here, including wrong comment.
* * new-features.sgml (ov-new1.7.2): Add multibyte-awareness of regcompCorinna Vinschen2010-02-042-1/+6
| | | | and regexec.
* Replace regex files with multibyte-aware version from FreeBSD.Corinna Vinschen2010-02-0423-2107/+2829
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* merge from gccDJ Delorie2010-02-031-0/+5
|
* * sigproc.cc (get_proc_lock): Fix error message typo.Christopher Faylor2010-02-032-1/+5
|
* * fhandler_disk_file.cc (fhandler_base::fstat_helper): WorkaroundCorinna Vinschen2010-02-033-7/+36
| | | | | | | 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.
* Add NT_386_XSTATE.H.J. Lu2010-02-022-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | bfd/ 2010-02-02 H.J. Lu <hongjiu.lu@intel.com> * elf-bfd.h (elfcore_write_xstatereg): New. * elf.c (elfcore_grok_xstatereg): New. (elfcore_write_xstatereg): Likewise. (elfcore_grok_note): Handle NT_X86_XSTATE. (elfcore_write_register_note): Handle .reg-xstate section. binutils/ 2010-02-02 H.J. Lu <hongjiu.lu@intel.com> * readelf.c (get_note_type): Handle NT_X86_XSTATE. include/elf/ 2010-02-02 H.J. Lu <hongjiu.lu@intel.com> * common.h (NT_386_XSTATE): New.
* * include/paths.h (_PATH_MNTTAB): Define.Corinna Vinschen2010-02-023-3/+19
| | | | | | (_PATH_MOUNTED): Define. * include/mntent.h: Include paths.h. Define MNTTAB and MOUNTED as their paths.h equivalents. Add comment.
* * dcrt0.cc (atexit_lock): Delete.Christopher Faylor2010-02-025-60/+58
| | | | | | | | | | | | | | | (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.
* * how-startup-shutdown-works.txt: Add new document.Dave Korn2010-02-022-0/+169
|
* * faq-programming.xml: Update for Cygwin docbook-utils package.Yaakov Selkowitz2010-02-022-1/+2
|
* * README: Update for Cygwin docbook-utils package.Yaakov Selkowitz2010-02-022-4/+7
|
* * configure.ac: Add "recommended" version checks for GMP/MPC.Kaveh Ghazi2010-01-313-20/+94
| | | | | Update recommended GMP/MPFR/MPC versions. * configure: Regenerate.
* 2010-01-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2010-01-294-2/+21
| | | | | | * libc/search/Makefile.am: Create .def files for bsearch and qsort. * libc/search/Makefile.in: Regenerated. * libc/stdlib/stdlib.tex: Add bsearch and qsort.
* * sec_auth.cc (lsaauth): Use CYG_LSA_MAGIC as checksum start value toCorinna Vinschen2010-01-292-2/+6
| | | | decouple from Cygwin release.
* * cyglsa.c: Include lmcons.h instead of lm.h to make newer WinDDK happy.Corinna Vinschen2010-01-294-5/+13
| | | | | | | (LsaApLogonUserEx): Use CYG_LSA_MAGIC as checksum start value to decouple from Cygwin release. * make-64bit-version-with-visual-c.bat: Avoid compiler warning. * cyglsa64.dll: New build.
* * libc/strfmon.c (__setup_vars): Test for an empty string rather thanCorinna Vinschen2010-01-292-2/+7
| | | | for a NULL pointer.
* * dll_init.cc (remove_dll_atexit): New function.Christopher Faylor2010-01-292-0/+34
| | | | | (dll_list::detach): Run any atexit handlers registered in the DLL prior to unloading.
* * libc/strfmon.c (__setup_vars): Fix compiler warning about assigning constChristopher Faylor2010-01-294-4/+15
| | | | | | strings. Compare a pointer to NULL rather than '\0'. * dll_init.cc (dll_dllcrt0_1): Minor comment fix. * pipe.cc (fhandler_pipe::create_selectable): Remove Win9x accommodation.
* Throughout, use FileBothDirectoryInformation info class rather thanCorinna Vinschen2010-01-294-43/+74
| | | | | | | | | | | | | | | | | | FileDirectoryInformation info class to avoid problems with incomplete filesystem implementations. Fix comments accordingly. * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Set fname->Length to 0 in error case to avoid potential crash in debug output. (fhandler_disk_file::readdir): Try to speed up the working default case. Check for STATUS_INVALID_NETWORK_RESPONSE as potential status value returned by filesystems not implementing FileIdBothDirectoryInformation. * ntdll.h (STATUS_INVALID_NETWORK_RESPONSE): Define. (FILE_BOTH_DIRECTORY_INFORMATION): Rename to official name. * path.cc (symlink_info::check): Don't request FILE_READ_EA access, it's not required for NFS. Try to speed up the working default case. Check for STATUS_INVALID_NETWORK_RESPONSE as potential status value returned by filesystems not supporting non-NULL EA parameters. Fix the way fs.update is called. Improve debug output.
* 2010-01-26 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>Chris Sutcliffe2010-01-292-0/+7
| | | | | * include/shldisp.h (AUTOCOMPLETEOPTIONS): Add version guard around ACO_WORD_FILTER and ACO_NOPREFIXFILTERING.
* * Makefile.in (tags, ctags, CTAGS)): Add rules to create tags file.Corinna Vinschen2010-01-282-0/+9
|
* 2010-01-26 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>Chris Sutcliffe2010-01-282-1/+16
| | | | * include/shldisp.h (AUTOCOMPLETEOPTIONS): Add enum.
* * faq-api.xml: d2u/u2d are from cygutils, not util-linux.Yaakov Selkowitz2010-01-262-1/+5
|
* * Makefile.in: Skip validation in xmlto step.Christopher Faylor2010-01-263-10/+20
| | | | * overview.sgml: Clarify language in "A brief history of Cygwin".
* * new-features.sgml (ov-new1.7.2): Add console enhancements.Corinna Vinschen2010-01-262-3/+42
|
* 2010-01-25 Kai Tietz <kai.tietz@onevision.com>Chris Sutcliffe2010-01-259-48/+472
| | | | | | | | | | | | | Implement TLS Callback. * tlsmcrt.c: New file. * tlsmthread.c: Ditto. * tlssup.c: Ditto. * tlsthrd.c: Ditto. * Makefile.in: Include new files. * crt1.c: Implement TLS Callback. * dllcrt1.c: Ditto. * mthr_stub.c: Remove.
* * nlsfuncs.cc (__get_lcid_from_locale): Add comments. Fix typos inCorinna Vinschen2010-01-252-12/+35
| | | | | | | | comments. Make sure to set last_lcid every time. Return locale without territory part as invalid. Handle modern serbian territory names per ISO 3166 on older systems as well. Add appropriate comment. (__set_charset_from_locale): Handle LCID for sr_CS as well to make older systems happy.
* gcc PR libstdc++/36101, gcc PR libstdc++/42813Joern Rennecke2010-01-253-2/+19
| | | | | | * configure.ac (bootstrap_target_libs): Make inclusion of target-libgomp conditional on libgomb being in target_configdirs. * configure: Regenerate.
* * faq-setup.xml: Drop references to non-NT systems.Corinna Vinschen2010-01-253-6/+78
| | | | | * faq-using.xml: Ditto. (faq.using.sshd-in-domain): New FAQ entry.
* * nlsfuncs.cc (__set_charset_from_locale): Rearrange to set charsetCorinna Vinschen2010-01-252-28/+94
| | | | more closely aligned to Glibc.
* * spawn.cc (spawn_guts): Only try to remove long path prefix fromCorinna Vinschen2010-01-252-17/+23
| | | | runpath if runpath is not NULL.
* * faq-using.xml: Fix typos and remove incorrect locale-specificCorinna Vinschen2010-01-254-34/+27
| | | | | | documentation. * new-features.sgml: Ditto. * pathnames.sgml: Ditto.
* * nlsfuncs.cc (__get_lcid_from_locale): Fix a comment. Handle specialCorinna Vinschen2010-01-252-3/+68
| | | | language/TERRITORY combinations explicitely. Explain why.
* * getlocale.c (main): Use setlocale and fetch string from WindowsCorinna Vinschen2010-01-252-5/+14
| | | | using GetLocaleInfoW. Explain why.
* * new-features.sgml: Rework layout to use itemizedlist. Fix typo.Corinna Vinschen2010-01-242-310/+535
| | | | Add two missing entries.
* * nlsfuncs.cc (__set_charset_from_locale): Fix comment.Corinna Vinschen2010-01-242-3/+5
|
* * nlsfuncs.cc (check_codepage): Move from syscalls.cc here.Corinna Vinschen2010-01-244-139/+121
| | | | | | | | | (internal_setlocale): Ditto. (initial_setlocale): Ditto. (setlocale): Ditto. * strfuncs.cc (__sjis_wctomb): Revert previous patch. (__sjis_mbtowc): Ditto. * syscalls.cc: Move setlocale-related functions to nlsfuncs.cc.
* * libc/locale/nl_langinfo.c (nl_langinfo): Return "CP932" when usingCorinna Vinschen2010-01-242-0/+19
| | | | SJIS on Cygwin. Explain why.
* * setup2.sgml (setup-locale-charsetlist): Add CP932. Change descriptionCorinna Vinschen2010-01-232-1/+7
| | | | for SJIS.
* * strfuncs.cc (__sjis_wctomb): Special handling for characters whichCorinna Vinschen2010-01-232-17/+36
| | | | | | | differ between SJIS and Windows codepage 932, if charset is "SJIS". (__sjis_mbtowc): Ditto. (_jis_wctomb): Remove. (__jis_mbtowc): Remove.
* * libc/locale/locale.c (loadlocale): Allow CP932 as alias for SJIS.Corinna Vinschen2010-01-232-9/+21
| | | | Add to documentation. Add a few comments to #endif's for Cygwin.
* * setup2.sgml (setup-locale-charsetlist): Add ASCII and TIS-620. AddCorinna Vinschen2010-01-232-3/+11
| | | | various aliases and case differences.
* * libc/locale/locale.c (loadlocale): Disable JIS entirely on Cygwin.Corinna Vinschen2010-01-232-1/+19
| | | | Allow TIS620 and TIS-620 as aliases for CP874 on Cygwin.