ObjFW  Check-in [c5e7dd679b]

Overview
Comment:Work around Android bugs.

Includes:
* Check environ against NULL before using it, since Android sets it to
NULL.
* Cast st_size of struct stat to off_t. Android uses long long for
st_size as its off_t is only 32 bit, but st_size should be off_t
according to POSIX.
* Android's strtod() does not accept 0x, as specified by C99. Thus,
the test is disabled if __ANDROID__ is defined.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c5e7dd679b8343fa877a6ceef98a9b67188aada3ce479108cd67176916f22f8f
User & Date: js on 2013-09-17 16:12:37
Other Links: manifest | tags
Context
2013-09-17
16:51
tests/Makefile: Add run-on-android target. check-in: c7b788abab user: js tags: trunk
16:12
Work around Android bugs. check-in: c5e7dd679b user: js tags: trunk
14:14
Only compare with PTHREAD_CANCELED if defined. check-in: 2ac6cc1247 user: js tags: trunk
Changes