projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: Fix unintended platform dependency in portable file test.
[pspp]
/
src
/
language
/
data-io
/
placement-parser.c
diff --git
a/src/language/data-io/placement-parser.c
b/src/language/data-io/placement-parser.c
index 549ac7501e73d3f804d82f97de5c4797d3de612e..ca6f491ee0b7727002523ddf451a18625481c5e2 100644
(file)
--- a/
src/language/data-io/placement-parser.c
+++ b/
src/language/data-io/placement-parser.c
@@
-27,6
+27,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"
#include "gl/xsize.h"
#include "gl/xalloc.h"
#include "gl/xsize.h"
@@
-220,9
+221,9
@@
fixed_parse_fortran (struct lexer *lexer, struct pool *pool, enum fmt_use use,
if (!parse_abstract_format_specifier (lexer, type, &f.w, &f.d))
return false;
if (!parse_abstract_format_specifier (lexer, type, &f.w, &f.d))
return false;
- if (!strcasecmp (type, "T"))
+ if (!
c_
strcasecmp (type, "T"))
f.type = PRS_TYPE_T;
f.type = PRS_TYPE_T;
- else if (!strcasecmp (type, "X"))
+ else if (!
c_
strcasecmp (type, "X"))
{
f.type = PRS_TYPE_X;
f.w = count;
{
f.type = PRS_TYPE_X;
f.w = count;
@@
-298,7
+299,7
@@
execute_placement_format (const struct fmt_spec *format,
}
}
}
}
-bool
+
static
bool
parse_column__ (int value, int base, int *column)
{
assert (base == 0 || base == 1);
parse_column__ (int value, int base, int *column)
{
assert (base == 0 || base == 1);