projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed "Written by..." line
[pspp]
/
src
/
ui
/
flexifile.c
diff --git
a/src/ui/flexifile.c
b/src/ui/flexifile.c
index 5d06f87621376c615ce15c42f38fd2723eadb528..60b43ba88658654aa127d2a2c12def8a91ea78c4 100644
(file)
--- a/
src/ui/flexifile.c
+++ b/
src/ui/flexifile.c
@@
-1,7
+1,6
@@
/* PSPP - computes sample statistics.
Copyright (C) 2006 Free Software Foundation, Inc.
/* PSPP - computes sample statistics.
Copyright (C) 2006 Free Software Foundation, Inc.
- Written by John Darrington <john@darrington.wattle.id.au>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@
-22,6
+21,7
@@
#include <xalloc.h>
#include <assert.h>
#include "flexifile.h"
#include <xalloc.h>
#include <assert.h>
#include "flexifile.h"
+#include <string.h>
#include <data/casefile.h>
#include <data/casefile-private.h>
#include <data/case.h>
#include <data/casefile.h>
#include <data/casefile-private.h>
#include <data/case.h>
@@
-330,7
+330,7
@@
impl_resize (struct flexifile *ff, int n_values, int posn)
case_copy (&c, 0, &ff->cases[i], 0, posn);
if ( n_values > 0 )
case_copy (&c, 0, &ff->cases[i], 0, posn);
if ( n_values > 0 )
- memset (case_data_rw(&c, posn), ' ', n_values * MAX_SHORT_STRING) ;
+ memset (case_data_rw
_idx
(&c, posn), ' ', n_values * MAX_SHORT_STRING) ;
case_copy (&c, posn + n_values,
&ff->cases[i], posn, ff->value_cnt - posn);
case_copy (&c, posn + n_values,
&ff->cases[i], posn, ff->value_cnt - posn);