emacs/lib-src
Po Lu 02e70821b3 Restore functionality on Android 2.2
* java/Makefile.in (install_temp): Do not compress
directory-tree and generate such files in a special format that
stores file sizes.

* lib-src/asset-directory-tool.c (struct directory_tree): New
field st_size.
(need_file_size): New variable.
(main_1, main_2, main): Write file sizes before sibling offsets
if `--api-8' is specified.

* src/android-asset.h (struct android_asset_manager): New field
open.
(struct android_asset): New field name.
(AAssetManager_fromJava): Load AssetManager#open.
(AAssetManager_open): If a directory tree has already been
loaded, search for a matching asset and load its size thence, to
avoid the requirement of an AssetFileDescriptor.
(AAsset_close): Don't assume asset->fd exists.  Release
asset->name.
(AAsset_getLength): Likewise.
(android_asset_create_stream): If asset->name exists, call
AssetManager#open, in order to open compressed files.

* src/androidvfs.c (OLD_ANDROID_ASSETS): Define to 1 on API 8.
(android_extract_long, android_scan_directory_tree): Mark
arguments as const.  Adjust offsets when OLD_ANDROID_ASSETS.
(android_is_directory, android_init_assets, android_afs_readdir):
Likewise.

* src/lread.c (lread_fstat): Define to sys_fstat, not fstat.
2024-06-12 16:44:21 +08:00
..
asset-directory-tool.c Restore functionality on Android 2.2 2024-06-12 16:44:21 +08:00
be_resources.cc ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ChangeLog.1 Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
COPYING Merge from Gnulib 2017-10-01 18:31:10 -07:00
ctags.c Port ctags+etags build to Sun C 5.12. 2014-05-18 11:57:04 -07:00
ebrowse.c Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
emacsclient.c ; * lib-src/emacsclient.c (local_sockname): Whitespace. 2024-05-07 14:24:40 +03:00
etags.c Pacify gcc -Wmissing-variable-declarations 2024-05-11 18:46:27 -07:00
hexl.c ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
make-docfile.c Pacify gcc -Wmissing-variable-declarations 2024-05-11 18:46:27 -07:00
make-fingerprint.c ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
Makefile.in Port to GNU Make 03ecd94488b85adc38746ec3e7c2a297a522598e 2024-02-08 23:22:00 -08:00
movemail.c Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ntlib.c ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ntlib.h ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
pop.c ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
pop.h ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
rcs2log rcs2log now groks add-log-time-zone rule 2024-04-12 13:14:29 -07:00
README
seccomp-filter.c Be more systematic about parens in C source code 2024-01-20 17:28:53 -08:00
update-game-score.c Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00

This directory contains the source code for the architecture-dependent
files that go in ${archlibdir}.  At present, these are mostly utility
programs used by GNU Emacs.