summaryrefslogtreecommitdiff
path: root/src/bin/e_path.c
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2006-12-28 13:58:12 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2006-12-28 13:58:12 +0000
commitd523a62b26b4507d71b53dc45e536ee0b7973ee8 (patch)
treeebc23097456ed999e2ed2d22467844617606d231 /src/bin/e_path.c
parent941564999b4f021ac220e95921d18b624cbcd4f3 (diff)
downloadenlightenment-d523a62b26b4507d71b53dc45e536ee0b7973ee8.tar.gz
Remove old stuff.
SVN revision: 27594
Diffstat (limited to 'src/bin/e_path.c')
-rw-r--r--src/bin/e_path.c34
1 files changed, 1 insertions, 33 deletions
diff --git a/src/bin/e_path.c b/src/bin/e_path.c
index 8ea1206a14..35e46f806d 100644
--- a/src/bin/e_path.c
+++ b/src/bin/e_path.c
@@ -253,8 +253,7 @@ e_path_find(E_Path *ep, const char *file)
for (l = ep->default_dir_list; l; l = l->next)
{
E_Path_Dir *epd;
-// char *rp;
-
+
epd = l->data;
if (epd->dir)
{
@@ -267,28 +266,12 @@ e_path_find(E_Path *ep, const char *file)
evas_stringshare_add(buf));
return evas_stringshare_add(buf);
}
-/*
- rp = ecore_file_realpath(buf);
- if ((rp) && (rp[0] != 0))
- {
- strncpy(buf, rp, sizeof(buf) - 1);
- buf[sizeof(buf) - 1] = 0;
- free(rp);
- if (evas_hash_size(ep->hash) >= 512)
- _e_path_cache_free(ep);
- ep->hash = evas_hash_add(ep->hash, file,
- evas_stringshare_add(buf));
- return evas_stringshare_add(buf);
- }
- if (rp) free(rp);
- */
}
}
/* Look in the users dir list */
for (l = *(ep->user_dir_list); l; l = l->next)
{
E_Path_Dir *epd;
- char *rp;
epd = l->data;
if (epd->dir)
@@ -302,21 +285,6 @@ e_path_find(E_Path *ep, const char *file)
evas_stringshare_add(buf));
return evas_stringshare_add(buf);
}
-/*
- rp = ecore_file_realpath(buf);
- if ((rp) && (rp[0] != 0))
- {
- strncpy(buf, rp, sizeof(buf) - 1);
- buf[sizeof(buf) - 1] = 0;
- free(rp);
- if (evas_hash_size(ep->hash) >= 512)
- _e_path_cache_free(ep);
- ep->hash = evas_hash_add(ep->hash, file,
- evas_stringshare_add(buf));
- return evas_stringshare_add(buf);
- }
- if (rp) free(rp);
- */
}
}
return NULL;