Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore


Modified Files:
        ecore_path.c 


Log Message:


what on earth was that code? looks entirely wrong - comment it out.

===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore/ecore_path.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ecore_path.c        23 Jun 2006 06:40:52 -0000      1.9
+++ ecore_path.c        29 Dec 2006 02:06:46 -0000      1.10
@@ -216,9 +216,9 @@
          {
             char ppath[PATH_MAX];
             char *ext;
-            char n[PATH_MAX];
+/*          char n[PATH_MAX];
             int l;
-
+*/
             if (!strncmp(d->d_name, ".", 1))
               continue;
 
@@ -233,15 +233,16 @@
 
             if (!S_ISREG(st.st_mode))
               continue;
-
+/*
             l = strlen(d->d_name);
 
             strncpy(n, d->d_name, l - 2);
-
+*/
             if (!avail)
               avail = ecore_list_new();
 
-            ecore_list_append(avail, strdup(n));
+/*          ecore_list_append(avail, strdup(n));*/
+            ecore_list_append(avail, strdup(d->d_name));
          }
      }
 



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to