Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Feature test macros overhaul: stdlib.h | Yaakov Selkowitz | 2016-03-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | Throughout, simplify the C99/C11 conditionals, and replace __STRICT_ANSI__ with the proper internal POSIX macros. The _*_r reentrant functions need not be guarded (and most haven't been) because such names in the global scope are reserved to the implementation. atoff is unique to newlib. dtoa is not actually exported (_dtoa_r is used internally), is nonstandard, and the declaration conflicts with the code included in MySQL, NSPR, and SpiderMonkey. mktemp was removed in POSIX.1-2001. The qsort_r declarations are reordered so that the GNU version retains precedence. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com> | ||||
* | Clean up whitespace. | Christopher Faylor | 2011-12-17 | 1 | -2/+2 |
| | |||||
* | * libc/strfmon.c (__setup_vars): Test for an empty string rather than | Corinna Vinschen | 2010-01-29 | 1 | -2/+2 |
| | | | | for a NULL pointer. | ||||
* | * libc/strfmon.c (__setup_vars): Fix compiler warning about assigning const | Christopher Faylor | 2010-01-29 | 1 | -2/+3 |
| | | | | | | 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. | ||||
* | * Makefile.in (DLL_OFILES): Add nlsfunc.o and strfmon.o. | Corinna Vinschen | 2010-01-22 | 1 | -0/+621 |
* autoload.cc (LocaleNameToLCID): Define. * cygwin.din (strfmon): Export. * nlsfuncs.cc: New file. Define a lot of internal functions called from setlocale. (wcscoll): Implement locale-aware here, using CompareStringW function. (strcoll): Ditto. (wcsxfrm): Implement locale-aware here, usingLCMapStringW function. (strxfrm): Ditto. (__set_charset_from_locale): Replace __set_charset_from_codepage. Return Linux-compatible charset. * strfuncs.cc (__set_charset_from_codepage): Remove. * wchar.h (__set_charset_from_codepage): Drop definition. * wincap.h (wincaps::has_localenames): New element. * wincap.cc: Implement above element throughout. * libc/strfmon.c: New file. * libc/strptime.cc: Remove locale constant strings in favor of access to locale-specifc data. (strptime): Point _CurrentTimeLocale to locale-specific data. Throughout use correct locale-specific format fields for all locale-specific formats. * include/monetary.h: New file. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. |