diff options
author | Po Lu <luangruo@yahoo.com> | 2023-08-06 21:45:29 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2023-08-06 21:45:29 +0800 |
commit | 7873369338ee0159ca285153fd4592cbcff65d7a (patch) | |
tree | bd4fb3b1c8b19836d8d78b3ff4173470cfefd687 /ChangeLog.android | |
parent | 669a4b96c374801faa137f43b4497b2ed6511104 (diff) | |
download | emacs-7873369338ee0159ca285153fd4592cbcff65d7a.tar.gz |
Update Android port
* java/org/gnu/emacs/EmacsNative.java: Declare ftruncate.
* java/org/gnu/emacs/EmacsSafThread.java (openDocument1): If
initially opening with rwt, verify the file descriptor is really
writable; if not, resort to rw and truncating the file descriptor
by hand instead.
* src/androidvfs.c (NATIVE_NAME (ftruncate)): New function.
Truncate file descriptor and return whether that was successful.
Diffstat (limited to 'ChangeLog.android')
-rw-r--r-- | ChangeLog.android | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog.android b/ChangeLog.android index 689482d2f1a..82ab75b40c1 100644 --- a/ChangeLog.android +++ b/ChangeLog.android @@ -1,11 +1,20 @@ 2023-08-06 Po Lu <luangruo@yahoo.com> + * java/org/gnu/emacs/EmacsSafThread.java (openDocument1): If + initially opening with rwt, verify the file descriptor is really + writable; if not, resort to rw and truncating the file descriptor + by hand instead. + + * src/androidvfs.c (NATIVE_NAME (ftruncate)): New function. + Truncate file descriptor and return whether that was successful. + * src/androidvfs.c (android_saf_tree_chmod): Repair file access permissions allowed within FLAGS. 2023-08-05 Po Lu <luangruo@yahoo.com> * doc/lispref/commands.texi (Touchscreen Events): Fix typo. + * lisp/subr.el (y-or-n-p): Don't call set-text-conversion-style when not present. |