From: John Darrington Date: Tue, 14 Aug 2007 06:22:38 +0000 (+0000) Subject: Avoid assertion failure pasting from a dictionary with foreign encoding. X-Git-Tag: v0.6.0~307 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51b0b4e017ccaa3a72000265080122a8db616992;p=pspp-builds.git Avoid assertion failure pasting from a dictionary with foreign encoding. --- diff --git a/src/data/dictionary.c b/src/data/dictionary.c index f3c76c6e..155d4bf4 100644 --- a/src/data/dictionary.c +++ b/src/data/dictionary.c @@ -386,7 +386,7 @@ dict_lookup_var (const struct dictionary *d, const char *name) struct variable *target ; struct variable *result ; - if ( ! var_is_valid_name (name, false)) + if ( ! var_is_plausible_name (name, false)) return NULL; target = var_create (name, 0);