Re: [E-devel] [PATCH] Patch for ticket #272

2009-04-10 Thread The Rasterman
On Sat, 11 Apr 2009 01:40:43 -0300 Gustavo Sverzut Barbieri said: > On Thu, Apr 9, 2009 at 4:42 AM, Sergey Semernin > wrote: > > +               snprintf(buf, sizeof(buf), "%s", ici->file); > > i know the code before was like that, but it would be better to use > ecore_strlcpy() instead of snp

Re: [E-devel] [PATCH] Patch for ticket #272

2009-04-10 Thread Gustavo Sverzut Barbieri
On Thu, Apr 9, 2009 at 4:42 AM, Sergey Semernin wrote: > +               snprintf(buf, sizeof(buf), "%s", ici->file); i know the code before was like that, but it would be better to use ecore_strlcpy() instead of snprintf() with "%s". I improved that in svn. -- Gustavo Sverzut Barbieri http://

Re: [E-devel] [PATCH] Patch for ticket #272

2009-04-09 Thread Sergey Semernin
Hello, All. This is patch for ticket #272. I guided by next considerations: -- in most cases links to a dirs or files must be passed to program "as is"; -- also, if dir icon selected in efm2 then we need pass this name to a program too. So, I removed some superfluous checks from fuction