Enlightenment CVS committal
Author : tsauerbeck
Project : e17
Module : libs/eet
Dir : e17/libs/eet/src/lib
Modified Files:
eet_lib.c
Log Message:
in eet_list(), check whether the supplied glob is '*'. iirc raster said
freebsd's fnmatch() didn't support '*' well so he added the same workaround to
edje... and so it should be in libeet, too
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/eet/src/lib/eet_lib.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -3 -r1.44 -r1.45
--- eet_lib.c 26 May 2005 11:14:15 -0000 1.44
+++ eet_lib.c 14 Jul 2005 16:51:28 -0000 1.45
@@ -1007,8 +1007,11 @@
{
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;
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs