pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] pspp acinclude.m4 configure.ac po/de.po po/en_G...


From: John Darrington
Subject: [Pspp-cvs] pspp acinclude.m4 configure.ac po/de.po po/en_G...
Date: Wed, 20 Feb 2008 04:43:38 +0000

CVSROOT:        /sources/pspp
Module name:    pspp
Changes by:     John Darrington <jmd>   08/02/20 04:43:38

Modified files:
        .              : acinclude.m4 configure.ac 
        po             : de.po en_GB.po 
        src/ui/gui     : helper.c main.c 

Log message:
        Fixed some problems reported by autoconf -Wall
        Plugged some memory leaks.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/acinclude.m4?cvsroot=pspp&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/pspp/configure.ac?cvsroot=pspp&r1=1.75&r2=1.76
http://cvs.savannah.gnu.org/viewcvs/pspp/po/de.po?cvsroot=pspp&r1=1.96&r2=1.97
http://cvs.savannah.gnu.org/viewcvs/pspp/po/en_GB.po?cvsroot=pspp&r1=1.112&r2=1.113
http://cvs.savannah.gnu.org/viewcvs/pspp/src/ui/gui/helper.c?cvsroot=pspp&r1=1.33&r2=1.34
http://cvs.savannah.gnu.org/viewcvs/pspp/src/ui/gui/main.c?cvsroot=pspp&r1=1.6&r2=1.7

Patches:
Index: acinclude.m4
===================================================================
RCS file: /sources/pspp/pspp/acinclude.m4,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- acinclude.m4        13 Oct 2007 04:40:07 -0000      1.15
+++ acinclude.m4        20 Feb 2008 04:43:37 -0000      1.16
@@ -103,7 +103,7 @@
 
   dnl Add $INCREADLINE to CPPFLAGS before performing the following checks,
   dnl because if the user has installed libreadline and not disabled its use
-  dnl via --without-libreadline-prefix, he wants to use it. The AC_TRY_LINK
+  dnl via --without-libreadline-prefix, he wants to use it. The AC_LINK_IFELSE
   dnl will then succeed.
   am_save_CPPFLAGS="$CPPFLAGS"
   AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCREADLINE $INCHISTORY])
@@ -121,11 +121,9 @@
       if test -n "$extra_lib"; then
         LIBS="$LIBS -l$extra_lib"
       fi
-      AC_TRY_LINK([#include <stdio.h>
+      AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>
 #include <readline/readline.h>
-#include <readline/history.h>],
-        [readline((char*)0); add_history((char*)0);],
-        gl_cv_lib_readline=yes)
+#include <readline/history.h>]], [[readline((char*)0); 
add_history((char*)0);]])],[gl_cv_lib_readline=yes],[])
       if test "$gl_cv_lib_readline" = yes; then
         if test -n "$extra_lib"; then
           LIBREADLINE="$LIBREADLINE $LIBHISTORY -l$extra_lib"

Index: configure.ac
===================================================================
RCS file: /sources/pspp/pspp/configure.ac,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -b -r1.75 -r1.76
--- configure.ac        19 Feb 2008 00:35:20 -0000      1.75
+++ configure.ac        20 Feb 2008 04:43:37 -0000      1.76
@@ -2,7 +2,7 @@
 
 dnl Initialize.
 AX_PREREQ(2.60)
-AC_INIT(pspp, 0.4.3,address@hidden)
+AC_INIT([pspp],[0.4.3],address@hidden)
 AC_CONFIG_HEADERS([config.h])
 AM_INIT_AUTOMAKE
 

Index: po/de.po
===================================================================
RCS file: /sources/pspp/pspp/po/de.po,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -b -r1.96 -r1.97
--- po/de.po    20 Feb 2008 00:26:20 -0000      1.96
+++ po/de.po    20 Feb 2008 04:43:37 -0000      1.97
@@ -10,7 +10,7 @@
 msgstr ""
 "Project-Id-Version: PSPP 0.4.3\n"
 "Report-Msgid-Bugs-To: address@hidden"
-"POT-Creation-Date: 2008-02-20 09:20+0900\n"
+"POT-Creation-Date: 2008-02-20 13:21+0900\n"
 "PO-Revision-Date: 2006-07-28 19:32+0800\n"
 "Last-Translator: John Darrington <address@hidden>\n"
 "Language-Team: German <address@hidden>\n"
@@ -5432,7 +5432,7 @@
 msgid "Sorry. The help system hasn't yet been implemented."
 msgstr "Es gibt noch nicht kein Helpsysteme. Schade!"
 
-#: src/ui/gui/helper.c:162
+#: src/ui/gui/helper.c:164
 #, c-format
 msgid "Cannot open reference manual: %s"
 msgstr ""

Index: po/en_GB.po
===================================================================
RCS file: /sources/pspp/pspp/po/en_GB.po,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -b -r1.112 -r1.113
--- po/en_GB.po 20 Feb 2008 00:26:20 -0000      1.112
+++ po/en_GB.po 20 Feb 2008 04:43:37 -0000      1.113
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: PSPP 0.4.3\n"
 "Report-Msgid-Bugs-To: address@hidden"
-"POT-Creation-Date: 2008-02-20 09:20+0900\n"
+"POT-Creation-Date: 2008-02-20 13:21+0900\n"
 "PO-Revision-Date: 2007-09-15 08:29+0800\n"
 "Last-Translator: John Darrington <address@hidden>\n"
 "Language-Team: John Darrington <address@hidden>\n"
@@ -5377,7 +5377,7 @@
 msgid "Sorry. The help system hasn't yet been implemented."
 msgstr ""
 
-#: src/ui/gui/helper.c:162
+#: src/ui/gui/helper.c:164
 #, c-format
 msgid "Cannot open reference manual: %s"
 msgstr ""

Index: src/ui/gui/helper.c
===================================================================
RCS file: /sources/pspp/pspp/src/ui/gui/helper.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- src/ui/gui/helper.c 10 Feb 2008 08:17:50 -0000      1.33
+++ src/ui/gui/helper.c 20 Feb 2008 04:43:37 -0000      1.34
@@ -149,6 +149,8 @@
   GList *i;
   for ( i = g_list_first (helps); i ; i = g_list_next (i))
     g_signal_connect (GTK_WIDGET (i->data), "clicked", give_help, 0);
+
+  g_list_free (helps);
 }
 
 

Index: src/ui/gui/main.c
===================================================================
RCS file: /sources/pspp/pspp/src/ui/gui/main.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- src/ui/gui/main.c   20 Feb 2008 00:26:20 -0000      1.6
+++ src/ui/gui/main.c   20 Feb 2008 04:43:38 -0000      1.7
@@ -58,7 +58,7 @@
 hide_splash_window (gpointer data)
 {
   GtkWidget *splash = data;
-  gtk_widget_hide (splash);
+  gtk_widget_destroy (splash);
   gtk_window_set_auto_startup_notification (TRUE);
   return FALSE;
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]