Elliott Hughes
5a69da8d7a
Switch to OpenBSD fopen/fclose.
...
This means all our stdio implementation is now the OpenBSD implementation.
The only thing we lose is the STDIO_THREAD_LOCK calls but they were no-ops
anyway.
We should probably talk to upstream about this. Either fix the locking or,
preferably, encourage them to move away from this pooling (especially since
there's no eviction policy).
Bug: 17154680
Change-Id: Ie2523e444a7d0965b8d141d57e3e11f6432d5b9a
2014-09-24 11:14:36 -07:00
Elliott Hughes
7a2a1a8b6c
am f05410ed: Merge "Sync with upstream findfp.c."
...
* commit 'f05410edc634040f96643b8f378320faddfef423':
Sync with upstream findfp.c.
2014-09-24 18:09:37 +00:00
Elliott Hughes
f05410edc6
Merge "Sync with upstream findfp.c."
2014-09-24 17:48:59 +00:00
Dan Albert
0d78bad579
am 21db6ff1: Merge "Coverage configs for bionic."
...
* commit '21db6ff108a8df43582bf2ca0d7d6c925f26b5e5':
Coverage configs for bionic.
2014-09-24 17:45:54 +00:00
Dan Albert
8be25c646d
am 4a6e7110: Merge "Add a dummy atexit(3) to the linker."
...
* commit '4a6e71100e9c99b90b517be5a8e1c21616772d16':
Add a dummy atexit(3) to the linker.
2014-09-24 17:45:54 +00:00
Elliott Hughes
c08c25b4c9
Sync with upstream findfp.c.
...
Change-Id: Ib298f46de0c4d0fd4ce0a9b456c163e8b8b06342
2014-09-24 10:32:30 -07:00
Dan Albert
21db6ff108
Merge "Coverage configs for bionic."
2014-09-24 17:28:04 +00:00
Dan Albert
4a6e71100e
Merge "Add a dummy atexit(3) to the linker."
2014-09-24 17:27:38 +00:00
Dan Albert
c2d39088d8
Coverage configs for bionic.
...
Bug: 17553780
Change-Id: Iee7d0c210e2379e71e0c1e4e7058bce23f61e8cd
2014-09-24 10:26:41 -07:00
Dan Albert
9a05e3818a
Add a dummy atexit(3) to the linker.
...
This is needed when building the linker against a libc that was built
with coverage information.
Bug: 17553780
Change-Id: If131002e067dd7768fc657c30e62c42a45c05ace
2014-09-24 10:26:41 -07:00
Dan Albert
81981b7301
am 086bb382: Fix incorrect parameter types for locale funcs.
...
* commit '086bb382db3de7459bc5fad6bb1c257ca331b0e8':
Fix incorrect parameter types for locale funcs.
2014-09-24 16:52:32 +00:00
Dan Albert
b14a903421
am fc5a93f7: Merge "Fix incorrect parameter types for locale funcs."
...
* commit 'fc5a93f7a2ea2be740f2c909e8a6a192fa65adc8':
Fix incorrect parameter types for locale funcs.
2014-09-24 16:13:50 +00:00
Dan Albert
086bb382db
Fix incorrect parameter types for locale funcs.
...
strtoll(3), strtoull(3), wcstoll(3), and wcstoull(3) all take an _int_
as a base, not a size_t. This is an ABI compatibility issue.
Bug: 17628622
Change-Id: I17f8eead34ce2112005899fc30162067573023ec
(cherry picked from commit 3c5037f1b3b747e79d17a5f717d9f9c365132d33)
2014-09-24 09:00:42 -07:00
Dan Albert
fc5a93f7a2
Merge "Fix incorrect parameter types for locale funcs."
2014-09-24 16:00:07 +00:00
Elliott Hughes
f6067fa2e0
am ebf37e38: Merge "Switch to OpenBSD flags.c."
...
* commit 'ebf37e38861e376ae47c72d45ab8de6703dd18f0':
Switch to OpenBSD flags.c.
2014-09-24 05:08:23 +00:00
Elliott Hughes
ebf37e3886
Merge "Switch to OpenBSD flags.c."
2014-09-24 04:50:45 +00:00
Christopher Ferris
f5da2641c3
am 04643c18: Merge "Remove the unnecessary generic-neon code."
...
* commit '04643c181c3256348a6fd78e54c8bc5527ad0b0a':
Remove the unnecessary generic-neon code.
2014-09-24 04:15:16 +00:00
Christopher Ferris
04643c181c
Merge "Remove the unnecessary generic-neon code."
2014-09-24 04:01:23 +00:00
Elliott Hughes
a71b4c3f14
Switch to OpenBSD flags.c.
...
Change-Id: I0a35e5bd9f8edba27e0c73e5c8150636346d6a81
2014-09-23 20:02:42 -07:00
Elliott Hughes
42317a0e50
am c57e5c82: Merge "CLOEXEC support in fdopen, freopen, and mkostemp/mkostemps."
...
* commit 'c57e5c828914714a283dd41f0a4adb064f6b8763':
CLOEXEC support in fdopen, freopen, and mkostemp/mkostemps.
2014-09-24 02:10:59 +00:00
Elliott Hughes
c57e5c8289
Merge "CLOEXEC support in fdopen, freopen, and mkostemp/mkostemps."
2014-09-24 01:49:06 +00:00
Christopher Ferris
2169e17482
Remove the unnecessary generic-neon code.
...
Change-Id: Ib75c33caafd76750ec1aca3a74dec5e4b881e965
2014-09-23 18:31:45 -07:00
Elliott Hughes
31165edf57
CLOEXEC support in fdopen, freopen, and mkostemp/mkostemps.
...
Change-Id: I74ea88e0d4973d6ab3c57da7d8bb643c31592b14
2014-09-23 18:21:52 -07:00
Dan Albert
3c5037f1b3
Fix incorrect parameter types for locale funcs.
...
strtoll(3), strtoull(3), wcstoll(3), and wcstoull(3) all take an _int_
as a base, not a size_t. This is an ABI compatibility issue.
Bug: 17628622
Change-Id: I17f8eead34ce2112005899fc30162067573023ec
2014-09-23 15:32:24 -07:00
Elliott Hughes
0d44da9eb4
am 87b6906f: Merge "Pull in upstream fixes to reject invalid bases."
...
* commit '87b6906f6e0c17b2541535be8e054324cc2fef4a':
Pull in upstream fixes to reject invalid bases.
2014-09-23 22:12:57 +00:00
Elliott Hughes
87b6906f6e
Merge "Pull in upstream fixes to reject invalid bases."
2014-09-23 21:59:15 +00:00
Elliott Hughes
b05ec5ae93
Pull in upstream fixes to reject invalid bases.
...
Also add tests to make sure the full set works correctly.
Change-Id: I3e7f237f12c9c93e1185a97c9717803e7e55a73c
2014-09-23 14:53:10 -07:00
Elliott Hughes
3a86c0fd90
am 86421653: Merge "Sync with some upstream OpenBSD #include cleanup."
...
* commit '8642165344217877b8a70811d19e09b584a0e10a':
Sync with some upstream OpenBSD #include cleanup.
2014-09-23 21:48:00 +00:00
Elliott Hughes
0c1008b9d8
am 0ab5fd9a: Merge "Switch to OpenBSD insque/remque/killpg."
...
* commit '0ab5fd9a5af4cd00572e4881f46c1e6f974f657c':
Switch to OpenBSD insque/remque/killpg.
2014-09-23 21:48:00 +00:00
Elliott Hughes
8642165344
Merge "Sync with some upstream OpenBSD #include cleanup."
2014-09-23 21:27:29 +00:00
Elliott Hughes
0ab5fd9a5a
Merge "Switch to OpenBSD insque/remque/killpg."
2014-09-23 21:26:27 +00:00
Elliott Hughes
49eed7db79
Switch to OpenBSD insque/remque/killpg.
...
Change-Id: Ie02290ad3187b1c1596dd776fd1c8a743a55f7ef
2014-09-23 14:06:56 -07:00
Elliott Hughes
08dc9d83a2
Sync with some upstream OpenBSD #include cleanup.
...
Change-Id: Ibcd7adb19e9a6b9ad8c24d77e23935f19f56a144
2014-09-23 13:55:15 -07:00
Elliott Hughes
c65a1d5ee0
am 93951cfa: Merge "Fix a couple more cases of missing CLOEXEC."
...
* commit '93951cfa96c3c7504a78f94e7ec408936e5db9bf':
Fix a couple more cases of missing CLOEXEC.
2014-09-23 01:39:11 +00:00
Elliott Hughes
93951cfa96
Merge "Fix a couple more cases of missing CLOEXEC."
2014-09-23 01:19:52 +00:00
Elliott Hughes
0dc39f9952
Fix a couple more cases of missing CLOEXEC.
...
The debuggerd case can probably never happen, because you're crashing at this
point anyway. The system property one seems possible though.
Change-Id: Idba6a4f1d68587ec5b320d1e25f0b6a987ea32a0
2014-09-22 17:43:09 -07:00
Elliott Hughes
eaf288d100
am e8a95624: Merge "Test pthread_cleanup_push(3)/pthread_cleanup_pop(3)."
...
* commit 'e8a95624b6ee37f7ee85f0318f1fccd916292ebd':
Test pthread_cleanup_push(3)/pthread_cleanup_pop(3).
2014-09-22 23:47:29 +00:00
Elliott Hughes
e8a95624b6
Merge "Test pthread_cleanup_push(3)/pthread_cleanup_pop(3)."
2014-09-22 23:28:32 +00:00
Elliott Hughes
34c987a6dd
Test pthread_cleanup_push(3)/pthread_cleanup_pop(3).
...
Change-Id: I5a623fa1e1da55f11d51f3a9bdfa0627698c486f
2014-09-22 16:27:19 -07:00
Elliott Hughes
1f2e845f9a
am b2da4562: Merge "Clean up fpathconf(3)/pathconf(3)."
...
* commit 'b2da45625353336452112e28872310903dc70a8f':
Clean up fpathconf(3)/pathconf(3).
2014-09-22 23:05:35 +00:00
Elliott Hughes
b2da456253
Merge "Clean up fpathconf(3)/pathconf(3)."
2014-09-22 22:50:11 +00:00
Elliott Hughes
a186b2e0ca
Clean up fpathconf(3)/pathconf(3).
...
fpathconf(3) and pathconf(3) can share code. There's no such
header file as <pathconf.h>. glibc/POSIX and BSD disagree about where
the _POSIX_* definitions should go.
Change-Id: I4a67f1595c9f5fbb26700a131178eedebd6bf712
2014-09-22 22:49:40 +00:00
Elliott Hughes
3ff4698f0a
am d9cb0ed2: Merge "Unit test for abort(3)."
...
* commit 'd9cb0ed281f0301ec2ca6828f0acc1ed08dceb8a':
Unit test for abort(3).
2014-09-22 22:08:38 +00:00
Elliott Hughes
d9cb0ed281
Merge "Unit test for abort(3)."
2014-09-22 21:46:56 +00:00
Elliott Hughes
60452a211c
Unit test for abort(3).
...
Change-Id: I021604b977572801f228a193741624df26e76d72
2014-09-22 14:41:30 -07:00
Elliott Hughes
bb54a0d47a
am 9f423c55: Merge "Use the uapi fs magic in <sys/vfs.h>."
...
* commit '9f423c554a0ffcee2e34472bf0bc1aef3621a822':
Use the uapi fs magic in <sys/vfs.h>.
2014-09-22 17:08:51 +00:00
Elliott Hughes
9f423c554a
Merge "Use the uapi fs magic in <sys/vfs.h>."
2014-09-22 16:51:07 +00:00
Elliott Hughes
c296e4f151
Use the uapi fs magic in <sys/vfs.h>.
...
Change-Id: I712b856a6d786bba400c9a8d08f596b826403731
2014-09-22 09:47:21 -07:00
Elliott Hughes
7d8796feaa
am 413de5b0: Merge "Add semaphore tests, fix sem_destroy."
...
* commit '413de5b0d4ddcf039aaef8b40a5f02d41dbb06e6':
Add semaphore tests, fix sem_destroy.
2014-09-20 20:06:21 +00:00
Elliott Hughes
413de5b0d4
Merge "Add semaphore tests, fix sem_destroy."
2014-09-20 01:34:11 +00:00