[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] pspp/src data/ChangeLog data/value-labels.c lib...
From: |
John Darrington |
Subject: |
[Pspp-cvs] pspp/src data/ChangeLog data/value-labels.c lib... |
Date: |
Fri, 08 Dec 2006 22:24:08 +0000 |
CVSROOT: /sources/pspp
Module name: pspp
Changes by: John Darrington <jmd> 06/12/08 22:24:08
Modified files:
src/data : ChangeLog value-labels.c
src/libpspp : ChangeLog array.c
src/ui/gui : ChangeLog syntax-editor.c
src/ui/terminal: ChangeLog msg-ui.c
Log message:
Memory leak patrol and minor cleanups.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/src/data/ChangeLog?cvsroot=pspp&r1=1.80&r2=1.81
http://cvs.savannah.gnu.org/viewcvs/pspp/src/data/value-labels.c?cvsroot=pspp&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/pspp/src/libpspp/ChangeLog?cvsroot=pspp&r1=1.43&r2=1.44
http://cvs.savannah.gnu.org/viewcvs/pspp/src/libpspp/array.c?cvsroot=pspp&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/pspp/src/ui/gui/ChangeLog?cvsroot=pspp&r1=1.24&r2=1.25
http://cvs.savannah.gnu.org/viewcvs/pspp/src/ui/gui/syntax-editor.c?cvsroot=pspp&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/pspp/src/ui/terminal/ChangeLog?cvsroot=pspp&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/pspp/src/ui/terminal/msg-ui.c?cvsroot=pspp&r1=1.8&r2=1.9
Patches:
Index: data/ChangeLog
===================================================================
RCS file: /sources/pspp/pspp/src/data/ChangeLog,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -b -r1.80 -r1.81
--- data/ChangeLog 8 Dec 2006 01:41:21 -0000 1.80
+++ data/ChangeLog 8 Dec 2006 22:24:08 -0000 1.81
@@ -1,3 +1,8 @@
+Sat Dec 9 07:18:03 WST 2006 John Darrington <address@hidden>
+
+ * value-labels.c (destroy_atoms): New function.
+ * value-labels.c (atom_create): Call destroy_atoms in atexit handler.
+
Thu Dec 7 17:38:26 2006 Ben Pfaff <address@hidden>
Thanks to Jason Stover for pointing out this problem.
Index: data/value-labels.c
===================================================================
RCS file: /sources/pspp/pspp/src/data/value-labels.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- data/value-labels.c 5 Dec 2006 15:10:21 -0000 1.10
+++ data/value-labels.c 8 Dec 2006 22:24:08 -0000 1.11
@@ -447,6 +447,12 @@
/* Hash table of atoms. */
static struct hsh_table *atoms;
+static void
+destroy_atoms (void)
+{
+ hsh_destroy (atoms);
+}
+
/* Creates and returns an atom for STRING. */
static struct atom *
atom_create (const char *string)
@@ -457,7 +463,10 @@
assert (string != NULL);
if (atoms == NULL)
+ {
atoms = hsh_create (8, compare_atoms, hash_atom, free_atom, NULL);
+ atexit (destroy_atoms);
+ }
a.string = (char *) string;
app = hsh_probe (atoms, &a);
Index: libpspp/ChangeLog
===================================================================
RCS file: /sources/pspp/pspp/src/libpspp/ChangeLog,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -b -r1.43 -r1.44
--- libpspp/ChangeLog 7 Dec 2006 11:34:17 -0000 1.43
+++ libpspp/ChangeLog 8 Dec 2006 22:24:08 -0000 1.44
@@ -1,3 +1,7 @@
+Sat Dec 9 07:19:01 WST 2006 John Darrington <address@hidden>
+
+ * array.c: Removed gratuitous #include
+
Thu Dec 7 20:33:23 WST 2006 John Darrington <address@hidden>
* getl.c getl.h : Changed signature of create function to take a
Index: libpspp/array.c
===================================================================
RCS file: /sources/pspp/pspp/src/libpspp/array.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- libpspp/array.c 25 Nov 2006 02:15:01 -0000 1.8
+++ libpspp/array.c 8 Dec 2006 22:24:08 -0000 1.9
@@ -91,7 +91,6 @@
#include <config.h>
#include "array.h"
-#include <gsl/gsl_rng.h>
#include <limits.h>
#include <stdlib.h>
#include <string.h>
Index: ui/gui/ChangeLog
===================================================================
RCS file: /sources/pspp/pspp/src/ui/gui/ChangeLog,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- ui/gui/ChangeLog 1 Nov 2006 03:25:36 -0000 1.24
+++ ui/gui/ChangeLog 8 Dec 2006 22:24:08 -0000 1.25
@@ -1,3 +1,7 @@
+Sat Dec 9 07:19:53 WST 2006 John Darrington <address@hidden>
+
+ * syntax-editor.c : New file.
+
Tue Oct 31 19:25:31 2006 Ben Pfaff <address@hidden>
* var-type-dialog.c: Add missing "#include <config.h>".
Index: ui/gui/syntax-editor.c
===================================================================
RCS file: /sources/pspp/pspp/src/ui/gui/syntax-editor.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ui/gui/syntax-editor.c 7 Dec 2006 11:10:23 -0000 1.1
+++ ui/gui/syntax-editor.c 8 Dec 2006 22:24:08 -0000 1.2
@@ -81,7 +81,7 @@
GError *err = NULL;
if ( ! save_editor_to_file (se, se->name ? se->name : _("Untitled"),
- err) )
+ &err) )
{
msg (ME, err->message);
g_error_free (err);
Index: ui/terminal/ChangeLog
===================================================================
RCS file: /sources/pspp/pspp/src/ui/terminal/ChangeLog,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- ui/terminal/ChangeLog 3 Dec 2006 22:16:46 -0000 1.17
+++ ui/terminal/ChangeLog 8 Dec 2006 22:24:08 -0000 1.18
@@ -1,3 +1,7 @@
+Sat Dec 9 07:21:02 WST 2006 John Darrington <address@hidden>
+
+ * msg-ui.c (msg_ui_done): call msg_locator_done.
+
Sun Dec 3 11:57:00 2006 Ben Pfaff <address@hidden>
* read-line.c (read_interactive): Always read GETL_INTERACTIVE
Index: ui/terminal/msg-ui.c
===================================================================
RCS file: /sources/pspp/pspp/src/ui/terminal/msg-ui.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- ui/terminal/msg-ui.c 5 Dec 2006 11:27:42 -0000 1.8
+++ ui/terminal/msg-ui.c 8 Dec 2006 22:24:08 -0000 1.9
@@ -76,6 +76,7 @@
msg_ui_done (void)
{
msg_done ();
+ msg_locator_done ();
if ( msg_file ) /* FIXME: do we really want to close stdout ?? */
fclose (msg_file);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-cvs] pspp/src data/ChangeLog data/value-labels.c lib...,
John Darrington <=