rodent
f53b79ea5c
s/conform/conforms/1
2013-05-11 19:20:30 +00:00
wiz
ce13c0c0df
New sentence, new line. Fix minus. Avoid <>.
...
Remove trailing whitespace.
2013-05-08 18:18:32 +00:00
christos
814d1846cc
Clarify which functions are only in libresolv.
2013-05-08 18:06:46 +00:00
christos
f50e99db7e
welcome to 2013c!
2013-05-08 15:49:43 +00:00
christos
1eb9e03aa2
- add __clnt_sigfillset() that does not blindly block all signals but excludes
...
the tty generated ones (int, quit, tstp), plus term and hup. This makes
command line clients behave on connect(2) where before they would need
to be killed from a different tty. Much easier than making the file
descriptor non-blocking for the duration of connect and then using
pselect/pollts to detect when actual connection or timeout occured using
a different sigmask.
- factor out some of the error paths.
2013-05-07 21:08:44 +00:00
wiz
9ce1a24bd5
End sentence with a dot.
2013-05-06 13:29:12 +00:00
wiz
70daec796f
Grammar.
2013-05-04 19:17:38 +00:00
christos
b5fd8f5747
_ss improvements
2013-05-04 18:35:53 +00:00
christos
e72cf68c19
move prototypes to stdio.h
2013-05-04 18:31:47 +00:00
wiz
3a2c836a74
New sentence, new line.
2013-05-03 21:13:34 +00:00
christos
dfecb5b774
document AI_SRV
2013-05-03 19:34:54 +00:00
christos
c641632a69
PR/32373, PR/25827: Add SRV lookup in getaddrinfo(3)
...
Per DNS-SD (RFC 2782), but only enabled if AI_SRV is set.
2013-05-03 19:31:13 +00:00
christos
0a312e0850
KNF, whitespace police -- no code changes
2013-05-03 19:24:52 +00:00
skrll
361e2d0ba7
include assym.h
2013-04-30 19:42:56 +00:00
skrll
3e638bdccb
Don't hardcode offset in assembler. This ensures the return value in the
...
context is the correct value (0) on earm*
2013-04-30 15:59:34 +00:00
skrll
094d684a50
Don't hardcode offset in assembler. This ensures the return value in the
...
context is the correct value (0) on earm*
2013-04-30 12:24:31 +00:00
matt
9163f0b126
Include softfloat-for-gcc.h for __ARM_EABI__ to get aeabi aliases.
2013-04-30 01:44:07 +00:00
matt
780a5525be
ARM EABI needs left shift logical too.
2013-04-30 01:43:01 +00:00
matt
7d2c6b2414
Match against LIBC_MACHINE_ARCH for MKCOMPAT
2013-04-30 01:42:03 +00:00
joerg
81d0329e8d
Make that to process PATH_LOCALE the first time _find_category is
...
called. Use this to implement newlocale and provide duplocale/freelocale
as well. Based on patches by Takehiko Nozaki with simplications and fix
for the init order by myself.
2013-04-30 00:45:04 +00:00
joerg
eb3cdf8761
Provide stubs for pthread_detach/pthread_join.
2013-04-27 20:36:47 +00:00
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
dholland
b4acc95ea0
stdlib.h, not malloc.h
2013-04-05 03:17:38 +00:00
wiz
3730b7cf2f
pull over agc's typo fix from agc-symver branch.
2013-04-04 21:52:04 +00:00
christos
38019b46e5
no need for __lwp_park50.S here and we don't provide __lwp_park60.S so that
...
it does not get accidentally used.
2013-03-29 02:10:53 +00:00
christos
dabcbd76a6
Compat glue for lwp park, but does not use the new syscall yet.
2013-03-29 02:09:58 +00:00
christos
71d484f921
- Allow libpthread to be dlopened again, by providing libc stubs to libpthread.
...
- Fail if the dlopened libpthread does pthread_create(). From manu@
- Discussed at length in the mailing lists; approved by core@
- This was chosen as the least intrusive patch that will provide
the necessary functionality.
XXX: pullup to 6
2013-03-21 16:49:11 +00:00
lukem
10126a0b3e
Use "unsigned FOO" instead of less-portable "u_FOO".
2013-03-20 23:44:47 +00:00
christos
c60a6af952
now live in common/lib/libc/arch/sparc64/string
2013-03-17 00:43:45 +00:00
christos
e2fcd4fa37
apply 2013b
2013-03-16 00:59:14 +00:00
martin
cd29bf72fc
Remove clearing of ucontext_t, the only random register values now are
...
argument and scratch registers (which will be reloaded after return anyway).
2013-03-13 08:05:46 +00:00
martin
c06bee84e7
Save the GP register value and restore it on longjmp.
...
While formally GP is not a callee-saved register, for static linking
the link time optimization described in section 3.2.3 of the "Calling
Standard for Alpha Systems" allows the caller to rely on GP being the
value needed within setjmp() - and not restore it after return if setjmp
and the call site share a GP value.
This fixes longjmp/setjmp for statically linked programs, e.g. /rescue/csh
or the static tcsh variant from pkgsrc.
2013-03-12 19:38:20 +00:00
tron
47c0e0c312
Replace previous Sun Microsystems, Inc. license with a standard
...
BSD 3-clause license granted by Oracle America, Inc..
This license change was approved by Wim Coekaerts, Senior Vice President,
Linux and Virtualization at Oracle Corporation.
This fixes PR lib/45293 by Pedro Giffuni.
2013-03-11 20:19:28 +00:00
yamt
7c323d8879
fix rev.1.13
2013-03-11 10:44:43 +00:00
christos
e04ecc45a2
PR/47631: NAKAJIMA Yoshihiro
...
1. Utimens and lutimens don't require timeval but timespec.
2. The order of functions doesn't have a uniformity.
3. Utimens.2 and lutimens.2 aren't installed.
2013-03-08 16:52:11 +00:00
christos
ca46014bf8
Overly aggressive long->zic_t conversion.
...
I should add zic_t to the dictionary instead.
2013-03-06 18:40:19 +00:00
christos
5828353b59
change %ld to %jd
2013-03-06 18:21:18 +00:00
christos
09953b1d89
- change zic_t to intmax_t and friends suggested by apb
...
- change long to zic_t suggested by Paul Eggert
- remove unused constants
2013-03-06 18:19:07 +00:00
yamt
2c9fdc9222
comment and assertion
2013-03-06 11:29:01 +00:00
yamt
0501b18883
wrap a long line
2013-03-06 11:27:46 +00:00
yamt
d48c7c8537
remove unnecessary casts
2013-03-06 11:27:28 +00:00
christos
2dec884d64
make this usable from RUMP
2013-03-05 19:55:22 +00:00
enami
de0e018a8c
- Refer the argument with correct name.
...
- Mark up the function as a function like rest of this paragraph does.
2013-03-05 03:11:27 +00:00
soda
ac809960e5
a sequel to getcwd.c revision 1.52 and realpath.3 revision 1.13 by christos:
...
explicitly mention that NULL is allowed as second argument
in the description part as well.
PR/46618: Onno van der Linden: realpath(3) isn't SUSv4 compliant (and causes
flactag 2.0.4 to dump core). Fix to accept a NULL argument for resolvedpath.
2013-03-05 02:46:33 +00:00
joerg
bd48a85600
usage is dead.
2013-03-04 21:18:51 +00:00
christos
4ce5b0bd1b
PR/47617: Thorsten Brehm: Memory and socket leak in librpc
2013-03-04 17:29:03 +00:00
christos
e24729def6
fix error messages and warnings.
2013-03-04 17:17:56 +00:00
christos
94b98e2733
but don't lose our own extensions
2013-03-02 21:56:28 +00:00
christos
79072b5545
use correct types.
2013-03-02 21:39:48 +00:00
christos
6e1e799722
resolve more diff
2013-03-02 21:28:06 +00:00
christos
ca5a334915
update to tzcode2013a
2013-03-02 21:24:28 +00:00