projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed all the licence notices in all the files.
[pspp-builds.git]
/
src
/
modify-vars.c
diff --git
a/src/modify-vars.c
b/src/modify-vars.c
index 46fe644d105b7bd0c7520449e4ff415606ce8eb3..265160f712754bf38ee04fb3b7f5bba63e82e408 100644
(file)
--- a/
src/modify-vars.c
+++ b/
src/modify-vars.c
@@
-14,16
+14,17
@@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 5
9 Temple Place - Suite 330
, Boston, MA
- 0211
1-1307
, USA. */
+ Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston, MA
+ 0211
0-1301
, USA. */
#include <config.h>
#include <stdlib.h>
#include <config.h>
#include <stdlib.h>
-#include
<assert.h>
+#include
"error.h"
#include "algorithm.h"
#include "alloc.h"
#include "bitvector.h"
#include "command.h"
#include "algorithm.h"
#include "alloc.h"
#include "bitvector.h"
#include "command.h"
+#include "dictionary.h"
#include "error.h"
#include "hash.h"
#include "lexer.h"
#include "error.h"
#include "hash.h"
#include "lexer.h"
@@
-90,9
+91,6
@@
cmd_modify_vars (void)
cancel_temporary ();
}
cancel_temporary ();
}
- lex_match_id ("MODIFY");
- lex_match_id ("VARS");
-
vm.reorder_vars = NULL;
vm.reorder_cnt = 0;
vm.rename_vars = NULL;
vm.reorder_vars = NULL;
vm.reorder_cnt = 0;
vm.rename_vars = NULL;
@@
-360,7
+358,7
@@
compare_variables_given_ordering (const void *a_, const void *b_,
struct var_renaming
{
struct variable *var;
struct var_renaming
{
struct variable *var;
- char new_name[
9
];
+ char new_name[
SHORT_NAME_LEN + 1
];
};
/* A algo_compare_func that compares new_name members in struct
};
/* A algo_compare_func that compares new_name members in struct