e2_fs.c fix for MNT_LOCAL being defined
- From: Marcus von Appen <mva@xxxxxxxxxxxx>
- To: emelfm2 <emelfm2@xxxxxxxxxxxxx>
- Date: Fri, 20 Feb 2009 09:28:18 +0100
Hi,
in src/filesystem/e2_fs.c an error sneaked in (current SVN and 0.5.1
upstream package) for the case MNT_LOCAL being defined. A quick fix
(without checking, if the logical behaviour is correct) is attached.
Regards
Marcus
Index: src/filesystem/e2_fs.c
===================================================================
--- src/filesystem/e2_fs.c (revision 1437)
+++ src/filesystem/e2_fs.c (working copy)
@@ -1046,7 +1046,7 @@
{
// if (errno == EINTR)
// goto retry;
- else if (errno == ENOENT && descend && e2_utils_get_parent_path
(localpath, TRUE))
+ if (errno == ENOENT && descend && e2_utils_get_parent_path
(localpath, TRUE))
goto retry;
g_free (localpath);
return FALSE;
Other related posts: