History log of /bionic/libc/upstream-freebsd/android/include/freebsd-compat.h
Revision Date Author Comments
baed51ee3a13dae4b87b11870bdf7f10bdc9efc1 16-Nov-2017 Elliott Hughes <enh@google.com> Change ARG_MAX/_SC_ARG_MAX back to a constant.

As per the lkml thread https://lkml.org/lkml/2017/11/1/946.

Bug: http://b/65818597
Test: ran tests
Change-Id: I7a0610e6903e6761f2b31416e2f5017bd7a60659
f1c568d1eac6d2baba62af35e5b9856fb7e98319 27-Sep-2017 Elliott Hughes <enh@google.com> Add <glob.h>.

This is the FreeBSD implementation, plus some tests. The FreeBSD
implementation includes the GNU extensions and seems to be what
iOS is using too, which should provide bug compatibility for app
developers.

The code unfortunately uses a lot of stack, and uses FreeBSD locale
implementation that we don't have, but it does seem better maintained
than the other BSDs.

Bug: http://b/29251134
Test: ran tests
Change-Id: Ie477b45e42a6df1319b25712098519d2b33adf67
5a69da8d7af6a388a4ad5b3dd619017b0030031a 24-Sep-2014 Elliott Hughes <enh@google.com> Switch to OpenBSD fopen/fclose.

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
b81046202842427a7e894a6bcb357971332997b0 19-Aug-2014 Elliott Hughes <enh@google.com> Fix _BSD_SOURCE/__USE_BSD.

Bug: 14659579
Change-Id: I80ec9584f054c02d1078828f6bca759c42bc1d4c
d39f3f2c2e7fc73ddb019695f0df3417deef5bf4 22-Apr-2014 Elliott Hughes <enh@google.com> Clean up and document our hacks for building BSD source.

Change-Id: Ic591e22fa5b363bb68376b9f25814c0e5bd83fbf