projects
/
profile
/
ivi
/
eet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f76724
)
in eet_list(), check whether the supplied glob is '*'. iirc raster said freebsd's...
author
tsauerbeck
<tsauerbeck>
Thu, 14 Jul 2005 16:51:28 +0000
(16:51 +0000)
committer
tsauerbeck
<tsauerbeck@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 14 Jul 2005 16:51:28 +0000
(16:51 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@15779
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/eet_lib.c
patch
|
blob
|
history
diff --git
a/src/lib/eet_lib.c
b/src/lib/eet_lib.c
index
e100809
..
a60442d
100644
(file)
--- a/
src/lib/eet_lib.c
+++ b/
src/lib/eet_lib.c
@@
-1007,8
+1007,11
@@
eet_list(Eet_File *ef, char *glob, int *count_ret)
{
for (efn = ef->header->directory->nodes[i]; efn; efn = efn->next)
{
- /* if the entry matches the input glob */
- if (!fnmatch(glob, efn->name, 0))
+ /* if the entry matches the input glob
+ * check for * explicitly, because on some systems, * isn't well
+ * supported
+ */
+ if ((!strcmp (glob, "*")) || !fnmatch(glob, efn->name, 0))
{
char **new_list;