b902641d7303d2ea24c10f6d6e7ff49e7ee75611 |
24-Jul-2014 |
Elliott Hughes <enh@google.com> |
Implement twalk(3), add unit tests. I've also added insque(3) and remque(3) (from NetBSD because the OpenBSD ones are currently broken for non-circular lists). I've not added the three hash table functions that should be in this header because they operate on a single global hash table and thus aren't likely to be useful. Bug: https://code.google.com/p/android/issues/detail?id=73719 (cherry picked from commit 3e424d0a241f8ae5194514dabc4ad899f5a5416d) Change-Id: I5882a6b48c80fea8ac6b9c27e7b9de10b202b4ff
ib/libc/stdlib/insque.c
ib/libc/stdlib/lsearch.c
ib/libc/stdlib/remque.c
ib/libc/stdlib/tdelete.c
ib/libc/stdlib/tfind.c
ib/libc/stdlib/tsearch.c
|
ca276c40dfdb80ef553c6646da7f984ef7b694ce |
14-Jul-2014 |
Elliott Hughes <enh@google.com> |
Fix visibility for a bunch more symbols. Bug: 11156955 Bug: 15291317 (cherry picked from commit a167eef5482d4a89d4277ec74f57adbe38052813) Change-Id: Ib038ad34ef59631f7b4ed6dff2b7956001b8b159
ndroid/include/namespace.h
|
99ae0983c0fd22e34e4d2aa61942b04e347447ee |
14-Jul-2014 |
Elliott Hughes <enh@google.com> |
Implement rand/srand in terms of random/srandom. Code developed for glibc or older versions of bionic might expect more randomness than the BSD implementation provides. Bug: 15829381 (cherry picked from commit 76c241b091b4d9d9a9237d40e814e52ce2917f47) Change-Id: If721b3f16efdb21cb67df5ec5034c0ba905bd029
ib/libc/stdlib/rand.c
|
caaf71ebb358f811fe7602bbadb90b897e93eaf7 |
14-Jul-2014 |
Elliott Hughes <enh@google.com> |
Sync upstream-openbsd. (cherry picked from commit 4f0b67a8dbf0e1d8b1dae42358553fb8d14456d4) Change-Id: I8753959853312ab978bc4eb1bbbcdc7d1b007b95
ib/libc/thread-stub/__isthreaded.c
|
a210cae724313604f8cbd49cc6deab1be5239083 |
30-Jun-2014 |
Elliott Hughes <enh@google.com> |
Switch to upstream NetBSD nsap_addr.c. These symbols should be public (and Firefox uses them), and we'd also probably rather have the upstream thread-safe implementation. Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1030899 Change-Id: I2a5888fbb3198546848398f576fd2195ff3fe00c
ib/libc/include/resolv_mt.h
ib/libc/inet/nsap_addr.c
ib/libc/resolv/mtctxres.c
|
c82c0b7e072491da4818e7de37411fbb2055fce1 |
17-Jun-2014 |
Dan Albert <danalbert@google.com> |
Remove SHA1 from LP64 in favor of libcrypto. Keep the symbols around on LP32 for binary compatibility. Bug: 11156955 Change-Id: I379a7e0fa3092e9a70daeafcbcb2aacfc314031a
ndroid/include/sys/sha1.h
|
a0beeeabbc8735bc830544cbbb1d920122b8d958 |
12-Jun-2014 |
Elliott Hughes <enh@google.com> |
Get the full set of PRNG functions in <stdlib.h> Bug: https://code.google.com/p/android/issues/detail?id=58888 Change-Id: I435250bdae302e8bd7e29977d0fde7b9afbfca5e
ommon/lib/libc/stdlib/random.c
ib/libc/stdlib/rand.c
ib/libc/stdlib/rand_r.c
|
809093bc21d8a6f7d7f8c31a7821f3112d1134ce |
10-Jun-2014 |
Elliott Hughes <enh@google.com> |
Hide rand48 implementation details. Bug: 11156955 Change-Id: I130272286989487dc22e246fb4ffbee5230225c4
ndroid/include/rand48.h
|
47ba295b0679148970bbffc9b76a3651efea9502 |
07-Jun-2014 |
Elliott Hughes <enh@google.com> |
Rewrite and hide longjmperror. This shouldn't be public API, isn't supported on x86/x86_64, and it's unlikely anyone would have actually seen the message before anyway. Using __libc_fatal makes it much more likely to be seen. Bug: 11156955 Change-Id: Icf7f654b22a7dacd89668b60c11e5705c7215c08
ib/libc/gen/setjmperr.c
|
f51d3e87671110c508f0f71d9bcb1bf54c22ca3b |
20-May-2014 |
Elliott Hughes <enh@google.com> |
Switch back to OpenBSD inet_ntop now they're FORTIFY clean. Change-Id: I04798a4966c352a8a12feebdff9646e3bad5933f
ib/libc/inet/inet_ntop.c
|
623b0d05bd924e7fa3c155492695123c87c3a2b1 |
15-May-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Register _cleanup function with atexit * Register cleanup function with atexit instead of calling it explicitly on exit() * abort() no longer calls _cleanup: Flushing stdio buffers on abort is no longer required by POSIX. * dlmalloc no longer need to reset cleanup (see above) * Upstream findfp.c makebuf.c setvbuf.cexit.c to openbsd versions. Bug: 14415367 Change-Id: I277058852485a9d3dbb13e5c232db5f9948d78ac
ib/libc/stdlib/exit.c
|
5c8c88dd8d0a371d30096aa107297ebc23e96a45 |
14-May-2014 |
Elliott Hughes <enh@google.com> |
Use the NetBSD inet_ntop until the OpenBSD bug is fixed. Stupidly I found this bug by accident when writing the existing tests, but I didn't think any real code would hit it. It turns out that libcore always uses an INET6_ADDRSTRLEN-sized buffer even when working with AF_INET addresses. Change-Id: Ieffc8e4bbe9b66b49b033e3e7101c896e097e6f8
ib/libc/inet/inet_ntop.c
|
6a41b0fb0e589c4afc4ecbcf7c425f0aa40eaea4 |
14-May-2014 |
Elliott Hughes <enh@google.com> |
Flesh out <arpa/inet.h>. Use the upstream OpenBSD implementations of these functions. Also ensure we have symbols for htonl, htons, ntohl, and ntohs. gtest doesn't like us using the macro versions in ASSERT_EQ. Bug: 14840760 Change-Id: I68720e9aca14838df457d2bb27b999d5818ac2b5
ommon/lib/libc/inet/inet_addr.c
ib/libc/inet/inet_ntoa.c
ib/libc/inet/inet_ntop.c
ib/libc/inet/inet_pton.c
|
d39f3f2c2e7fc73ddb019695f0df3417deef5bf4 |
22-Apr-2014 |
Elliott Hughes <enh@google.com> |
Clean up and document our hacks for building BSD source. Change-Id: Ic591e22fa5b363bb68376b9f25814c0e5bd83fbf
EADME.txt
ndroid/include/env.h
ndroid/include/extern.h
ndroid/include/fd_setsize.h
ndroid/include/namespace.h
ndroid/include/netbsd-compat.h
ndroid/include/port_after.h
ndroid/include/port_before.h
ndroid/include/rand48.h
ndroid/include/reentrant.h
nv.h
xtern.h
d_setsize.h
amespace.h
etbsd-compat.h
ort_after.h
ort_before.h
and48.h
eentrant.h
|
7f3a272ae327c647db4caeaea2a3c7af50bd73b5 |
01-Apr-2014 |
Elliott Hughes <enh@google.com> |
Add lsearch(3) for ltrace. Bug: 13746936 Change-Id: I833c6ba70a1752c04dab7de389f5bebb741662b3
ib/libc/stdlib/lsearch.c
|
205c7887add8b8c85434c35158138f16265beb28 |
14-Mar-2014 |
Elliott Hughes <enh@google.com> |
Clean up reentrancy cruft. The DNS copy of reentrant.h was unused, so remove it. The strtod implementation can use the upstream-netbsd reentrant.h and get a little closer to what was then upstream. (It's since been replaced by gdtoa, and we'll have to follow at some point, but for now this doesn't make anything any worse.) ANDROID_CHANGES is (now) only used in the DNS code, so push the -D down. The <locale.h> change prevents an LP32 hack from leaking into LP64. Change-Id: Idf30b98a59d7ca8f7c6cd6d07020b512057911ef
eentrant.h
|
ad41e9a4eb957ea318bbc93dd49dbe76b89df1e9 |
11-Mar-2014 |
Elliott Hughes <enh@google.com> |
More stdio cleanup. Change-Id: Idc909cd3dc7b072f1edd2ae4980932d6550e8568
etbsd-compat.h
|
19f58efa22357bfaa6a63a0940928830e95c5123 |
11-Mar-2014 |
Elliott Hughes <enh@google.com> |
Switch to NetBSD utmp.c. Change-Id: Ibe94888aa48b5b28fea97fd5719a1ed7a23ddeb3
ib/libc/gen/utmp.c
|
569fb9887d00104509df79fa77d92e3cf9afe7db |
04-Mar-2014 |
Calin Juravle <calin@google.com> |
Moved nameser.h and namser_compat.h to public include dir This is part of the upstream sync (Net/Open/Free BSDs expose the nameser.h in their public headers). Change-Id: Ib063d4e50586748cc70201a8296cd90d2e48bbcf
ort_before.h
|
0133944b09d1c0a35041f7a41eb6bfb660144f4f |
21-Feb-2014 |
Elliott Hughes <enh@google.com> |
Clean up our OpenBSD usage. Also undo some of the mess where we have OpenBSD <stdio.h> but a mix of different BSD's implementations. In this first pass, I've only moved easy OpenBSD stuff. Change-Id: Iae67b02cde6dba9d8d06fedeb53efbfdac0a8cf6
ib/libc/stdio/getdelim.c
ib/libc/stdio/getline.c
|
677b6e605be95f434602f19a627ea0dea2927ccd |
20-Feb-2014 |
Elliott Hughes <enh@google.com> |
Move the upstream-netbsd libc files into the correct directory. I screwed up when I originally imported these files; they're in lib/libc/ in the upstream tree; there is no top-level libc/ (though there is a top-level common/, so those files stay where they are). Change-Id: I7c5e2224a4441ab0e33616a855a8c6aacfeac46f
ib/libc/gen/ftw.c
ib/libc/gen/nftw.c
ib/libc/gen/nice.c
ib/libc/gen/popen.c
ib/libc/gen/psignal.c
ib/libc/gen/setjmperr.c
ib/libc/gen/utime.c
ib/libc/include/isc/assertions.h
ib/libc/include/isc/dst.h
ib/libc/include/isc/eventlib.h
ib/libc/include/isc/heap.h
ib/libc/include/isc/list.h
ib/libc/include/isc/memcluster.h
ib/libc/inet/inet_ntoa.c
ib/libc/inet/inet_ntop.c
ib/libc/inet/inet_pton.c
ib/libc/isc/ev_streams.c
ib/libc/isc/ev_timers.c
ib/libc/isc/eventlib_p.h
ib/libc/regex/cclass.h
ib/libc/regex/cname.h
ib/libc/regex/engine.c
ib/libc/regex/regcomp.c
ib/libc/regex/regerror.c
ib/libc/regex/regex2.h
ib/libc/regex/regexec.c
ib/libc/regex/regfree.c
ib/libc/regex/utils.h
ib/libc/stdio/getdelim.c
ib/libc/stdio/getline.c
ib/libc/stdlib/_rand48.c
ib/libc/stdlib/bsearch.c
ib/libc/stdlib/div.c
ib/libc/stdlib/drand48.c
ib/libc/stdlib/erand48.c
ib/libc/stdlib/exit.c
ib/libc/stdlib/jrand48.c
ib/libc/stdlib/ldiv.c
ib/libc/stdlib/lldiv.c
ib/libc/stdlib/lrand48.c
ib/libc/stdlib/mrand48.c
ib/libc/stdlib/nrand48.c
ib/libc/stdlib/seed48.c
ib/libc/stdlib/srand48.c
ib/libc/stdlib/tdelete.c
ib/libc/stdlib/tfind.c
ib/libc/stdlib/tsearch.c
ib/libc/string/memccpy.c
ib/libc/string/strcasestr.c
ib/libc/string/strcoll.c
ib/libc/string/strxfrm.c
ib/libc/thread-stub/__isthreaded.c
ib/libc/unistd/killpg.c
ibc/gen/ftw.c
ibc/gen/nftw.c
ibc/gen/nice.c
ibc/gen/popen.c
ibc/gen/psignal.c
ibc/gen/setjmperr.c
ibc/gen/utime.c
ibc/include/isc/assertions.h
ibc/include/isc/dst.h
ibc/include/isc/eventlib.h
ibc/include/isc/heap.h
ibc/include/isc/list.h
ibc/include/isc/memcluster.h
ibc/inet/inet_ntoa.c
ibc/inet/inet_ntop.c
ibc/inet/inet_pton.c
ibc/isc/ev_streams.c
ibc/isc/ev_timers.c
ibc/isc/eventlib_p.h
ibc/regex/cclass.h
ibc/regex/cname.h
ibc/regex/engine.c
ibc/regex/regcomp.c
ibc/regex/regerror.c
ibc/regex/regex2.h
ibc/regex/regexec.c
ibc/regex/regfree.c
ibc/regex/utils.h
ibc/stdio/getdelim.c
ibc/stdio/getline.c
ibc/stdlib/_rand48.c
ibc/stdlib/bsearch.c
ibc/stdlib/div.c
ibc/stdlib/drand48.c
ibc/stdlib/erand48.c
ibc/stdlib/exit.c
ibc/stdlib/jrand48.c
ibc/stdlib/ldiv.c
ibc/stdlib/lldiv.c
ibc/stdlib/lrand48.c
ibc/stdlib/mrand48.c
ibc/stdlib/nrand48.c
ibc/stdlib/seed48.c
ibc/stdlib/srand48.c
ibc/stdlib/tdelete.c
ibc/stdlib/tfind.c
ibc/stdlib/tsearch.c
ibc/string/memccpy.c
ibc/string/strcasestr.c
ibc/string/strcoll.c
ibc/string/strxfrm.c
ibc/thread-stub/__isthreaded.c
ibc/unistd/killpg.c
|
db1ea3474899ebbd783aba872d3005f95a816d0f |
18-Jan-2014 |
Elliott Hughes <enh@google.com> |
Implement some of the missing LFS64 support. This gives us: * <dirent.h> struct dirent64 readdir64, readdir64_r, alphasort64, scandir64 * <fcntl.h> creat64, openat64, open64. * <sys/stat.h> struct stat64 fstat64, fstatat64, lstat64, stat64. * <sys/statvfs.h> struct statvfs64 statvfs64, fstatvfs64. * <sys/vfs.h> struct statfs64 statfs64, fstatfs64. This also removes some of the incorrect #define hacks we've had in the past (for stat64, for example, which we promised to clean up way back in bug 8472078). Bug: 11865851 Bug: 8472078 Change-Id: Ia46443521918519f2dfa64d4621027dfd13ac566
ibc/compat-43/creat.c
|
a38cb088619d3e2f2194247038c10897d1c5036e |
17-Feb-2014 |
Elliott Hughes <enh@google.com> |
Clean up various warnings in bionic. Change-Id: Ic57541d0a567fd4ae79f0ad59b2ffde1130eb7d2
ort_before.h
|
652289942d0d2543af90c8af9c04d80a2edb481a |
14-Nov-2013 |
Pawit Pornkitprasan <p.pawit@gmail.com> |
bionic: call stdio cleanup on exit As of 61e699a133a4807fe878a6cb0d7190d7c96e21f8, stdio clean up functions are no longer registered in atexit and must be called manually via __cleanup. The issue this fixes is some static binaries linked against bionic cannot output properly when piped or redirected because the buffer is not flushed before closing. This is done by pulling in exit.c (and other dependencies) from netbsd. Change-Id: I193e54a6d08900f291550029fe75ce76394d9e22
ibc/stdlib/exit.c
ibc/thread-stub/__isthreaded.c
|
9be07fa527f61f4ca4be9f6380fa004ac588ccda |
07-Nov-2013 |
Elliott Hughes <enh@google.com> |
Fix a TODO; we've had SOCK_CLOEXEC for a while now. Change-Id: I4bc39b57f3c33441ead74127f576bf5a4e311566
etbsd-compat.h
|
60fd3450bf5cd081e019ea50616032e1447aeeb3 |
28-Oct-2013 |
Elliott Hughes <enh@google.com> |
Fix the *rand48 functions on LP64. I reported the mrand48 bug upstream, and 'matt' fixed the whole family of functions! Change-Id: I07fbc034e86499ce89599c3026a741738fd0cfc0
ibc/stdlib/jrand48.c
ibc/stdlib/lrand48.c
ibc/stdlib/mrand48.c
ibc/stdlib/nrand48.c
|
eb847bc8666842a3cfc9c06e8458ad1abebebaf0 |
10-Oct-2013 |
Elliott Hughes <enh@google.com> |
Fix x86_64 build, clean up intermediate libraries. The x86_64 build was failing because clone.S had a call to __thread_entry which was being added to a different intermediate .a on the way to making libc.so, and the linker couldn't guarantee statically that such a relocation would be possible. ld: error: out/target/product/generic_x86_64/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a(clone.o): requires dynamic R_X86_64_PC32 reloc against '__thread_entry' which may overflow at runtime; recompile with -fPIC This patch addresses that by ensuring that the caller and callee end up in the same intermediate .a. While I'm here, I've tried to clean up some of the mess that led to this situation too. In particular, this removes libc/private/ from the default include path (except for the DNS code), and splits out the DNS code into its own library (since it's a weird special case of upstream NetBSD code that's diverged so heavily it's unlikely ever to get back in sync). There's more cleanup of the DNS situation possible, but this is definitely a step in the right direction, and it's more than enough to get x86_64 building cleanly. Change-Id: I00425a7245b7a2573df16cc38798187d0729e7c4
ort_before.h
and48.h
|
d04c18397946f87ac4495351537c31a3d67257da |
15-May-2013 |
Elliott Hughes <enh@google.com> |
Add more __restricts, clean up __format__ attributes. Change-Id: I7e2d270cc722d339d221eaea92747eaff3b51403
ort_before.h
|
6b3f49a5374305ce9690c3c5ca2aadc90f54c521 |
07-Mar-2013 |
Elliott Hughes <enh@google.com> |
Upgrade to current NetBSD popen/pclose. This gets us back to using vfork now our ARM vfork assembler stub is fixed, and adds the missing thread safety for the 'pidlist'. Bug: 5335385 Change-Id: Ib08bfa65b2cb9fa695717aae629ea14816bf988d
nv.h
ibc/gen/popen.c
etbsd-compat.h
eentrant.h
|
2b473070126345e323d0694b87f88264cc9a77cc |
23-Jan-2013 |
Elliott Hughes <enh@google.com> |
Our strcoll(3) is no different from NetBSD's, so take exactly theirs. Change-Id: I45251047202a229f9175735ecc23c0ebcda71e8d
ibc/string/strcoll.c
|
c51cd764a2d0897234762abd4dbd21420cb9f17d |
22-Jan-2013 |
Elliott Hughes <enh@google.com> |
Avoid overflow in memccpy. Just take the upstream NetBSD code. Bug: http://code.google.com/p/android/issues/detail?id=43078 Change-Id: Ibbbde9d00e8bc6a09c9503aab2b04b4e3d1f98b0
ibc/string/memccpy.c
|
c30396f5f225e0b5a83a35432e2d82a7063cfdb9 |
29-Oct-2012 |
David 'Digit' Turner <digit@android.com> |
libc: Fix alphasort() signature (and implementation). The declaration for alphasort() in <dirent.h> used the deprecated: int alphasort(const void*, const void*); while both Posix and GLibc use instead: int alphasort(const struct dirent** a, const struct dirent** b); See: http://pubs.opengroup.org/onlinepubs/9699919799/functions/alphasort.html This patch does the following: - Update the declaration to match Posix/GLibc - Get rid of the upstream BSD code which isn't compatible with the new signature. - Implement a new trivial alphasort() with the right signature, and ensure that it uses strcoll() instead of strcmp(). - Remove Bionic-specific #ifdef .. #else .. #endif block in dirent_test.cpp which uses alphasort(). Even through strcoll() currently uses strcmp(), this does the right thing in the case where we decide to update strcoll() to properly implement locale-specific ordered comparison. Change-Id: I4fd45604d8a940aaf2eb0ecd7d73e2f11c9bca96
ibc/gen/alphasort.c
|
063cfb2084ea4b12d3c85b2d2c44e888f0857eb4 |
26-Oct-2012 |
Elliott Hughes <enh@google.com> |
Clean up the implementation of the <dirent.h> functions. Change-Id: I3c647cc9588525afc41fee90ee468d58cd13503a
ibc/gen/alphasort.c
|
ab44f52202878cdf2bf22457aeae33ec24089556 |
24-Oct-2012 |
Elliott Hughes <enh@google.com> |
More upstream NetBSD upgrades. Change-Id: Idb781d37de3b05585271d7d258ecffd5ba87d0b8
d_setsize.h
ibc/gen/setjmperr.c
ibc/include/isc/assertions.h
ibc/include/isc/dst.h
ibc/include/isc/eventlib.h
ibc/include/isc/heap.h
ibc/include/isc/list.h
ibc/include/isc/memcluster.h
ibc/isc/ev_streams.c
ibc/isc/ev_timers.c
ibc/isc/eventlib_p.h
ibc/stdlib/bsearch.c
ibc/stdlib/div.c
ibc/stdlib/ldiv.c
ibc/stdlib/lldiv.c
ibc/unistd/killpg.c
ort_before.h
|
e8bcca3a2ca4a70156c72239d62bb68eeb2929fd |
23-Oct-2012 |
Elliott Hughes <enh@google.com> |
Upgrade more functions to the current upstream NetBSD copy. Change-Id: Ie0b3f8b3fccef28609eb210434413ebd51d6ef45
ommon/lib/libc/hash/sha1/sha1.c
ommon/lib/libc/inet/inet_addr.c
ibc/gen/utime.c
ibc/inet/inet_ntoa.c
ibc/inet/inet_ntop.c
ibc/inet/inet_pton.c
ibc/string/strcasestr.c
ort_after.h
ort_before.h
|
31a1060a5a75d4f2aa3c3a5a7b948eb512d53387 |
01-Oct-2012 |
Elliott Hughes <enh@google.com> |
Upgrade seed48 too. Missed this in 774c7f54ff375d71106283d42779b0cc5f238f87. Change-Id: Ic24fd67f003d0e2d192cfb08f96f63024ca817eb
ibc/stdlib/seed48.c
|
774c7f54ff375d71106283d42779b0cc5f238f87 |
01-Oct-2012 |
Elliott Hughes <enh@google.com> |
Upgrade to the current NetBSD rand implementation. Also add basic unit tests. Change-Id: I7fc7ef61d47c1e8fdf8b8eff67a635220c3afd56
ibc/stdlib/_rand48.c
ibc/stdlib/drand48.c
ibc/stdlib/erand48.c
ibc/stdlib/jrand48.c
ibc/stdlib/lrand48.c
ibc/stdlib/mrand48.c
ibc/stdlib/nrand48.c
ibc/stdlib/srand48.c
|
eac9eb462ed6f7fcfb791e7a08b4011fcca47829 |
08-Sep-2012 |
Irina Tirdea <irina.tirdea@intel.com> |
Add getdelim(3) and getline(3) to bionic Some userspace programs (e.g. perf) need getline. Changes: () add getdelim.c, getline.c from NetBSD (http://netbsd.org/) under the NetBSD Foundation's (TNF) license ("2 clause" Berkeley-style license). () add stub for reentrant.h header that is needed by getdelim.c () add tests for getdelim(3) and getline(3). () update NOTICE file. Change-Id: I22ed82dd5904b9d7a3695535c04f502be3c27c5d Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
ibc/stdio/getdelim.c
ibc/stdio/getline.c
eentrant.h
|
ac184b21425a0681c51ef152f0567168b575da49 |
26-Sep-2012 |
Elliott Hughes <enh@google.com> |
Fix several compiler warnings. Change-Id: I55caa50a5937442734f4fcbdb4edf1c70f335bf8
xtern.h
|
5e58ea07d47c175abf8285ff67e3e9bc0b3a9e8e |
12-Sep-2012 |
Nick Kralevich <nnk@google.com> |
libc: add ftw / nftw functions Please see "man 3 ftw" for a description of the ftw / nftw functions. This code is taken directly from netbsd unmodified. Change-Id: Ia4879ac57212b424adf5281b5e92858e216d0f14
ibc/gen/ftw.c
ibc/gen/nftw.c
|
b5f053b5a7deb084e7a052d527e0aa41339ae05c |
08-Sep-2012 |
Irina Tirdea <irina.tirdea@intel.com> |
Make strerror(3) and strsignal(3) thread-safe, and add psignal(3) and psiginfo(3). Change-Id: I426109db25e907980d6cb3a7a695796e45783b78
xtern.h
ibc/gen/psignal.c
|
cc213f871bf4c5329eb5eb7a80a0ce9d4a880af8 |
15-Aug-2012 |
Elliott Hughes <enh@google.com> |
Switch to the current NetBSD regex implementation. Change-Id: If32b28dd85d6a7ab8957ab81d19fa4c0de9499d5
ibc/compat-43/creat.c
ibc/regex/cclass.h
ibc/regex/cname.h
ibc/regex/engine.c
ibc/regex/regcomp.c
ibc/regex/regerror.c
ibc/regex/regex2.h
ibc/regex/regexec.c
ibc/regex/regfree.c
ibc/regex/utils.h
etbsd-compat.h
|
409302f0f9fce73ea4c82bbfd439041cd7923d34 |
14-Aug-2012 |
Elliott Hughes <enh@google.com> |
Switch to upstream NetBSD tdelete/tfind/tsearch. tdestroy is a GNU extension, so that stays. Change-Id: Iedebaff25ea7e92b1ab1dd4440da12b67b99aa40
ibc/stdlib/tdelete.c
ibc/stdlib/tfind.c
ibc/stdlib/tsearch.c
|
3d2d448af1b16923f5a329b49bb8e658dbad8a06 |
14-Aug-2012 |
Elliott Hughes <enh@google.com> |
Fix nice... ...by switching to the NetBSD implementation. Change-Id: I562b27b237a24ded95804035cc322c7bff12ff59
ibc/gen/nice.c
amespace.h
|
f8b3a920a895a53b207017249080087d562bd0d2 |
10-Aug-2012 |
Elliott Hughes <enh@google.com> |
Revert "Revert "Switch to NetBSD's strxfrm(3)."" This reverts commit 8793e7c7d21a0434d1b5e63364c88b2b125a3d29, and fixes the build by building upstream NetBSD source as a separate library that's then swallowed whole into libc_common. Change-Id: I6c9317d8c48b5ccaf85a7b185bc07fb31176ff97
EADME.txt
ibc/string/strxfrm.c
etbsd-compat.h
|
8793e7c7d21a0434d1b5e63364c88b2b125a3d29 |
10-Aug-2012 |
Elliott Hughes <enh@google.com> |
Revert "Switch to NetBSD's strxfrm(3)." This reverts commit be1d78b0dc899a732c0e9d7515d3023e8004e368 Change-Id: I11a95db474796f3da004f27652b081d5ba4ec9b4
EADME.txt
ibc/string/strxfrm.c
etbsd-compat.h
|
be1d78b0dc899a732c0e9d7515d3023e8004e368 |
10-Aug-2012 |
Elliott Hughes <enh@google.com> |
Switch to NetBSD's strxfrm(3). There were two bugs in our implementation. Intel found one, but another remainined, and tracking upstream is the way forward for functions where we add no value. Change-Id: Ida9bac0293fb2c4cbc942b1e0515ee0477c6538b
EADME.txt
ibc/string/strxfrm.c
etbsd-compat.h
|