Commit Graph

7761 Commits

Author SHA1 Message Date
Elliott Hughes
77e944fd46 Implement wctomb(3) for ltrace.
This is an implementation in the style of the rest: char == byte.

We might want to come back and implement UTF-8, but this is enough for ltrace.

Bug: 13747066
Change-Id: Ib2b63609c9014fdef9a8491e067467c4fc5ae3cc
2014-04-07 14:29:28 -07:00
Elliott Hughes
7f1ee87ef9 am 3333a7af: am 47931f8f: Merge "Fix aarch64 struct ucontext."
* commit '3333a7af505a5d6230de5a455e9da6eb18ae07c6':
  Fix aarch64 struct ucontext.
2014-04-07 21:02:58 +00:00
Elliott Hughes
3333a7af50 am 47931f8f: Merge "Fix aarch64 struct ucontext."
* commit '47931f8f796b736bd229b6669efcf428108abc47':
  Fix aarch64 struct ucontext.
2014-04-07 20:56:05 +00:00
Elliott Hughes
47931f8f79 Merge "Fix aarch64 struct ucontext." 2014-04-07 20:44:31 +00:00
Elliott Hughes
5c7bda5c61 Fix aarch64 struct ucontext.
Change-Id: I6f0959723a753e8c788275709e7245c103ff88d1
2014-04-07 12:12:00 -07:00
Elliott Hughes
d4dadbfbcd am b49e6c8a: am dc5fcf36: Merge "Define __WORDSIZE like glibc."
* commit 'b49e6c8a542f9c7630ae49215f151b2e3bad817f':
  Define __WORDSIZE like glibc.
2014-04-04 03:19:06 +00:00
Paul Jensen
6f706dd88c am c8167111: resolved conflicts for merge of 804b95e5 to klp-modular-dev-plus-aosp
* commit 'c8167111d57992b8ce3ca554a9499973c55aa174':
  bionic: Replace iface with opaque netid in resolver.
2014-04-04 03:19:05 +00:00
Elliott Hughes
b49e6c8a54 am dc5fcf36: Merge "Define __WORDSIZE like glibc."
* commit 'dc5fcf3620bfc221954b3d42f459bfdcf8f48216':
  Define __WORDSIZE like glibc.
2014-04-04 00:08:20 +00:00
Paul Jensen
c8167111d5 resolved conflicts for merge of 804b95e5 to klp-modular-dev-plus-aosp
Change-Id: I124e9342acdb0c9cf0cdcae31f063787c96ab6e2
2014-04-03 19:59:27 -04:00
Elliott Hughes
dc5fcf3620 Merge "Define __WORDSIZE like glibc." 2014-04-03 22:06:25 +00:00
Elliott Hughes
caa15bfe2d Define __WORDSIZE like glibc.
Requested by Google Breakpad, but seems to be assumed to be defined
in various places in the AOSP tree already; iputils, wpa_supplicant,
et cetera.

Change-Id: I1f7833c98e0af4c77e49744c08b8239061c9a571
2014-04-03 13:59:14 -07:00
Robert Greenwalt
804b95e535 Merge "bionic: Replace iface with opaque netid in resolver." 2014-04-03 17:05:32 +00:00
Calin Juravle
d2abc19fa7 am c48efe35: am 38687593: Merge "Emit warnings when linking against imprecise math functions"
* commit 'c48efe35885c203e0d40abc81ae40579178ab90e':
  Emit warnings when linking against imprecise math functions
2014-04-03 09:15:54 +00:00
Calin Juravle
b183936e57 am c44b5bf2: am eb554998: Merge "Fix modf* tests"
* commit 'c44b5bf207ef08b0035a2fec0ede29ad7267da59':
  Fix modf* tests
2014-04-03 09:15:53 +00:00
Calin Juravle
c48efe3588 am 38687593: Merge "Emit warnings when linking against imprecise math functions"
* commit '38687593141ca4a4072210417877590e44a10b0c':
  Emit warnings when linking against imprecise math functions
2014-04-03 09:11:48 +00:00
Calin Juravle
c44b5bf207 am eb554998: Merge "Fix modf* tests"
* commit 'eb554998d774c670a169bde1792619789f2f7058':
  Fix modf* tests
2014-04-03 09:11:48 +00:00
Calin Juravle
3868759314 Merge "Emit warnings when linking against imprecise math functions" 2014-04-03 09:01:05 +00:00
Calin Juravle
eb554998d7 Merge "Fix modf* tests" 2014-04-03 09:00:34 +00:00
Greg Hackmann
ff14a40c80 am 9b0fa57c: am e2a0f15c: Merge "Regenerate adf header"
* commit '9b0fa57cb1e9722a07d601db9520cebaa04d743c':
  Regenerate adf header
