[segyio] 227/376: Use saved errno copy, not modified errno

Jørgen Kvalsvik jokva-guest at moszumanska.debian.org
Wed Sep 20 08:04:37 UTC 2017


This is an automated email from the git hooks/post-receive script.

jokva-guest pushed a commit to branch debian
in repository segyio.

commit d625dcff3f1a904c240a07b76cdfeb48cde25bfc
Author: Jørgen Kvalsvik <jokva at statoil.com>
Date:   Tue Mar 7 09:19:35 2017 +0100

    Use saved errno copy, not modified errno
---
 python/segyio/_segyio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/segyio/_segyio.c b/python/segyio/_segyio.c
index fbec53a..79e1f9b 100644
--- a/python/segyio/_segyio.c
+++ b/python/segyio/_segyio.c
@@ -523,7 +523,7 @@ static PyObject *py_field_forall(PyObject *self, PyObject *args ) {
 
     PyBuffer_Release( &buffer );
     if( error != SEGY_OK ) {
-        return py_handle_segy_error( error, errno );
+        return py_handle_segy_error( error, errorno );
     }
 
     Py_IncRef(buffer_out);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/segyio.git



More information about the debian-science-commits mailing list