On Sun, Nov 18, 2012 at 5:58 PM, Enlightenment SVN <no-re...@enlightenment.org> wrote: > Log: > e: Fix unchecked return code warning > > Signed-off-by: Mike McCormack <mi...@atratus.org> > > Author: mike_m > Date: 2012-11-18 11:58:02 -0800 (Sun, 18 Nov 2012) > New Revision: 79433 > Trac: http://trac.enlightenment.org/e/changeset/79433 > > Modified: > trunk/e/src/modules/fileman/e_fwin.c > > Modified: trunk/e/src/modules/fileman/e_fwin.c > =================================================================== > --- trunk/e/src/modules/fileman/e_fwin.c 2012-11-18 18:04:26 UTC (rev > 79432) > +++ trunk/e/src/modules/fileman/e_fwin.c 2012-11-18 19:58:02 UTC (rev > 79433) > @@ -1241,8 +1241,8 @@ > selected = e_fm2_selected_list_get(page->fm_obj); > if (!selected) return; > > - getcwd(pcwd, sizeof(pcwd)); > - chdir(e_fm2_real_path_get(page->fm_obj)); > + if (!getcwd(pcwd, sizeof(pcwd))) return; > + if (0 > chdir(e_fm2_real_path_get(page->fm_obj))) return; >
no error messages? "chdir() < 0" please? not the other way around Lucas De Marchi ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel