X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Flanguage%2Fstats%2Fsort-cases.c;h=4cf1f9fd977b0b0241eff961c6717e9f4ab7a644;hb=2a802b79f217dfa51749c1f2b594c061b5d85120;hp=913718f476dc54ff6a60892e7e39b6ea3dd1bb5a;hpb=92c09e564002d356d20fc1e2e131027ef89f6748;p=pspp-builds.git
diff --git a/src/language/stats/sort-cases.c b/src/language/stats/sort-cases.c
index 913718f4..4cf1f9fd 100644
--- a/src/language/stats/sort-cases.c
+++ b/src/language/stats/sort-cases.c
@@ -1,20 +1,18 @@
-/* PSPP - computes sample statistics.
+/* PSPP - a program for statistical analysis.
Copyright (C) 1997-9, 2000 Free Software Foundation, Inc.
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License as
- published by the Free Software Foundation; either version 2 of the
- License, or (at your option) any later version.
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
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., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301, USA. */
+ along with this program. If not, see . */
#include
@@ -53,14 +51,14 @@ cmd_sort_cases (struct lexer *lexer, struct dataset *ds)
if (ordering == NULL)
return CMD_CASCADING_FAILURE;
- if (get_testing_mode () && lex_match (lexer, '/'))
+ if (get_testing_mode () && lex_match (lexer, '/'))
{
if (!lex_force_match_id (lexer, "BUFFERS") || !lex_match (lexer, '=')
|| !lex_force_int (lexer))
goto done;
min_buffers = max_buffers = lex_integer (lexer);
- if (max_buffers < 2)
+ if (max_buffers < 2)
{
msg (SE, _("Buffer limit must be at least 2."));
goto done;
@@ -78,7 +76,7 @@ cmd_sort_cases (struct lexer *lexer, struct dataset *ds)
done:
min_buffers = 64;
max_buffers = INT_MAX;
-
+
case_ordering_destroy (ordering);
return ok ? lex_end_of_command (lexer) : CMD_CASCADING_FAILURE;
}