projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get rid of capacity argument to ds_init() and update all callers.
[pspp]
/
src
/
data
/
data-in.c
diff --git
a/src/data/data-in.c
b/src/data/data-in.c
index 45b20a0cede3e93e5173a56073096273b4e64fab..4e2e8fcbfb867a249d4152386b21d4a293bc7f61 100644
(file)
--- a/
src/data/data-in.c
+++ b/
src/data/data-in.c
@@
-54,7
+54,7
@@
vdls_error (const struct data_in *i, const char *format, va_list args)
if (i->flags & DI_IGNORE_ERROR)
return;
if (i->flags & DI_IGNORE_ERROR)
return;
- ds_init (&text
, 64
);
+ ds_init (&text);
if (i->f1 == i->f2)
ds_printf (&text, _("(column %d"), i->f1);
else
if (i->f1 == i->f2)
ds_printf (&text, _("(column %d"), i->f1);
else
@@
-568,10
+568,12
@@
parse_RB (struct data_in *i)
return true;
}
return true;
}
+
static inline bool
parse_A (struct data_in *i)
{
buf_copy_rpad (i->v->s, i->format.w, i->s, i->e - i->s);
static inline bool
parse_A (struct data_in *i)
{
buf_copy_rpad (i->v->s, i->format.w, i->s, i->e - i->s);
+
return true;
}
return true;
}