summaryrefslogtreecommitdiffstats
path: root/newlib
Commit message (Collapse)AuthorAgeFilesLines
* 2002-11-22 Joe Buehler <jbuehler@hekimian.com>Jeff Johnston2002-11-224-5/+14
| | | | | | | * configure.in: Change check for libc/include in ${CC} to use an intermediate value so as to work with different shells. * configure: Regenerated. * Makefile.in: Ditto.
* 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>Jeff Johnston2002-11-222-1/+6
| | | | | * libc/sys/h8300hms/read.c: Add support for normal mode architecture.
* 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>Jeff Johnston2002-11-202-21/+18
| | | | | | * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common code for __H8300H__ and __H8300S__. Also return 32-bit return code when -mint32 is used.
* Fix bugs in previous deltaNick Clifton2002-11-181-8/+6
|
* Add NULL to end of argv array.Nick Clifton2002-11-182-0/+11
|
* 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-11-144-2/+68
| | | | | | | * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to only issue one pass/fail message for a compile/link/execute. * testsuite/newlib.elix/elix.exp: New file. * testsuite/newlib.elix/tmmap.c: Ditto.
* * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.Christopher Faylor2002-11-136-0/+19
| | | | | | | | * libc/stdlib/mlock.c: Ditto. * libc/stdlib/msize.c: Ditto. * libc/stdlib/msize.c: Ditto. * libc/stdlib/mtrim.c: Ditto. * libc/stdlib/valloc.c: Ditto.
* 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-11-122-1/+6
| | | | | * libc/stdlib/ldtoa.c (e64toe): When checking the exponent for inf/nan, make sure that the check ignores the sign bit.
* 2002-11-07 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2002-11-079-4/+510
| | | | | | | | | | | | | | * libc/sys/rtems/machine: New directory. * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h, libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h, libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib targets more BSD like when installed without requiring files to be overwritten at install point when RTEMS itself is installed. * Makefile.am: Pick up system dependent machine .h files such as might be found on a BSD-ish system. * Makefile.in: Regenerate. * libc/include/machine/types.h: When on an RTEMS target, define a few BSD flavor types.
* * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.Christopher Faylor2002-11-072-1/+7
|
* 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>Jeff Johnston2002-11-073-12/+9
| | | | | * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C". * libc/include/wctype.h: Ditto.
* 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-11-043-0/+21
| | | | | * libc/include/wchar.h: Add extern "C" specifier if C++. * libc/include/wctype.h: Ditto.
* 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-10-183-0/+89
| | | | | * testsuite/newlib.wctype/tiswctype.c: New test case. * testsuite/newlib.wctype/twctrans.c: Ditto.
* 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-10-183-0/+299
| | | | | * libc/sys/linux/machine/i386/include/endian.h: New file. * libc/sys/linux/machine/i386/include/param.h: Ditto.
* 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-10-183-76/+172
| | | | | * libm/machine/i386/aclocal.m4: Regenerated. * libm/machine/i386/configure: Ditto.
* 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-10-185-0/+95
| | | | | | | | | * testsuite/include/check.h: New header file to use with test cases. * testsuite/lib/newlib.exp: Add testsuite/include directory to list of header files to use. * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns. * testsuite/newlib.wctype/wctype.exp: New file.
* Fix attribution. (Tsk, tsk. Force of habit, sorry.)Richard Sandiford2002-10-111-1/+2
|
* * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.Richard Sandiford2002-10-113-10/+10
| | | | | * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
* 2002-10-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-10-082-0/+11
| | | | | * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link dummy programs.
* 2002-10-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-10-082-0/+6
| | | | * libc/include/pthread.h: Define PTHREAD_CANCELED.
* 2002-10-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-10-084-14/+45
| | | | | | * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s, libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this compile with current GNU tools.
* 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-10-079-7/+44
| | | | | | | | | | | | | * Makefile.am: Add EXTRA_DIRS to allow future dependencies on the build library. * configure.in: Ditto. * Makefile.in: Regenerated. * configure: Ditto. * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS for specifying configured libraries/directories. * libc/sys/linux/configure.in: Ditto. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/configure: Ditto.
* 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-10-032-5/+9
| | | | * libc/include/reent.h: Update documentation at start of file.
* The v850 does not have a ctbp register.Jim Wilson2002-09-273-10/+6
| | | | | | Add myself to write-after-approval section of MAINTAINERS file. * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing the ctbp register.
* 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-273-260/+292
| | | | | | | | | * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h. Also convert to EUCJP before using arrays. For values not in the conversion arrays, return WEOF. * libc/ctype/jp2uc.h: Change from one array to a number of arrays to account for the fact that the originating table is not contiguous for the input values since some are invalid.
* 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-242-4/+9
| | | | * libc/time/ctime.c: Fix prototype documentation.
* * libc/include/sys/errno.h: Add EOVERFLOW.Corinna Vinschen2002-09-242-0/+5
|
* 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-202-0/+47
| | | | * libc/include/wctype.h: New file.
* 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-2031-21/+10945
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/ctype/Makefile.am: Add new files. * libc/ctype/Makefile.in: Regenerated. * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype, and wctrans functions to documentation index. * libc/ctype/iswalnum.c: New file. * libc/ctype/iswalpha.c: Ditto. * libc/ctype/iswblank.c: Ditto. * libc/ctype/iswcntrl.c: Ditto. * libc/ctype/iswctype.c: Ditto. * libc/ctype/iswdigit.c: Ditto. * libc/ctype/iswgraph.c: Ditto. * libc/ctype/iswlower.c: Ditto. * libc/ctype/iswprint.c: Ditto. * libc/ctype/iswpunct.c: Ditto. * libc/ctype/iswspace.c: Ditto. * libc/ctype/iswupper.c: Ditto. * libc/ctype/iswxdigit.c: Ditto. * libc/ctype/jp2uc.c: Ditto. * libc/ctype/jp2uc.h: Ditto. * libc/ctype/local.h: Ditto. * libc/ctype/towctrans.c: Ditto. * libc/ctype/towlower.c: Ditto. * libc/ctype/towupper.c: Ditto. * libc/ctype/utf8alpha.h: Ditto. * libc/ctype/utf8print.h: Ditto. * libc/ctype/utf8punct.h: Ditto. * libc/ctype/wctrans.c: Ditto. * libc/ctype/wctype.c: Ditto. * libc/locale/locale.c (__lc_ctype): New external array to replace static lc_ctype array. * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype rather than reentrancy structure's _current_locale field. * libc/stdlib/wctomb_r.c: Ditto.
* 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-205-9/+14
| | | | | | | * configure.host: Minor comment and formatting changes. * libc/Makefile.am: Add libc_la_DEPENDENCIES. * libc/Makefile.in: Regenerated. * libc/include/sys/config.h: Minor format change.
* 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-192-1/+6
| | | | | * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor statement comment.
* 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-199-13/+111
| | | | | | | | | | | | | | | * libc/posix/opendir.c (opendir): Change code to check for HAVE_FCNTL before calling fcntl. * libc/search/hash.c (hash_open): Ditto. * libc/search/hash_page.c (open_tmp): Ditto. * libc/reent/Makefile.am: Add fcntlr.c. * libc/reent/Makefile.in: Regenerated. * libc/reent/fcntlr.c: New file. * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r instead of _fcntl when HAVE_FCNTL flag is set. * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag to see if _fcntl or _fcntl_r should be called. If flag is not set, default to ENOSYS stub.
* 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-164-17/+12
| | | | | | | | | * libc/include/wchar.h (mbstate_t): Change protective flag to be _MBSTATE_T. * libc/include/sys/_types.h (_mbstate_t): Remove protective flag. [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF for Cygwin. * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
* 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-11129-2216/+7879
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * acinclude.m4 (enable-newlib-mb): Change check to default newlib_mb variable to empty string rather than "no". * configure.host: Remove hard-coding of -DMB_CAPABLE for x86-linux and Cygwin. Add code to check for newlib_mb being unset in which case set to "yes" for x86-linux and Cygwin. Change check for newlib_mb being "yes" to allow for an empty string. * configure.in (_MB_LEN_MAX): New AC_DEFINE. * newlib.hin (_MB_LEN_MAX): New define to configure. * aclocal.m4: Regenerated. * configure: Ditto. * libc/include/limits.h: New file. * libc/sys/linux/include/limits.h: Ditto. * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure libc/machine/aclocal.m4 libc/machine/configure libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure libc/machine/arm/aclocal.m4 libc/machine/arm/configure libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure libc/machine/frv/aclocal.m4 libc/machine/frv/configure libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure libc/machine/i386/aclocal.m4 libc/machine/i386/configure libc/machine/i960/aclocal.m4 libc/machine/i960/configure libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure libc/machine/mips/aclocal.m4 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4 libc/machine/sh/configure libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure libc/machine/v850/aclocal.m4 libc/machine/v850/configure libc/machine/w65/aclocal.m4 libc/machine/w65/configure libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure libc/machine/xstormy16/aclocal.m4 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure libc/sys/aclocal.m4 libc/sys/configure libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4 libc/sys/arc/configure libc/sys/arm/aclocal.m4 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure libc/sys/go32/aclocal.m4 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4 libc/sys/idt/configure libc/sys/linux/aclocal.m4 libc/sys/linux/configure libc/sys/linux/machine/aclocal.m4 libc/sys/linux/machine/configure libc/sys/linux/machine/i386/aclocal.m4 libc/sys/linux/machine/i386/configure libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure libc/sys/netware/aclocal.m4 libc/sys/netware/configure libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure libc/sys/sh/aclocal.m4 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure libc/sys/w65/aclocal.m4 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure libm/aclocal.m4 libm/configure: Regenerated.
* 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-102-2/+11
| | | | | * libc/sys/linux/machine/i386/crt0.c (_start): Remove code that clears the .bss section.
* 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-0917-348/+666
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/include/sys/_types.h (_mbstate_t): Changed to use unsigned char internally. * libc/sys/linux/sys/_types.h: Ditto. * libc/include/sys/reent.h * libc/stdlib/mblen.c (mblen): Use function-specific state value from default reentrancy structure. * libc/stdlib/mblen_r.c (_mblen_r): If return code from _mbtowc_r is less than 0, reset state __count value and return -1. * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer is NULL, use the function-specific pointer provided in the default reentrancy structure. * libc/stdlib/mbrtowc.c: Add reentrant form of function. If input state pointer is NULL, use function-specific area provided in reentrancy structure. * libc/stdlib/mbsrtowcs.c: Ditto. * libc/stdlib/wcrtomb.c: Ditto. * libc/stdlib/wcsrtombs.c: Ditto. * libc/stdlib/mbstowcs.c: Reformat. * libc/stdlib/wcstombs.c: Ditto. * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs, reset the state's __count value and return -1. * libc/stdlib/mbtowc.c: Ditto. * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality. If number of bytes is used up before completing a valid multibyte character, return -2 and save the state. * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count and change some __count references to __state for clarity.
* 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-062-4/+5
| | | | | * libc/include/sys/config.h (MB_LEN_MAX): Removed as this is defined by <limits.h>.
* 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>Jeff Johnston2002-09-052-0/+7
| | | | | * libc/include/wchar.h (WCHAR_MAX): Only define if not already defined.
* 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>Jeff Johnston2002-09-043-6/+3
| | | | | | | | * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__. * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as __WCHAR_MAX__ or 0x7fffffffu. * libc/string/wcscmp.c: Delete wrong and unnecessary type cast. * libc/string/wcsncmp.c: Ditto.
* 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>Jeff Johnston2002-09-043-0/+25
| | | | | | | | * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__. * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as __WCHAR_MAX__ or 0x7fffffffu. * libc/string/wcscmp.c: Delete wrong and unnecessary type cast. * libc/string/wcsncmp.c: Ditto.
* 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-035-0/+11
| | | | | | | * libc/string/wcschr.c: Add include of <stddef.h>. * libc/string/wcspbrk.c: Ditto. * libc/string/wcsrchr.c: Ditto. * libc/string/wcsstr.c: Ditto.
* 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-0310-14/+117
| | | | | | | | | | | | | | | | | | * libc/include/sys/_types.h (_flock_t): Added. * libc/include/sys/lock.h (__lock_try_acquire): New interface. (__lock_try_acquire_recursive): Ditto. * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new _lock field. * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock field. * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto. * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto. * libc/sys/linux/include/time.h (struct timespec): Moved from <sys/types.h> and added check for __need_timespec flag so type can be defined by itself. * libc/sys/linux/sys/_types.h (_flock_t): New type. * libc/sys/linux/sys/types.h (struct timespec): Moved to <time.h>.
* * libc/sys/linux/argp: New directory.Thomas Fitzsimmons2002-08-2922-70/+6280
| | | | | | | | | | | | | | * libc/sys/linux/getopt.c: New file. * libc/sys/linux/getopt1.c: New file. * libc/sys/linux/getoptlong.c: Remove file. * libc/sys/linux/include/argp.h: New file. * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB, based on ELIX level. (SUBDIRS): Add argp_dir. (SUBLIBS): Add ARGP_LIB. (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove getopt_long.$(oext). * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
* 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-08-296-5/+103
| | | | | | | | | * libc/libc.texinfo: Add node reference to wide-character strings. * libc/string/wcstrings.tex: New file. * libc/string/strtok_r.c: Remove outdated advertising clause. * libc/string/Makefile.am (doc): Add wide-character string chapter to documentation. * libc/string/Makefile.in: Regenerated.
* 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>Jeff Johnston2002-08-2926-89/+1700
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/include/wchar.h: Define NULL. Define WEOF more general way. Declare functions in newlib manner. * libc/stdlib/Makefile.am: Delete wmem*.c * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/wmemchr.c: Delete. * libc/stdlib/wmemcmp.c: Ditto. * libc/stdlib/wmemcpy.c: Ditto. * libc/stdlib/wmemmove.c: Ditto. * libc/stdlib/wmemset.c: Ditto. * libc/string/Makefile.am: Add wmem*.c and wcs*.c. * libc/string/Makefile.in: Regenerated. * libc/string/wcscat.c: New file derived from the NetBSD C Library. * libc/string/wcschr.c: Ditto. * libc/string/wcscmp.c: Ditto. * libc/string/wcscpy.c: Ditto. * libc/string/wcscspn.c: Ditto. * libc/string/wcslcat.c: Ditto. * libc/string/wcslcpy.c: Ditto. * libc/string/wcslen.c: Ditto. * libc/string/wcsncat.c: Ditto. * libc/string/wcsncmp.c: Ditto. * libc/string/wcsncpy.c: Ditto. * libc/string/wcspbrk.c: Ditto. * libc/string/wcsrchr.c: Ditto. * libc/string/wcsspn.c: Ditto. * libc/string/wcsstr.c: Ditto. * libc/string/wmemchr.c: Ditto. * libc/string/wmemcmp.c: Ditto. * libc/string/wmemcpy.c: Ditto. * libc/string/wmemmove.c: Ditto. * libc/string/wmemset.c: Ditto.
* 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-08-292-8/+19
| | | | | | * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so default locale "" is accepted for LC_CTYPE or LC_MESSAGES and is treated as if "C" was specified.
* 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-08-293-2/+9
| | | | | | | * Makefile.am (install-data-local): Move install of build newlib.h after installing headers in libc/include so as to overwrite default newlib.h. * Makefile.in: Regenerated.
* 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-08-282-0/+7
| | | | | * libc/include/newlib.h: New file for tools that use newlib headers but don't build newlib first (e.g. gcc).
* 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-08-286-0/+13
| | | | | | | | * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>. * libc/stdlib/wmemcmp.c: Ditto. * libc/stdlib/wmemcpy.c: Ditto. * libc/stdlib/wmemmove.c: Ditto. * libc/stdlib/wmemset.c: Ditto.
* 2002-08-27 Egor Duda <deo@logos-m.ru>Jeff Johnston2002-08-2710-13/+269
| | | | | | | | | | | | | * libc/stdlib/wmemchr.c: New file. * libc/stdlib/wmemcmp.c: Ditto. * libc/stdlib/wmemcpy.c: Ditto. * libc/stdlib/wmemmove.c: Ditto. * libc/stdlib/wmemset.c: Ditto. * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files. * configure.host: Default -DMB_CAPABLE for cygwin. * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(), wmemmove() and wmemset(). Add include of <_ansi.h>. * libc/stdlib/Makefile.in: Regenerate.