summaryrefslogtreecommitdiff
path: root/src/bin/e_path.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2005-04-22 03:06:27 +0000
committerCarsten Haitzler <raster@rasterman.com>2005-04-22 03:06:27 +0000
commitdd4a98045aefeb6c73147a0a34fe542d1c626ffc (patch)
tree0d90123e204cd9cabc9574a069141c81ce36f696 /src/bin/e_path.c
parentb3bcdf8bbba1d99d6312e7f39103871d8e107b90 (diff)
polish translation.
updates to other languages path strncpy notes for e_theme work SVN revision: 14287
Diffstat (limited to 'src/bin/e_path.c')
-rw-r--r--src/bin/e_path.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/e_path.c b/src/bin/e_path.c
index d152960..96f1b6f 100644
--- a/src/bin/e_path.c
+++ b/src/bin/e_path.c
@@ -177,7 +177,8 @@ e_path_find(E_Path *ep, const char *file)
177 rp = ecore_file_realpath(_e_path_buf); 177 rp = ecore_file_realpath(_e_path_buf);
178 if ((rp) && (rp[0] != 0)) 178 if ((rp) && (rp[0] != 0))
179 { 179 {
180 strcpy(_e_path_buf, rp); 180 strncpy(_e_path_buf, rp, sizeof(_e_path_buf) - 1);
181 _e_path_buf[sizeof(_e_path_buf) - 1] = 0;
181 free(rp); 182 free(rp);
182 if (evas_hash_size(ep->hash) >= 512) 183 if (evas_hash_size(ep->hash) >= 512)
183 _e_path_cache_free(ep); 184 _e_path_cache_free(ep);