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)
Remove old stuff.
SVN revision: 27594
Diffstat (limited to '')
-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 8ea1206..35e46f8 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)
253 for (l = ep->default_dir_list; l; l = l->next) 253 for (l = ep->default_dir_list; l; l = l->next)
254 { 254 {
255 E_Path_Dir *epd; 255 E_Path_Dir *epd;
256// char *rp; 256
257
258 epd = l->data; 257 epd = l->data;
259 if (epd->dir) 258 if (epd->dir)
260 { 259 {
@@ -267,28 +266,12 @@ e_path_find(E_Path *ep, const char *file)
267 evas_stringshare_add(buf)); 266 evas_stringshare_add(buf));
268 return evas_stringshare_add(buf); 267 return evas_stringshare_add(buf);
269 } 268 }
270/*
271 rp = ecore_file_realpath(buf);
272 if ((rp) && (rp[0] != 0))
273 {
274 strncpy(buf, rp, sizeof(buf) - 1);
275 buf[sizeof(buf) - 1] = 0;
276 free(rp);
277 if (evas_hash_size(ep->hash) >= 512)
278 _e_path_cache_free(ep);
279 ep->hash = evas_hash_add(ep->hash, file,
280 evas_stringshare_add(buf));
281 return evas_stringshare_add(buf);
282 }
283 if (rp) free(rp);
284 */
285 } 269 }
286 } 270 }
287 /* Look in the users dir list */ 271 /* Look in the users dir list */
288 for (l = *(ep->user_dir_list); l; l = l->next) 272 for (l = *(ep->user_dir_list); l; l = l->next)
289 { 273 {
290 E_Path_Dir *epd; 274 E_Path_Dir *epd;
291 char *rp;
292 275
293 epd = l->data; 276 epd = l->data;
294 if (epd->dir) 277 if (epd->dir)
@@ -302,21 +285,6 @@ e_path_find(E_Path *ep, const char *file)
302 evas_stringshare_add(buf)); 285 evas_stringshare_add(buf));
303 return evas_stringshare_add(buf); 286 return evas_stringshare_add(buf);
304 } 287 }
305/*
306 rp = ecore_file_realpath(buf);
307 if ((rp) && (rp[0] != 0))
308 {
309 strncpy(buf, rp, sizeof(buf) - 1);
310 buf[sizeof(buf) - 1] = 0;
311 free(rp);
312 if (evas_hash_size(ep->hash) >= 512)
313 _e_path_cache_free(ep);
314 ep->hash = evas_hash_add(ep->hash, file,
315 evas_stringshare_add(buf));
316 return evas_stringshare_add(buf);
317 }
318 if (rp) free(rp);
319 */
320 } 288 }
321 } 289 }
322 return NULL; 290 return NULL;