sys-file-reader: Fix setjmp() technicality. 20120820000504/pspp
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 20 Aug 2012 07:00:33 +0000 (00:00 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 20 Aug 2012 07:00:33 +0000 (00:00 -0700)
commit4e0b5360aebcaff9e9659ed7243ca5ace2ea219a
treef5b40c958761f6087c3af439bd4ae6bf33a02b86
parent4d4d8b75297c30d7c95c2ab753f2c4493ae221ee
sys-file-reader: Fix setjmp() technicality.

The C standards say that the compiler is allowed to optimize away
changes to local variables within a function between a call to
setjmp() and a later call to longjmp(), unless the local variables
are volatile-qualified.

The 'info' local variable in sfm_open_reader() fits this
description but wasn't volatile-qualified.  This commit fixes that,
even though my compiler didn't in fact seem to have a problem with
the previous version.
src/data/sys-file-reader.c