diff options
| author | Po Lu | 2023-02-25 20:11:48 +0800 |
|---|---|---|
| committer | Po Lu | 2023-02-25 20:11:48 +0800 |
| commit | df29bb71fc47b5e24fa971b668e4fa09dd6d244d (patch) | |
| tree | 78672c8e9f3b3db96f59a2bf6f81107d9eadb4af /src/android-asset.h | |
| parent | 8e4c5db193dc7baee5846520fe8b63d8bea99148 (diff) | |
| download | emacs-df29bb71fc47b5e24fa971b668e4fa09dd6d244d.tar.gz emacs-df29bb71fc47b5e24fa971b668e4fa09dd6d244d.zip | |
Update Android port
* java/org/gnu/emacs/EmacsNoninteractive.java (main): Port to
Android 2.2.
* src/android-asset.h (AAsset_openFileDescriptor): Delete stub
function.
* src/android.c (android_check_compressed_file): Delete
function.
(android_open): Stop trying to find compressed files or to use
the system provided file descriptor. Explain why.
Diffstat (limited to 'src/android-asset.h')
| -rw-r--r-- | src/android-asset.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/android-asset.h b/src/android-asset.h index b0e83bbf424..3b2f8105865 100644 --- a/src/android-asset.h +++ b/src/android-asset.h | |||
| @@ -365,15 +365,6 @@ android_asset_read_internal (AAsset *asset, int nbytes, char *buffer) | |||
| 365 | return total; | 365 | return total; |
| 366 | } | 366 | } |
| 367 | 367 | ||
| 368 | static int | ||
| 369 | AAsset_openFileDescriptor (AAsset *asset, off_t *out_start, | ||
| 370 | off_t *out_end) | ||
| 371 | { | ||
| 372 | *out_start = 0; | ||
| 373 | *out_end = 0; | ||
| 374 | return -1; | ||
| 375 | } | ||
| 376 | |||
| 377 | static long | 368 | static long |
| 378 | AAsset_getLength (AAsset *asset) | 369 | AAsset_getLength (AAsset *asset) |
| 379 | { | 370 | { |