Calin Juravle
77473e4085
Merge "Fix cpu_set_t"
2014-04-30 16:09:08 +00:00
Dan Albert
9f2d500334
am a51f7153
: am 45667317
: Merge "Adds quick_exit(3) and at_quick_exit(3) from freebsd"
...
* commit 'a51f7153ea60f5efec67559b8be8134ab338b441':
Adds quick_exit(3) and at_quick_exit(3) from freebsd
2014-04-30 15:44:52 +00:00
Dan Albert
a51f7153ea
am 45667317
: Merge "Adds quick_exit(3) and at_quick_exit(3) from freebsd"
...
* commit '4566731772f3121c7c9b47bb6de44d5a9123fc11':
Adds quick_exit(3) and at_quick_exit(3) from freebsd
2014-04-30 15:42:45 +00:00
Dan Albert
4566731772
Merge "Adds quick_exit(3) and at_quick_exit(3) from freebsd"
2014-04-30 15:39:14 +00:00
Calin Juravle
f595e1ffda
am fb15c73f
: am d4ae59dc
: Merge "Reserve space in mbstate to allow for proper wchar support"
...
* commit 'fb15c73f3cdc4fa3781e21f9dc554e3b2dd41182':
Reserve space in mbstate to allow for proper wchar support
2014-04-30 15:38:02 +00:00
Elliott Hughes
c8af363f50
am ff7dec44
: am 01933d92
: Merge "Switch to OpenBSD stdio wide printf functions."
...
* commit 'ff7dec44bdebccf2d000e65188ee7e02489a2757':
Switch to OpenBSD stdio wide printf functions.
2014-04-30 15:38:02 +00:00
Calin Juravle
fb15c73f3c
am d4ae59dc
: Merge "Reserve space in mbstate to allow for proper wchar support"
...
* commit 'd4ae59dcf228cf602189c6d5e69fb65640b353e3':
Reserve space in mbstate to allow for proper wchar support
2014-04-30 15:12:52 +00:00
Elliott Hughes
ff7dec44bd
am 01933d92
: Merge "Switch to OpenBSD stdio wide printf functions."
...
* commit '01933d921e9e2a36707dbb96dfc24073e8489912':
Switch to OpenBSD stdio wide printf functions.
2014-04-30 15:12:45 +00:00
Calin Juravle
b743790cca
Fix cpu_set_t
...
- extend CPU_SETSIZE for LP64
- fix CPU_(AND|OR|XOR) macros
- fix CPU_OP_S macro
- fix __sched_cpucount
- tidy up the code
Change-Id: I741afff4d0c473e8a1ee6b4141981dc24467e0d4
2014-04-30 14:30:15 +01:00
Calin Juravle
d4ae59dcf2
Merge "Reserve space in mbstate to allow for proper wchar support"
2014-04-30 10:34:09 +00:00
Elliott Hughes
01933d921e
Merge "Switch to OpenBSD stdio wide printf functions."
2014-04-30 03:16:40 +00:00
Dan Albert
b8425c549a
Adds quick_exit(3) and at_quick_exit(3) from freebsd
...
Change-Id: I4fe88abd8f7b8aa45e58aeb2529d59a8d555d338
2014-04-29 19:17:00 -07:00
Elliott Hughes
a9b10332b4
am 608aa733
: am 85e780d0
: Merge "Switch to OpenBSD stdio wide get/put functions."
...
* commit '608aa733a9535f9ebc7381b30ccd4c6e23eb873f':
Switch to OpenBSD stdio wide get/put functions.
2014-04-30 01:20:09 +00:00
Elliott Hughes
b21c7985c4
am 25009c3b
: am c19c8e6f
: Merge "Switch to the OpenBSD implementations of the wide scanf functions."
...
* commit '25009c3b0259b5ff3ad5b9bb32c028114c1ed8a4':
Switch to the OpenBSD implementations of the wide scanf functions.
2014-04-30 01:19:48 +00:00
Elliott Hughes
7bc266b128
am 42f33234
: am c6e563c8
: Merge "Fix build (signed char issue)."
...
* commit '42f33234b0a16dbd06ad1b78499d52588c11415f':
Fix build (signed char issue).
2014-04-30 01:13:21 +00:00
Elliott Hughes
934e793b19
am 15848671
: am 55cd8276
: Merge "Switch to the OpenBSD wcsto* functions."
...
* commit '158486717ed5b58be4cdcf427d5fb6b279eae27d':
Switch to the OpenBSD wcsto* functions.
2014-04-30 00:49:36 +00:00
Bill Yi
31655d9c34
am 7af26353
: Merge klp-dev-plus-aosp into stage-aosp-master
...
* commit '7af263533d2c25b4cdd4769cbcebc080e72056b9':
2014-04-30 00:49:34 +00:00
Elliott Hughes
608aa733a9
am 85e780d0
: Merge "Switch to OpenBSD stdio wide get/put functions."
...
* commit '85e780d0557643a81c4a33b3bc5d3806ef9d78e3':
Switch to OpenBSD stdio wide get/put functions.
2014-04-30 00:41:01 +00:00
Elliott Hughes
94336d8ecf
Switch to OpenBSD stdio wide printf functions.
...
Change-Id: Icf4f8685d021ec6b7482ca1cc021ce8184098e4a
2014-04-29 17:39:29 -07:00
Elliott Hughes
85e780d055
Merge "Switch to OpenBSD stdio wide get/put functions."
2014-04-30 00:38:32 +00:00
Elliott Hughes
c932225e10
Switch to OpenBSD stdio wide get/put functions.
...
Change-Id: I71f8769cdea874e55d397ca7682d9d4e659d3dcb
2014-04-29 17:08:03 -07:00
Elliott Hughes
25009c3b02
am c19c8e6f
: Merge "Switch to the OpenBSD implementations of the wide scanf functions."
...
* commit 'c19c8e6f7125984d04c9e4e05ac130b43d1cd13c':
Switch to the OpenBSD implementations of the wide scanf functions.
2014-04-30 00:00:03 +00:00
Elliott Hughes
c19c8e6f71
Merge "Switch to the OpenBSD implementations of the wide scanf functions."
2014-04-29 23:57:11 +00:00
Elliott Hughes
01ae00f317
Switch to the OpenBSD implementations of the wide scanf functions.
...
This also gets us the C99 wcstoimax and wcstoumax, and a working fgetwc and
ungetwc, all of which are needed in the implementation.
This also brings several other files closer to upstream.
Change-Id: I23b025a8237a6dbb9aa50d2a96765ea729a85579
2014-04-29 16:28:56 -07:00
Elliott Hughes
42f33234b0
am c6e563c8
: Merge "Fix build (signed char issue)."
...
* commit 'c6e563c87a7d8329607bccbc5c4a61c4e1180507':
Fix build (signed char issue).
2014-04-29 23:08:57 +00:00
Elliott Hughes
c6e563c87a
Merge "Fix build (signed char issue)."
2014-04-29 23:06:38 +00:00
Elliott Hughes
770491fb4f
Fix build (signed char issue).
...
Change-Id: I05d78f4c1599ed9a0c1285f9eb1e89bc2f55c24d
2014-04-29 16:05:58 -07:00
Elliott Hughes
158486717e
am 55cd8276
: Merge "Switch to the OpenBSD wcsto* functions."
...
* commit '55cd82762f3173247dc7e0eae2826aa24d22213a':
Switch to the OpenBSD wcsto* functions.
2014-04-29 22:36:13 +00:00
Elliott Hughes
55cd82762f
Merge "Switch to the OpenBSD wcsto* functions."
2014-04-29 22:33:15 +00:00
Bill Yi
7af263533d
Merge klp-dev-plus-aosp into stage-aosp-master
...
Change-Id: I2790b6a42d674678713d01479287b78510c4bb52
2014-04-29 15:27:33 -07:00
Elliott Hughes
3d7a0d9b08
Switch to the OpenBSD wcsto* functions.
...
This replaces a partial set of non-functional functions with a complete
set of functions, all of which actually work.
This requires us to implement mbsnrtowcs and wcsnrtombs which completes
the set of what we need for libc++.
The mbsnrtowcs is basically a copy & paste of wcsnrtombs, but I'm going
to go straight to looking at using the OpenBSD UTF-8 implementation rather
than keep polishing our home-grown turd.
(This patch also opportunistically switches us over to upstream btowc,
mbrlen, and wctob, since they're all trivially expressed in terms of
other functions.)
Change-Id: I0f81443840de0f1aa73b96f0b51988976793a323
2014-04-29 14:53:11 -07:00
Calin Juravle
eab395e4a8
Reserve space in mbstate to allow for proper wchar support
...
Bug: 14382788
Change-Id: If023ac9bb65f95135cae7ebe89147e3985a69a96
2014-04-29 20:28:29 +01:00
Christopher Ferris
a34e995557
am 7fdab460
: Merge "Fix potential makefile bug."
...
* commit '7fdab460a9790959ce6c4201476a3ea982eb148e':
Fix potential makefile bug.
2014-04-29 16:00:24 +00:00
Christopher Ferris
7fdab460a9
Merge "Fix potential makefile bug."
2014-04-29 15:56:06 +00:00
Christopher Ferris
5090964da0
Fix potential makefile bug.
...
Since multilib is not set every time, it needs to be per module or
there is a change that another target will use the multilib value set
previously.
Change-Id: I5c30e18d5111705cb3f6e3d4cd9ef8a28c9b746c
2014-04-28 21:10:37 -07:00
Elliott Hughes
c3221fb531
am 07bab525
: Merge "Add mbtowc and fix mbrtowc."
...
* commit '07bab525e24725aaacd71e7cc63dfc31d48ba8a7':
Add mbtowc and fix mbrtowc.
2014-04-29 01:00:57 +00:00
Elliott Hughes
07bab525e2
Merge "Add mbtowc and fix mbrtowc."
2014-04-29 00:54:43 +00:00
Elliott Hughes
0a5e26da1e
Add mbtowc and fix mbrtowc.
...
Change-Id: I48786cd82587e61188d40f6fd6e11ac05e857ae9
2014-04-28 17:51:13 -07:00
Elliott Hughes
777078b1a6
am 0fd2e87a
: Merge "Replace our broken wcswcs with the working upstream one."
...
* commit '0fd2e87a0cac56f772fe6fac4cd32de8a656a406':
Replace our broken wcswcs with the working upstream one.
2014-04-29 00:12:02 +00:00
Elliott Hughes
0fd2e87a0c
Merge "Replace our broken wcswcs with the working upstream one."
2014-04-28 23:47:18 +00:00
Elliott Hughes
d299bcfdad
Replace our broken wcswcs with the working upstream one.
...
Change-Id: I2952684df5674d10f0564d92c2cd42597725c0e3
2014-04-28 16:46:24 -07:00
Elliott Hughes
50769026e8
am 3ac3f3fd
: Merge "Don\'t use so much stack in tzcode."
...
* commit '3ac3f3fd0cab7b4ace8e15fd90ea869b26449df5':
Don't use so much stack in tzcode.
2014-04-27 03:22:03 +00:00
Elliott Hughes
3ac3f3fd0c
Merge "Don't use so much stack in tzcode."
2014-04-26 04:51:55 +00:00
Elliott Hughes
329103d3e2
Don't use so much stack in tzcode.
...
Bug: 14313703
Bug: https://code.google.com/p/android/issues/detail?id=61130
Change-Id: Id9b240fce20d4a6f2660792070e02b2b5f287655
2014-04-25 21:51:26 -07:00
Elliott Hughes
8fe46b47c2
am f2dc7d17
: Merge "Pass si_code through to debuggerd."
...
* commit 'f2dc7d17196de9904df67f21aad1525b8568a705':
Pass si_code through to debuggerd.
2014-04-26 03:30:13 +00:00
Elliott Hughes
f2dc7d1719
Merge "Pass si_code through to debuggerd."
2014-04-26 03:23:22 +00:00
Elliott Hughes
b7e289ed02
Pass si_code through to debuggerd.
...
Because we re-raise various signals, we corrupt the si_code that debuggerd
sees when it ptraces our siginfo. One possible solution (shown here) is to
pass the original si_code value in the message we send to debuggerd.
Change-Id: I76f9aa2c0442e5cab611d132532409e700383907
2014-04-25 20:00:45 -07:00
Elliott Hughes
4a40dea629
am 213e46f7
: Merge "Fix brk/sbrk error checking."
...
* commit '213e46f7ae41f7d769087d854e061659bd0581d6':
Fix brk/sbrk error checking.
2014-04-26 02:44:29 +00:00
Elliott Hughes
213e46f7ae
Merge "Fix brk/sbrk error checking."
2014-04-26 02:39:09 +00:00
Elliott Hughes
533dde4dbf
Fix brk/sbrk error checking.
...
Note that the kernel returns the current break on error or if the requested
break is smaller than the minimum break, or the new break. I don't know where
we got the idea that the kernel could return -1.
Also optimizes the query case.
Also hides an accidentally-exported symbol for LP64.
Change-Id: I0fd6b8b14ddf1ae82935c0c3fc610da5cc74932e
2014-04-25 19:38:33 -07:00