projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AUTORECODE: Avoid use-after-free error with TEMPORARY.
[pspp]
/
src
/
language
/
expressions
/
parse.c
diff --git
a/src/language/expressions/parse.c
b/src/language/expressions/parse.c
index 24380e28192f3c22274522db12db8f5d401ea32a..7b845a8d369ebf6da4b736db7c7028cc1ad9814b 100644
(file)
--- a/
src/language/expressions/parse.c
+++ b/
src/language/expressions/parse.c
@@
-39,6
+39,7
@@
#include "libpspp/pool.h"
#include "libpspp/str.h"
#include "libpspp/pool.h"
#include "libpspp/str.h"
+#include "gl/c-strcase.h"
#include "gl/xalloc.h"
\f
/* Declarations. */
#include "gl/xalloc.h"
\f
/* Declarations. */
@@
-1006,7
+1007,7
@@
compare_names (const char *test, const char *name, bool abbrev_ok)
static int
compare_strings (const char *test, const char *name, bool abbrev_ok UNUSED)
{
static int
compare_strings (const char *test, const char *name, bool abbrev_ok UNUSED)
{
- return strcasecmp (test, name);
+ return
c_
strcasecmp (test, name);
}
static bool
}
static bool