On Sat, Jun 4, 2011 at 2:19 AM, Enlightenment SVN <no-re...@enlightenment.org> wrote: > > Log: > e_fm: move should compare both paths totally. > > Comparing just until the strlen(p2) won't allow to move an inner directory to > a parent directory. ... > + (strncmp(p, p2, PATH_MAX) == 0) &&
so just strcmp() as using PATH_MAX brings no good other than an extra comparison during the match. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel