projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lex_get_text_buffer_read: Avoid potential buffer overflow.
[pspp]
/
src
/
language
/
data-io
/
trim.c
diff --git
a/src/language/data-io/trim.c
b/src/language/data-io/trim.c
index 63041f25f10465dde398a80b863a9d46bf186340..947a7524a84eaa9d00773d9ff8af440b49910351 100644
(file)
--- a/
src/language/data-io/trim.c
+++ b/
src/language/data-io/trim.c
@@
-112,7
+112,7
@@
parse_dict_rename (struct lexer *lexer, struct dictionary *dict)
goto done;
if (!lex_match (lexer, T_EQUALS))
{
-
msg (SE, _("`=' expected after variable list.")
);
+
lex_error_expecting (lexer, "`='", NULL_SENTINEL
);
goto done;
}
if (!parse_DATA_LIST_vars (lexer, dict, &new_names, &nn,