[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] Changes to pspp/src/dictionary.c
From: |
John Darrington |
Subject: |
[Pspp-cvs] Changes to pspp/src/dictionary.c |
Date: |
Mon, 24 Oct 2005 01:41:48 -0400 |
Index: pspp/src/dictionary.c
diff -u pspp/src/dictionary.c:1.29 pspp/src/dictionary.c:1.30
--- pspp/src/dictionary.c:1.29 Mon Oct 24 02:51:32 2005
+++ pspp/src/dictionary.c Mon Oct 24 05:41:45 2005
@@ -260,10 +260,9 @@
assert (d != NULL);
assert (name != NULL);
- assert (strlen (name) >= 1);
- assert (strlen (name) <= LONG_NAME_LEN);
-
assert (width >= 0 && width < 256);
+
+ assert (var_is_valid_name(name,0));
/* Make sure there's not already a variable by that name. */
if (dict_lookup_var (d, name) != NULL)