projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0bfdb8
)
storage.c: Search for settings file even if d_type is DT_UNKNOWN.
author
Andrei Gherzan
<andrei@gherzan.ro>
Mon, 6 Aug 2012 20:54:33 +0000
(23:54 +0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Tue, 7 Aug 2012 06:23:59 +0000
(09:23 +0300)
This is useful for filesystems where d_type is always DT_UNKNOWN,
for example in reiserfs.
src/storage.c
patch
|
blob
|
history
diff --git
a/src/storage.c
b/src/storage.c
index
20766a3
..
29291dc
100644
(file)
--- a/
src/storage.c
+++ b/
src/storage.c
@@
-193,6
+193,7
@@
gchar **connman_storage_get_services()
switch (d->d_type) {
case DT_DIR:
+ case DT_UNKNOWN:
/*
* If the settings file is not found, then
* assume this directory is not a services dir.