projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79e615c
)
Fix PR 13192.
author
Ben Pfaff
<blp@gnu.org>
Thu, 26 May 2005 19:31:41 +0000
(19:31 +0000)
committer
Ben Pfaff
<blp@gnu.org>
Thu, 26 May 2005 19:31:41 +0000
(19:31 +0000)
src/ChangeLog
patch
|
blob
|
history
src/sort.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 9667a24e1fef5c20ac5c3e8caf3bede7304d3ff7..18c7c1fe4061eda294b17da2897a0a130b4a9a01 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,11
@@
+Thu May 26 12:29:21 2005 Ben Pfaff <blp@gnu.org>
+
+ Fix PR 13192.
+
+ * sort.c: (sort_parse_criteria) Only set *saw_direction if
+ saw_direction is non-null. Thanks to John Darrington for
+ reporting this bug.
+
Tue May 24 21:52:55 2005 Ben Pfaff <blp@gnu.org>
* get.c: (mtf_processing) Handle case of a lookup table as the
diff --git
a/src/sort.c
b/src/sort.c
index 11139868e3708f991e93ee57d8991cb99a90285b..a16055f971725953ade58241b1f8f8ea67e30bb9 100644
(file)
--- a/
src/sort.c
+++ b/
src/sort.c
@@
-226,7
+226,8
@@
sort_parse_criteria (const struct dictionary *dict,
msg (SE, _("`)' expected."));
goto error;
}
- *saw_direction = true;
+ if (saw_direction != NULL)
+ *saw_direction = true;
}
else
direction = SRT_ASCEND;