From e850a37743edb8035b15c4ed313a2b8fdafdc696 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 14 Jun 2007 14:21:23 +0000 Subject: [PATCH] Use xmalloca instead of xallocsa due to module renaming. Update all uses. --- ChangeLog | 5 +++++ Smake | 2 +- src/ui/gui/psppire-case-file.c | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2bfa3441..ccb1e5b4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-06-14 Ben Pfaff + + * Smake: Use xmalloca instead of xallocsa due to module renaming. + Update all uses. + 2007-06-06 Ben Pfaff * Smake: Add xallocsa to modules. diff --git a/Smake b/Smake index 902591c6..1709a192 100644 --- a/Smake +++ b/Smake @@ -62,7 +62,7 @@ GNULIB_MODULES = \ vsnprintf \ xalloc \ xalloc-die \ - xallocsa \ + xmalloca \ xsize \ xstrndup \ xvasprintf diff --git a/src/ui/gui/psppire-case-file.c b/src/ui/gui/psppire-case-file.c index ee31c013..15626633 100644 --- a/src/ui/gui/psppire-case-file.c +++ b/src/ui/gui/psppire-case-file.c @@ -32,7 +32,7 @@ #include #include "xalloc.h" -#include "xallocsa.h" +#include "xmalloca.h" /* --- prototypes --- */ static void psppire_case_file_class_init (PsppireCaseFileClass *class); @@ -312,7 +312,7 @@ psppire_case_file_data_in (PsppireCaseFile *cf, gint casenum, gint idx, 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)); -- 2.30.2