]> git.eshelyaron.com Git - emacs.git/commit
Fix listing of Android root directory when it is accessible
authorPo Lu <luangruo@yahoo.com>
Mon, 1 Apr 2024 01:26:03 +0000 (09:26 +0800)
committerEshel Yaron <me@eshelyaron.com>
Tue, 2 Apr 2024 13:21:56 +0000 (15:21 +0200)
commit32a38cf8d93019a432988951bc1c9824458f42af
treece5eec8de95709e5567b3011e59aaa7976960c94
parent0f7a3879e853658c3f34835ebc857cda100c5d8c
Fix listing of Android root directory when it is accessible

* src/androidvfs.c (android_root_closedir, android_root_dirfd)
(android_root_opendir): Allocate an ersatz file descriptor even
if directory is non-NULL, so that at-funcs will properly return
file status for virtual files in the root directory.

(cherry picked from commit 0cf9b58228580bfa400cdaf35eac04d375fe4785)
src/androidvfs.c