2014-04-03 02:11:16 +00:00
Elliott Hughes
139a8acf26 am 40b9734c: am 26be5f50: Merge "Upgrade to tzdata2014b."
* commit '40b9734cd6f6b157700e1fc9149bc04c0ce5b185':
  Upgrade to tzdata2014b.
2014-04-03 01:41:01 +00:00
Greg Hackmann
9b0fa57cb1 am e2a0f15c: Merge "Regenerate adf header"
* commit 'e2a0f15c08827ee854f3bffdf78d2f4db49d4fe5':
  Regenerate adf header
2014-04-02 23:36:03 +00:00
Greg Hackmann
e2a0f15c08 Merge "Regenerate adf header" 2014-04-02 23:24:54 +00:00
Greg Hackmann
8061facb7c Regenerate adf header
Fixes 64-bit related alignment issues

Change-Id: Ie90b920a7489e807e953f45a6db72350b80f6f22
Signed-off-by: Greg Hackmann <ghackmann@google.com>
2014-04-02 16:07:32 -07:00
Elliott Hughes
40b9734cd6 am 26be5f50: Merge "Upgrade to tzdata2014b."
* commit '26be5f50c2a0d2a493559c897ab1a7711269dc88':
  Upgrade to tzdata2014b.
2014-04-02 22:03:00 +00:00
Elliott Hughes
26be5f50c2 Merge "Upgrade to tzdata2014b." 2014-04-02 21:54:55 +00:00
Elliott Hughes
fe6adbad19 Upgrade to tzdata2014b.
From the release notes:

  Changes affecting near-future time stamps

    Crimea switches to Moscow time on 2014-03-30 at 02:00 local time.
    (Thanks to Alexander Krivenyshev.)  Move its zone.tab entry from UA
    to RU.

    New entry for Troll station, Antarctica.  (Thanks to Paul-Inge
    Flakstad and Bengt-Inge Larsson.)  This is currently an
    approximation; a better version will require the zic and localtime
    fixes mentioned [in the full release notes], and the plan is to wait
    for a while until at least the zic fixes propagate.

Change-Id: Ib00f6cbc7b92e26822792b45e53a5f5381e0f6bf
2014-04-02 14:43:27 -07:00
Calin Juravle
d8d6feed3a Fix modf* tests
Use a value that can be exactly represented.

Change-Id: Idf3b1db5e6042fb49c1f591f25f9eee656659ece
2014-04-02 21:54:39 +01:00
Calin Juravle
f723b70fe0 Emit warnings when linking against imprecise math functions
Change-Id: I3da7b8396a64d7899fcb89452c879806a8a511ff
2014-04-02 19:16:54 +01:00
Elliott Hughes
130a02e116 am 05ed7048: am 1f136571: Merge "Fix the POSIX timers fix."
* commit '05ed7048ad9be79bdbf27d076a4d8cd4000f7e98':
  Fix the POSIX timers fix.
2014-04-02 16:36:28 +00:00
Elliott Hughes
05ed7048ad am 1f136571: Merge "Fix the POSIX timers fix."
* commit '1f136571312e4269df00dfc6d9a9049d0f2dabc9':
  Fix the POSIX timers fix.
2014-04-02 16:30:52 +00:00
Elliott Hughes
1f13657131 Merge "Fix the POSIX timers fix." 2014-04-02 16:20:47 +00:00
Alexander Ivchenko
edd7c2ec25 Fix the printf issue for 64 bits. The following case:
printf("%1$s %1$s\n", "test");

would print garbage instead of the second "test". The problem is __find_arguments
and the patch is a backport of two patches from OpenBSD that fix the issue:

Author: tedu <tedu@cvs.openbsd.org>
Date:   Sat Apr 29 23:00:24 2006 +0000

    check mmap for failure.  the helper functions using it return -1, but
    callers do not yet check since printf() for example is not documented
    to return an error.
    some formatting cleanups.
    mostly ok deraadt millert

Author: millert <millert@cvs.openbsd.org>
Date:   Fri May 16 14:28:54 2008 +0000

    C99 says that for each va_copy() there must be a matching va_end().
    Replace the non-portable hackery in __find_arguments() with a union.
    From FreeBSD.

Change-Id: I6ea392ce6fcf4a319ae6a67ec58cc52fe7cbe534
Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
2014-04-02 18:30:55 +04:00
Calin Juravle
09e087b829 am 0a6162e2: am 9c9ef0db: Merge "Changed long double literal suffix from \'l\' to \'L\'."
* commit '0a6162e2e7e53a55461770fba1a0af3fe2e9b543':
  Changed long double literal suffix from 'l' to 'L'.
