From: Ben Pfaff Date: Thu, 14 Jun 2007 14:21:23 +0000 (+0000) Subject: Use xmalloca instead of xallocsa due to module renaming. X-Git-Tag: v0.6.0~428 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e850a37743edb8035b15c4ed313a2b8fdafdc696;p=pspp-builds.git Use xmalloca instead of xallocsa due to module renaming. Update all uses. --- 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));