| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Interestingly, this mostly involves cleaning up our implementation of
various <string.h> functions.
Change-Id: Ifaef49b5cb997134f7bc0cc31bdac844bdb9e089
|
|
|
|
|
|
|
| |
We don't have any FreeBSD stdio left.
Bug: 17154680
Change-Id: I145627f564364ac8d4707d431d451cc3115c1c6a
|
|
|
|
| |
Change-Id: I8c89728184ecd2c1a28a05cefa84a5037d28b552
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
| |
Change-Id: I269195aa581a688fd3eb99552d506b8f5f6a8395
|
|
|
|
| |
Change-Id: I0a35e5bd9f8edba27e0c73e5c8150636346d6a81
|
|
|
|
|
| |
Bug: 14659579
Change-Id: I80ec9584f054c02d1078828f6bca759c42bc1d4c
|
|
|
|
|
|
| |
Bug: 11156955
Bug: 15291317
Change-Id: I664f25cce7c17085a101d6593d8e01525a1f6a90
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Almost all of our stdio is actually OpenBSD, so although this isn't
really a core part of stdio (it doesn't touch struct FILE, for example)
it probably makes sense for it to come from the same upstream. My
actual motivation though is that it's the only FreeBSD file we have
compiler warnings from.
This patch moves us over to -Werror by default, with only the DNS code
having -Wno-error.
Change-Id: Id244a5b445cba41b0a1ca30298ca7b1ed177810c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I2c1123f3e1d3c4af7fd7bf354e763934a39b78c0
|
|/
|
|
| |
Change-Id: Ife527aafc1e5438f477d711902efe6e6f59f3f8e
|
|
|
|
| |
Change-Id: I4fe88abd8f7b8aa45e58aeb2529d59a8d555d338
|
|
|
|
| |
Change-Id: I2952684df5674d10f0564d92c2cd42597725c0e3
|
|
|
|
| |
Change-Id: Ic591e22fa5b363bb68376b9f25814c0e5bd83fbf
|
|
|
|
|
|
|
|
|
|
| |
Also neuter __isthreaded.
We should come back to try to hide struct FILE's internals for LP64.
Bug: 3453512
Bug: 3453550
Change-Id: I7e115329fb4579246a72fea367b9fc8cb6055d18
|
|
|
|
|
|
|
| |
(Yes, this should be in libm, but it isn't. For once, this mistake predates
bionic!)
Change-Id: I1340407acbcdc0151dee969a38ba490bdd5e6767
|
|
|
|
|
|
| |
This patch removes the string/ and wchar/ directories.
Change-Id: Ia489904bc67047e4bc79acb1f3eec21aa3fe5f0d
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ic57541d0a567fd4ae79f0ad59b2ffde1130eb7d2
|
|
|
|
|
|
|
|
|
|
|
| |
Also fix the signature of usleep, and the definition of useconds_t which
should be unsigned, as the 'u' in its name implies.
This patch also cleans up the existing FreeBSD hacks by moving the libm
stuff from <sys/cdefs.h> to a libm-private header, and adding comments
about the hacks we use to build FreeBSD source.
Change-Id: Ibe5067a380502df94a0a3a7901969b35411085b6
|
|
|
|
| |
Change-Id: I94c411c22634e43184445c82e7388e51fc46a8cc
|
|
|
|
|
|
|
|
| |
Yet another archaic relic containing bugs that had been fixed years before the
Android project even started...
Bug: 9935113
Change-Id: I3c9d019a216efd609ee568cf8c70bc360f357403
|
|
|
|
| |
Change-Id: I4c646dcb8be9e88dd54d069a03bbc5fbfd92de03
|
|
|
|
| |
Change-Id: I786feb42719bceaa7da91565e350c1333b0d301f
|
|
|
|
| |
Change-Id: Ifff41d69c13322dbc6f928ce7d4c65f76fe36772
|
|
|
|
| |
Change-Id: I4761b5e94459815520f01062eef39abf62af621f
|
|
|
|
|
|
|
|
|
|
|
| |
Fix license clause numbering.
Convert libc/stdio from K&R to ANSI C.
And add '__restrict' where it appeared in the header prototypes.
Change-Id: I5fdb22f79d3effa2298d03f9aa8412b4b087da04
Upstream: http://svnweb.freebsd.org/base?view=revision&revision=249810
|
|
|
|
| |
Change-Id: Ic46cd0b663dc5fa78c99dd38db0bfe849a25e789
|
|
|
|
|
|
| |
This only touches the easy stuff.
Change-Id: Iecee57f1681dba5c56bff59f0e9a89811a71f0ca
|
|
|
|
|
|
| |
Also clean up some obsolete cruft.
Change-Id: Iec3b36f6607f7a08b72de99294ed5b6cd910dd5f
|
|
|
|
| |
Change-Id: I87b4d76ff8da04109ae53638eec4f11629798960
|
|
This is actually a slightly newer upstream version than the one I
originally pulled. Hopefully now it's in upstream-freebsd it will
be easier to track upstream, though I still need to sit down and
write the necessary scripts at some point.
Bug: 5110679
Change-Id: I87e563f0f95aa8e68b45578e2a8f448bbf827a33
|