[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.7.9-331-g4e0b5
From: |
Ben Pfaff |
Subject: |
[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.7.9-331-g4e0b536 |
Date: |
Mon, 20 Aug 2012 07:00:46 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU PSPP".
The branch, master has been updated
via 4e0b5360aebcaff9e9659ed7243ca5ace2ea219a (commit)
via 4d4d8b75297c30d7c95c2ab753f2c4493ae221ee (commit)
from ace5fed0c507901119c906dc72f1c058bbb6f587 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4e0b5360aebcaff9e9659ed7243ca5ace2ea219a
Author: Ben Pfaff <address@hidden>
Date: Mon Aug 20 00:00:33 2012 -0700
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.
commit 4d4d8b75297c30d7c95c2ab753f2c4493ae221ee
Author: Ben Pfaff <address@hidden>
Date: Sun Aug 19 23:59:47 2012 -0700
sys-file-reader: Fix memory leak.
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 'dict' local variable in sfm_open_reader() fits this
description but wasn't volatile-qualified. GCC in fact optimized
out the changes on my system, and this commit fixes that.
-----------------------------------------------------------------------
Summary of changes:
src/data/sys-file-reader.c | 23 +++++++++++------------
1 files changed, 11 insertions(+), 12 deletions(-)
hooks/post-receive
--
GNU PSPP
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.7.9-331-g4e0b536,
Ben Pfaff <=