2014-04-02 10:30:02 +00:00
Calin Juravle
0a6162e2e7 am 9c9ef0db: Merge "Changed long double literal suffix from \'l\' to \'L\'."
* commit '9c9ef0db91c816ca81a22a94c3ddd896a0f0f1bc':
  Changed long double literal suffix from 'l' to 'L'.
2014-04-02 10:24:07 +00:00
Calin Juravle
9c9ef0db91 Merge "Changed long double literal suffix from 'l' to 'L'." 2014-04-02 10:17:11 +00:00
Elliott Hughes
473d06707b Fix the POSIX timers fix.
If we're not going to wait for the timer threads to exit, we need
another way to ensure that we don't free the data they're using
prematurely. The easiest way to ensure that is to let them free the
data themselves.

Change-Id: Icee17c87bbcb9c3aac5868973f595d08569f33aa
2014-04-01 19:07:52 -07:00
Elliott Hughes
341b39bd1d am bfc540f6: am 1653ad5e: Merge "Remove <machine/limits.h>."
* commit 'bfc540f6e3b70d4585cf9338d309250bc964404b':
  Remove <machine/limits.h>.
2014-04-02 01:09:08 +00:00
Christopher Ferris
b9993a9869 am ba6ad860: am cb1da5d0: Merge "Include sys/types.h and sys/wait.h for waitpid"
* commit 'ba6ad8602ab4fae96679673f06129d9112f898e0':
  Include sys/types.h and sys/wait.h for waitpid
2014-04-02 01:05:29 +00:00
Elliott Hughes
bfc540f6e3 am 1653ad5e: Merge "Remove <machine/limits.h>."
* commit '1653ad5e08ba4cabfd4d81237e13a4952fac6194':
  Remove <machine/limits.h>.
2014-04-02 01:05:13 +00:00
Christopher Ferris
ba6ad8602a am cb1da5d0: Merge "Include sys/types.h and sys/wait.h for waitpid"
* commit 'cb1da5d0c9b65bc43062554a3bfd589ee7b100b1':
  Include sys/types.h and sys/wait.h for waitpid
2014-04-02 00:59:44 +00:00
Elliott Hughes
1653ad5e08 Merge "Remove <machine/limits.h>." 2014-04-02 00:59:09 +00:00
Christopher Ferris
cb1da5d0c9 Merge "Include sys/types.h and sys/wait.h for waitpid" 2014-04-02 00:49:04 +00:00
Brian Carlstrom
1021c05f1b Include sys/types.h and sys/wait.h for waitpid
(cherry picked from commit 8b2c6d44cac206b61dffd965863336e6f803fc66)

Change-Id: Ice1f6d956c11aaefd3d846c12121f08613a94446
2014-04-01 17:42:31 -07:00
Elliott Hughes
1b0dc40980 Remove <machine/limits.h>.
Change-Id: I7f9e9538517f726d4f08bf1f4b8d57c54d3f1676
2014-04-01 17:16:59 -07:00
Elliott Hughes
4b0ee2e965 am 099c13b9: am f1bfc878: Merge "Remove SIZE_MAX definition in limits.h"
* commit '099c13b92509b023fdbaa67a84785f3580cf7422':
  Remove SIZE_MAX definition in limits.h
2014-04-02 00:08:33 +00:00
Christopher Ferris
3a76f22fbc am e42e5b32: am ab5488f9: Merge "Fix transient failure in select_smoke test."
* commit 'e42e5b32ebae3390c33402764458d77137b2d626':
  Fix transient failure in select_smoke test.
2014-04-02 00:02:51 +00:00
Elliott Hughes
099c13b925 am f1bfc878: Merge "Remove SIZE_MAX definition in limits.h"
* commit 'f1bfc8781e17fb851de23dce4332c0cb5ccb8749':
  Remove SIZE_MAX definition in limits.h
2014-04-01 23:59:49 +00:00
Elliott Hughes
f1bfc8781e Merge "Remove SIZE_MAX definition in limits.h" 2014-04-01 23:52:04 +00:00
Christopher Ferris
e42e5b32eb am ab5488f9: Merge "Fix transient failure in select_smoke test."
* commit 'ab5488f97545f5dd1a1cd2ff6a5579b1d2443996':
  Fix transient failure in select_smoke test.
2014-04-01 22:03:17 +00:00
Elliott Hughes
85e5af0890 am 94d1de56: am 92d81d89: Merge "Add Silvermont architecture cache sizes"
* commit '94d1de561d31013cbe82a4ea980db9931a685e24':
  Add Silvermont architecture cache sizes
2014-04-01 21:55:02 +00:00