aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog.android
diff options
context:
space:
mode:
authorPo Lu2023-08-06 21:45:29 +0800
committerPo Lu2023-08-06 21:45:29 +0800
commit7873369338ee0159ca285153fd4592cbcff65d7a (patch)
treebd4fb3b1c8b19836d8d78b3ff4173470cfefd687 /ChangeLog.android
parent669a4b96c374801faa137f43b4497b2ed6511104 (diff)
downloademacs-7873369338ee0159ca285153fd4592cbcff65d7a.tar.gz
emacs-7873369338ee0159ca285153fd4592cbcff65d7a.zip
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.android9
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 @@
12023-08-06 Po Lu <luangruo@yahoo.com> 12023-08-06 Po Lu <luangruo@yahoo.com>
2 2
3 * java/org/gnu/emacs/EmacsSafThread.java (openDocument1): If
4 initially opening with rwt, verify the file descriptor is really
5 writable; if not, resort to rw and truncating the file descriptor
6 by hand instead.
7
8 * src/androidvfs.c (NATIVE_NAME (ftruncate)): New function.
9 Truncate file descriptor and return whether that was successful.
10
3 * src/androidvfs.c (android_saf_tree_chmod): Repair file access 11 * src/androidvfs.c (android_saf_tree_chmod): Repair file access
4 permissions allowed within FLAGS. 12 permissions allowed within FLAGS.
5 13
62023-08-05 Po Lu <luangruo@yahoo.com> 142023-08-05 Po Lu <luangruo@yahoo.com>
7 15
8 * doc/lispref/commands.texi (Touchscreen Events): Fix typo. 16 * doc/lispref/commands.texi (Touchscreen Events): Fix typo.
17
9 * lisp/subr.el (y-or-n-p): Don't call set-text-conversion-style 18 * lisp/subr.el (y-or-n-p): Don't call set-text-conversion-style
10 when not present. 19 when not present.
11 20