summaryrefslogtreecommitdiffstats
path: root/tests/stdio_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Start moving to current FreeBSD stdio.Elliott Hughes2013-04-111-0/+18
| | | | | | This only touches the easy stuff. Change-Id: Iecee57f1681dba5c56bff59f0e9a89811a71f0ca
* Let bionic use the correct definition of ssize_t.Elliott Hughes2013-03-081-6/+2
| | | | | Bug: 8253769 Change-Id: I50c7cc20828fc089b83580e039ce9153a6c5a8cc
* Upgrade to current NetBSD popen/pclose.Elliott Hughes2013-03-061-0/+12
| | | | | | | | 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
* Avoid changing the C++ ABI with ssize_t.Elliott Hughes2013-02-281-1/+8
| | | | | Bug: 8253769 Change-Id: Ia325003ed6e59da553e2bdde7c43515bc191b8ba
* use architecture-specific ssize_t definitionThorsten Glaser2013-02-191-0/+9
| | | | | | | | | | | | after change 32822 was rejected, this is the more light-weight version of the fix: libc/include/sys/types.h already - via libc/kernel/common/linux/posix_types.h - includes a definition of __kernel_ssize_t from libc/kernel/arch-*/asm/posix_types.h which is architecture-specific, toolchain-agnostic and also gets rid of the gcc -Wformat warning (which it issues correctly, since this i̲s̲ indeed a bug in bionic) Change-Id: Ie4503ab16628bc25815a836d07556f665e9795c7
* Fix __pthread_clone on ARM to set errno on failure.Elliott Hughes2013-02-111-8/+8
| | | | | | | | | | MIPS and x86 appear to have been correct already. (Also fix unit tests that ASSERT_EQ with errno so that the arguments are in the retarded junit order.) Bug: 3461078 Change-Id: I2418ea98927b56e15b4ba9cfec97f5e7094c6291
* Add getdelim(3) and getline(3) to bionicIrina Tirdea2012-09-271-0/+123
| | | | | | | | | | | | | | 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>
* Fix tmpfile(3).Elliott Hughes2012-09-261-0/+48
This could be better, but at least now it works. Change-Id: I88b7cf3f7ce8e5fa0b3fe678b7d1679a68ffffc9