projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36c68e7
)
Don't report erroneous /content directory on Android 4.3 and earlier
author
Po Lu
<luangruo@yahoo.com>
Thu, 9 May 2024 01:00:02 +0000
(09:00 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Thu, 9 May 2024 01:02:03 +0000
(09:02 +0800)
* src/androidvfs.c (android_content_opendir): Skip two, not one,
elements on Android <= 4.4.
src/androidvfs.c
patch
|
blob
|
history
diff --git
a/src/androidvfs.c
b/src/androidvfs.c
index 38bec7d349a9b354cff805c73dd84ad00c35b521..c326896d4c3de6817d1c7ef7389fe7824deaebb8 100644
(file)
--- a/
src/androidvfs.c
+++ b/
src/androidvfs.c
@@
-2813,7
+2813,7
@@
android_content_opendir (struct android_vnode *vnode)
/* Android 4.3 and earlier don't support /content/by-authority. */
if (api < 19)
- dir->next_name
++
;
+ dir->next_name
+= 2
;
/* Link this stream onto the list of all content directory
streams. */