Commit Graph

9259 Commits

Author SHA1 Message Date
matt
343c2f33c0 Just build the legacy stuff for earm (for now). 2013-04-27 08:00:40 +00:00
joerg
323be87542 Restore standalone strtol/strtoul for citrus for now. 2013-04-26 21:20:47 +00:00
wiz
55d364d35e Bump date for adding the function to NetBSD. Fix xref. 2013-04-26 19:37:18 +00:00
wiz
afd815359c Add commas in list. 2013-04-26 19:37:04 +00:00
wiz
0ccc09335e Bump date after adding function to NetBSD. 2013-04-26 19:36:47 +00:00
christos
f5c1f2146c add {at_,}quick_exit(3) from FreeBSD 2013-04-26 18:29:55 +00:00
matt
7b96d46463 for earm, make sure to build getdirentries man page 2013-04-25 15:39:26 +00:00
matt
ecaf413acf Remove weak_alias since that's now in the compat_putenv.c 2013-04-25 07:08:56 +00:00
matt
79367e053c Add CPPFLAGS+= -I${NETBSDSRCDIR}/sys for earm compat 2013-04-25 06:36:49 +00:00
matt
63ebdd4153 Add #include <stdint.h> 2013-04-24 18:04:46 +00:00
elric
a312c8b279 For pipe2(2), EINVAL won't be returned if the flag is O_NOSIGPIPE. 2013-04-23 23:39:13 +00:00
christos
a803d40076 PR/47757: Eric Radman: mktemp(3) mangles the pathname if not given an absolute
path
1. on error, gettemp() did not restore the path string
2. when emulating mktemp() it is not an error for the pattern not to represent
   a real directory structure
XXX[1]: pullup-5, pullup-6
XXX[2]: the default pattern is the simplistic <pid><X> for mktemp.
2013-04-22 20:57:36 +00:00
joerg
6353e1f897 Add new line at the end. 2013-04-22 19:33:53 +00:00
joerg
99fac95b50 Store time-specific locale data directly in the locale.
Ad dstrftime_l, strftime_lz and strptime_l.
2013-04-21 17:45:46 +00:00
joerg
9790c07a61 Add scanf_l and wscanf_l families. 2013-04-19 23:32:16 +00:00
joerg
e81d3f1ebf Add dummy strcoll_l and strxfrm_l. 2013-04-19 23:28:47 +00:00
matt
b0c992be1b for EARM, just build __lwp_park50 compat for libpthread until the situation
is involved.
2013-04-19 22:24:10 +00:00
matt
4b9c2e46bb Fix inverted test. 2013-04-19 21:02:43 +00:00
joerg
92ad0d098d Add libc/locale to the search path. 2013-04-19 20:18:33 +00:00
matt
7d19b890df Since earm is new, don't bother building the compat libc code since there
is nothing that can use it.
2013-04-19 16:53:18 +00:00
matt
a1629854ac Ignore VFP bit in magic. 2013-04-19 16:50:22 +00:00
joerg
2561b63430 Add explicit locale versions for the printf family. Replace asprintf,
snprintf and sprintf with simple wrappers around the corresponding
va_list functions to reduce code duplication.
2013-04-19 15:22:24 +00:00
joerg
3c1c8515c7 Add MB_CUR_MAX_L. 2013-04-19 14:35:31 +00:00
matt
92551f8725 A small optimization 2013-04-19 13:45:45 +00:00
skrll
5ea8d4cfd1 Actually fail if the magic number is found to be wrong in __longjmp.
Avoid overwriting the {,_}longjmp return value in __ARM_EABI__

ok matt@
2013-04-19 13:14:10 +00:00
joerg
0feb0f126e Pass locale down to gethex as well. 2013-04-19 10:41:53 +00:00
joerg
10e0e4a06b Add wcscoll_l, wcsxfrm_l, wcsncasecmp_l, wcscasecmp_l, btowc_l,
mbrlen_l, mbsinit_l, mbsrtowcs_l, wcrtomb_l, wcsrtombs_l and wctob_l.
2013-04-18 23:24:26 +00:00
joerg
9a7fa6ff3c Add wcstof_l, wcstod_l and wcstold_l. 2013-04-18 22:23:17 +00:00
joerg
ceb51ddcad Add mblen_l, mbstowcs_l, wctomb_l, mbtowc_l and wcstombs_l. 2013-04-18 22:22:20 +00:00
joerg
c99aac45e5 Add strtof_l, strtod_l and strtold_l. 2013-04-18 21:54:10 +00:00
joerg
6ffcdd8d70 Add localeconv_l. 2013-04-17 20:40:13 +00:00
christos
b3e96d6652 PR/47747: Thorsten Brehm: TCP-based RPC client calls no longer terminate when
connections break. Return proper error code.
XXX: pullup 6
2013-04-17 16:36:47 +00:00
joerg
a67fde0356 Add strtol_l and friends. Switch _citrus_bcs_strtol to use plain
strtol_l unless in tools mode. Add note to retire the BCS code on the
next libc major bump.
2013-04-16 21:44:06 +00:00
joerg
444e318434 Add support for wcstoimax_l and friends. 2013-04-16 16:52:13 +00:00
matt
3dd33daddb Deal with arguments being NaNs 2013-04-16 13:38:34 +00:00
matt
c9faa1e14f Use MACHINE_ARCH, not MACHINE 2013-04-16 12:26:28 +00:00
joerg
b7970e3b60 Add wcwidth_l, wcswidth_l and the wctype.h family of *_l functions. 2013-04-16 11:39:13 +00:00
joerg
4e2459a9e6 Add isalpha_l and friends. 2013-04-16 11:29:12 +00:00
matt
f6c75cc7da ARM EABI needs different floating point comparision functions. 2013-04-16 10:54:53 +00:00
matt
9be231ea7c aeabi floating compare ops are different from the normal gcc softfloat ones. 2013-04-16 10:37:39 +00:00
joerg
a952f5938e Provide a const copy of global_locale for libc-internal use.
This will be used by *_l when a NULL pointer is given.
2013-04-14 23:44:53 +00:00
joerg
14b179f1c9 Rename struct _locale_impl_t to struct _locale, since it will end up as
locale_t later.
2013-04-14 23:30:15 +00:00
joerg
e8fa8f4db7 Extend ctype classification table to 16bit. Based on patch by
Takehiko Nozaki, with changes to compile fail when using the old names
and to exploit __BUILD_LEGACY
2013-04-13 10:21:20 +00:00
joerg
71e4dd8871 Use more consistent naming for tolower/toupper translation table for the
C locale. From Takehiko Nozaki with changes to use __BUILD_LEGACY.
2013-04-13 10:16:27 +00:00
joerg
575a4660cc Rename BUILDCOLD to BUILD_LEGACY and provide a preprocessor macro that
can be used in code files that aren't easy to split up. Add the removal
to the major bump todo list.
2013-04-12 19:58:45 +00:00
joerg
5dd13d5b75 Weak alias directly to the catchall stub and don't strong alias twice. 2013-04-12 18:14:22 +00:00
joerg
62898dbb43 Mark __libc_thr_exit_stub as dead. 2013-04-12 18:12:58 +00:00
wiz
35fe9915cb Remove trailing whitespace. 2013-04-07 23:12:36 +00:00
christos
d17f9381dd Add a small example. 2013-04-07 22:54:26 +00:00
christos
644dcf797e split init and errno to a separate file. No point in growing rtld 10K. 2013-04-05 20:15:42 +00:00