bionic/libc/upstream-netbsd
Elliott Hughes db1ea34748 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
2014-02-18 15:39:24 -08:00
..
common/lib/libc Upgrade more functions to the current upstream NetBSD copy. 2012-10-23 12:29:53 -07:00
libc Implement some of the missing LFS64 support. 2014-02-18 15:39:24 -08:00
env.h Upgrade to current NetBSD popen/pclose. 2013-03-06 16:20:55 -08:00
extern.h Fix several compiler warnings. 2012-09-26 14:20:22 -07:00
fd_setsize.h More upstream NetBSD upgrades. 2012-10-23 16:05:09 -07:00
namespace.h Fix nice... 2012-08-13 16:38:29 -07:00
netbsd-compat.h Fix a TODO; we've had SOCK_CLOEXEC for a while now. 2013-11-06 17:04:56 -08:00
port_after.h Upgrade more functions to the current upstream NetBSD copy. 2012-10-23 12:29:53 -07:00
port_before.h Clean up various warnings in bionic. 2014-02-18 12:04:54 -08:00
rand48.h Fix x86_64 build, clean up intermediate libraries. 2013-10-09 16:00:17 -07:00
README.txt Revert "Revert "Switch to NetBSD's strxfrm(3)."" 2012-08-10 12:10:10 -07:00
reentrant.h Upgrade to current NetBSD popen/pclose. 2013-03-06 16:20:55 -08:00

This directory contains upstream NetBSD source. You should not edit these
files directly. Make fixes upstream and then pull down the new version of
the file.

Note that code in the other 'netbsd' directory contains Android modifications.
We should work towards getting as many of those changes as possible upstream
and then losing those files in favor of pure upstream copies here instead.

TODO: write a script to make this process automated.