mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 10:46:25 +00:00
vfs/pipe: let num_dirent return 0
This prevents the original value ~0UL from messing up the output of 'ls -l /dev'. Issue #3578
This commit is contained in:
parent
9f7b8c1a17
commit
0c8ec41c21
@ -496,8 +496,7 @@ class Vfs_pipe::File_system : public Vfs::File_system
|
||||
Rename_result rename(const char*, const char*) override {
|
||||
return RENAME_ERR_NO_ENTRY; }
|
||||
|
||||
file_size num_dirent(char const *) override {
|
||||
return ~0UL; }
|
||||
file_size num_dirent(char const *) override { return 0; }
|
||||
|
||||
bool directory(char const *cpath) override
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user