Changed all the licence notices in all the files.
[pspp] / src / vars-atr.c
index 697518c29a8c35e681f4701768017c7a07e62944..9ed5fcbc4f252b786408fcd12c95b756d6c176a8 100644 (file)
@@ -14,8 +14,8 @@
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-   02111-1307, USA. */
+   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+   02110-1301, USA. */
 
 #include <config.h>
 #include "var.h"
@@ -169,6 +169,7 @@ is_num_user_missing (double x, const struct variable *v)
 inline int
 is_str_user_missing (const unsigned char s[], const struct variable *v)
 {
+  /* FIXME: should these be memcmp()? */
   switch (v->miss_type)
     {
     case MISSING_NONE:
@@ -248,11 +249,11 @@ var_is_valid_name (const char *name, bool issue_error)
         msg (SE, _("Variable names must be at least 1 character long."));
       return false;
     }
-  else if (length > MAX_VAR_NAME_LEN) 
+  else if (length > SHORT_NAME_LEN) 
     {
       if (issue_error)
         msg (SE, _("Variable name %s exceeds %d-character limit."),
-             (int) MAX_VAR_NAME_LEN);
+             (int) SHORT_NAME_LEN);
       return false;
     }