mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
mtools: Fix creation of dot directories (. and ..)
This commit is contained in:
parent
2f965b37b5
commit
b27ace1c88
@ -0,0 +1,11 @@
|
|||||||
|
diff -Naur a/direntry.c b/direntry.c
|
||||||
|
--- a/direntry.c 2016-06-09 11:43:10.440631427 +0100
|
||||||
|
+++ b/direntry.c 2016-06-09 11:44:02.084949449 +0100
|
||||||
|
@@ -24,6 +24,7 @@
|
||||||
|
|
||||||
|
void initializeDirentry(direntry_t *entry, Stream_t *Dir)
|
||||||
|
{
|
||||||
|
+ memset(entry, 0, sizeof(direntry_t));
|
||||||
|
entry->entry = -1;
|
||||||
|
/* entry->parent = getDirentry(Dir);*/
|
||||||
|
entry->Dir = Dir;
|
Loading…
x
Reference in New Issue
Block a user