cedric pushed a commit to branch enlightenment-0.17.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=88cdaa67d5fd38ed21cdcede5283011ab05beda1

commit 88cdaa67d5fd38ed21cdcede5283011ab05beda1
Author: Igor Murzov <e-m...@date.by>
Date:   Tue Dec 25 18:12:31 2012 +0000

    Fix inverted arguments for lseek()
    
    Patch from Maxime Villard <rusty...@gmx.fr>
    "Hum, I've made a mistake in e_fm_op.c with lseek(), I inverted
    the two last arguments. However it's not harmful, as SEEK_SET=0.:
    
    
    SVN revision: 81697
---
 src/bin/e_fm_op.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_fm_op.c b/src/bin/e_fm_op.c
index eb21634..dd13376 100644
--- a/src/bin/e_fm_op.c
+++ b/src/bin/e_fm_op.c
@@ -1752,7 +1752,7 @@ _e_fm_op_destroy_atom(E_Fm_Op_Task *task)
 
        if (task->passes == NB_PASS)
          goto finish;
-       if (lseek(fd, SEEK_SET, 0) == -1)
+       if (lseek(fd, 0, SEEK_SET) == -1)
          goto finish;
 
        task->pos = 0;

-- 


Reply via email to