Commit Graph

8495 Commits

Author SHA1 Message Date
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
2bf0806a42 am a34e9955: am 7fdab460: Merge "Fix potential makefile bug."
* commit 'a34e995557157e6958db77795fb866712a99af43':
  Fix potential makefile bug.
2014-04-29 16:05:38 +00: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
02cf011db0 am c3221fb5: am 07bab525: Merge "Add mbtowc and fix mbrtowc."
* commit 'c3221fb531f437440646be3a6974b0e662442560':
  Add mbtowc and fix mbrtowc.
2014-04-29 01:04:12 +00: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
331754c7f3 am 777078b1: am 0fd2e87a: Merge "Replace our broken wcswcs with the working upstream one."
* commit '777078b1a68960ae9764fe6449af5525657d6803':
  Replace our broken wcswcs with the working upstream one.
2014-04-29 00:23:53 +00: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
95dfea204c am 50769026: am 3ac3f3fd: Merge "Don\'t use so much stack in tzcode."
* commit '50769026e8538db260a6f986edeb6d08ec295b8e':
  Don't use so much stack in tzcode.
2014-04-27 03:26:11 +00: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
12e848eb43 am 8fe46b47: am f2dc7d17: Merge "Pass si_code through to debuggerd."
* commit '8fe46b47c2bc3b47f44580dc0e3d21335c71462d':
  Pass si_code through to debuggerd.
2014-04-26 03:33:28 +00: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
d3dc0c1831 am 4a40dea6: am 213e46f7: Merge "Fix brk/sbrk error checking."
* commit '4a40dea62949b7ed562bac7173962800ed89b01d':
  Fix brk/sbrk error checking.
2014-04-26 02:46:37 +00: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
Colin Cross
cc97b7d9cd am e1e3430b: am eff450ff: Merge "Reserve space in pthread structures for future extensibility."
* commit 'e1e3430b9a4725c9506f10ab1b9b3be719e99c0c':
  Reserve space in pthread structures for future extensibility.
2014-04-24 22:49:50 +00:00
Colin Cross
e1e3430b9a am eff450ff: Merge "Reserve space in pthread structures for future extensibility."
* commit 'eff450ff45170ff17f17b7ceb26f54b858c39238':
  Reserve space in pthread structures for future extensibility.
2014-04-24 22:47:09 +00:00
Colin Cross
eff450ff45 Merge "Reserve space in pthread structures for future extensibility." 2014-04-24 22:40:50 +00:00
Calin Juravle
b1cacd4245 Reserve space in pthread structures for future extensibility.
Make our structures equal in size with glibc structures. This should
give us plenty of space to implement any missing feature.

Bug: 13278744
Bug: 12875898
(cherry picked from commit cf83fd77ca)

Change-Id: I76968d31024eb51bc73887687e5ac492eb02a27f
2014-04-24 22:07:52 +00:00
Elliott Hughes
2c03e8ff06 am cf57e2c6: am 08bfcff0: Merge "Allow liblog to pass failure reasons to debuggerd."
* commit 'cf57e2c645116eefd64801be035512621df0ba5c':
  Allow liblog to pass failure reasons to debuggerd.
2014-04-24 20:47:46 +00:00
Elliott Hughes
cf57e2c645 am 08bfcff0: Merge "Allow liblog to pass failure reasons to debuggerd."
* commit '08bfcff0d4a931a4ed5e2a46541dc8d223482f34':
  Allow liblog to pass failure reasons to debuggerd.
2014-04-24 20:42:48 +00:00
Elliott Hughes
08bfcff0d4 Merge "Allow liblog to pass failure reasons to debuggerd." 2014-04-24 20:29:43 +00:00
Greg Hackmann
da4aad855e am 0f77d775: am ab290718: Merge "Revert "Reserve space in pthread structures for future extensibility.""
* commit '0f77d7758ac85a000f2ce5606051b8a7d121f6dd':
  Revert "Reserve space in pthread structures for future extensibility."
2014-04-24 18:26:02 +00:00
Greg Hackmann
0f77d7758a am ab290718: Merge "Revert "Reserve space in pthread structures for future extensibility.""
* commit 'ab290718e376795a51e1a09c7eb20e79b39efee8':
  Revert "Reserve space in pthread structures for future extensibility."
2014-04-24 18:20:54 +00:00
Greg Hackmann
ab290718e3 Merge "Revert "Reserve space in pthread structures for future extensibility."" 2014-04-24 18:12:28 +00:00
Greg Hackmann
6b64000ef0 Revert "Reserve space in pthread structures for future extensibility."
This reverts commit cf83fd77ca.

Change-Id: I4f69e86ffe1c267a9018eb489d909237534c6cf9
2014-04-24 18:11:23 +00:00
Calin Juravle
18955d6909 am 9b720750: am f2aeca50: Merge "Remove an unsed include dir"
* commit '9b720750c1486627d774973c51fc210a1ad9def5':
  Remove an unsed include dir
2014-04-24 17:40:43 +00:00
Calin Juravle
9b720750c1 am f2aeca50: Merge "Remove an unsed include dir"
* commit 'f2aeca505cb5b85528981c46e0285ff3a7a70836':
  Remove an unsed include dir
2014-04-24 17:32:12 +00:00
Calin Juravle
e9df9c52dc am 123253b8: am 690401db: Merge "Removed non-existing include dir"
* commit '123253b86893d50f13d82f489e47924a4b69c228':
  Removed non-existing include dir
2014-04-24 17:31:17 +00:00
Calin Juravle
f2aeca505c Merge "Remove an unsed include dir" 2014-04-24 16:40:50 +00:00
Calin Juravle
fbb46a0c9a Remove an unsed include dir
Change-Id: I05aa1e7e0639a5ec5576bf7646f35d2e5b157c09
2014-04-24 17:40:06 +01:00
Calin Juravle
123253b868 am 690401db: Merge "Removed non-existing include dir"
* commit '690401db7a57cc6794129d9a2430279d55149251':
  Removed non-existing include dir
2014-04-24 16:39:06 +00:00
Calin Juravle
690401db7a Merge "Removed non-existing include dir" 2014-04-24 16:29:50 +00:00