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 {
|
Rename_result rename(const char*, const char*) override {
|
||||||
return RENAME_ERR_NO_ENTRY; }
|
return RENAME_ERR_NO_ENTRY; }
|
||||||
|
|
||||||
file_size num_dirent(char const *) override {
|
file_size num_dirent(char const *) override { return 0; }
|
||||||
return ~0UL; }
|
|
||||||
|
|
||||||
bool directory(char const *cpath) override
|
bool directory(char const *cpath) override
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue