projects
/
project
/
fstools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d34ea8e
)
fstoools: add define for GLOB_ONLYDIR
author
Rosen Penev
<rosenp@gmail.com>
Wed, 25 Mar 2020 23:27:47 +0000
(16:27 -0700)
committer
Petr Štetiar
<ynezz@true.cz>
Sat, 11 Jul 2020 11:43:56 +0000
(13:43 +0200)
This was originally a patch for musl. It is not present in musl as it is a
GNU extension.
Place it here where it belongs.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
libfstools/overlay.c
patch
|
blob
|
history
diff --git
a/libfstools/overlay.c
b/libfstools/overlay.c
index 14214a3104d9c6ae670437c570c46200db259ed4..39215d5926a9b72728f6f9e201e0580c4bf78f58 100644
(file)
--- a/
libfstools/overlay.c
+++ b/
libfstools/overlay.c
@@
-30,6
+30,10
@@
#include "libfstools.h"
#include "volume.h"
+#ifndef GLOB_ONLYDIR
+#define GLOB_ONLYDIR 0x100
+#endif
+
#define SWITCH_JFFS2 "/tmp/.switch_jffs2"
static bool keep_sysupgrade;