pspp-cvs
[Top][All Lists]
Advanced

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

[Pspp-cvs] pspp ChangeLog Smake src/ui/gui/psppire-case-fi...


From: Ben Pfaff
Subject: [Pspp-cvs] pspp ChangeLog Smake src/ui/gui/psppire-case-fi...
Date: Thu, 14 Jun 2007 14:21:24 +0000

CVSROOT:        /cvsroot/pspp
Module name:    pspp
Changes by:     Ben Pfaff <blp> 07/06/14 14:21:23

Modified files:
        .              : ChangeLog Smake 
        src/ui/gui     : psppire-case-file.c 

Log message:
        Use xmalloca instead of xallocsa due to module renaming.
        Update all uses.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/ChangeLog?cvsroot=pspp&r1=1.77&r2=1.78
http://cvs.savannah.gnu.org/viewcvs/pspp/Smake?cvsroot=pspp&r1=1.59&r2=1.60
http://cvs.savannah.gnu.org/viewcvs/pspp/src/ui/gui/psppire-case-file.c?cvsroot=pspp&r1=1.20&r2=1.21

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/pspp/pspp/ChangeLog,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -b -r1.77 -r1.78
--- ChangeLog   7 Jun 2007 06:41:58 -0000       1.77
+++ ChangeLog   14 Jun 2007 14:21:23 -0000      1.78
@@ -1,3 +1,8 @@
+2007-06-14  Ben Pfaff  <address@hidden>
+
+       * Smake: Use xmalloca instead of xallocsa due to module renaming.
+       Update all uses.
+
 2007-06-06  Ben Pfaff  <address@hidden>
 
        * Smake: Add xallocsa to modules.

Index: Smake
===================================================================
RCS file: /cvsroot/pspp/pspp/Smake,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -b -r1.59 -r1.60
--- Smake       7 Jun 2007 06:41:59 -0000       1.59
+++ Smake       14 Jun 2007 14:21:23 -0000      1.60
@@ -62,7 +62,7 @@
        vsnprintf \
        xalloc \
        xalloc-die \
-       xallocsa \
+       xmalloca \
        xsize \
        xstrndup \
        xvasprintf

Index: src/ui/gui/psppire-case-file.c
===================================================================
RCS file: /cvsroot/pspp/pspp/src/ui/gui/psppire-case-file.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- src/ui/gui/psppire-case-file.c      12 Jun 2007 01:59:00 -0000      1.20
+++ src/ui/gui/psppire-case-file.c      14 Jun 2007 14:21:23 -0000      1.21
@@ -32,7 +32,7 @@
 #include <libpspp/misc.h>
 
 #include "xalloc.h"
-#include "xallocsa.h"
+#include "xmalloca.h"
 
 /* --- prototypes --- */
 static void psppire_case_file_class_init       (PsppireCaseFileClass   *class);
@@ -312,7 +312,7 @@
   g_return_val_if_fail (idx < datasheet_get_column_cnt (cf->datasheet), FALSE);
 
   width = fmt_var_width (fmt);
-  value = xallocsa (value_cnt_from_width (width) * sizeof *value);
+  value = xmalloca (value_cnt_from_width (width) * sizeof *value);
   ok = (datasheet_get_value (cf->datasheet, casenum, idx, value, width)
         && data_in (input, fmt->type, 0, 0, value, width)
         && datasheet_put_value (cf->datasheet, casenum, idx, value, width));




reply via email to

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