From: Ben Pfaff Date: Thu, 2 Nov 2006 04:51:41 +0000 (+0000) Subject: * sys-file-info.c: (cmd_display) Use compare_var_ptr_names to X-Git-Tag: v0.6.0~707 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=799e56c0e3a9911a860607e1c07caf2acf8cc9ef;p=pspp-builds.git * sys-file-info.c: (cmd_display) Use compare_var_ptr_names to compare "struct variable **"s, not compare_var_names. Fixes bug #17423. --- diff --git a/src/language/dictionary/ChangeLog b/src/language/dictionary/ChangeLog index 407a92e6..726c6547 100644 --- a/src/language/dictionary/ChangeLog +++ b/src/language/dictionary/ChangeLog @@ -1,3 +1,9 @@ +Wed Nov 1 20:50:54 2006 Ben Pfaff + + * sys-file-info.c: (cmd_display) Use compare_var_ptr_names to + compare "struct variable **"s, not compare_var_names. Fixes bug + #17423. + Sat May 6 19:03:34 2006 Ben Pfaff * apply-dictionary.c: (cmd_apply_dictionary) Use new function diff --git a/src/language/dictionary/sys-file-info.c b/src/language/dictionary/sys-file-info.c index b2e016ae..5425e688 100644 --- a/src/language/dictionary/sys-file-info.c +++ b/src/language/dictionary/sys-file-info.c @@ -271,7 +271,7 @@ cmd_display (struct dataset *ds) } if (sorted) - sort (vl, n, sizeof *vl, compare_var_names, NULL); + sort (vl, n, sizeof *vl, compare_var_ptr_names, NULL); display_variables (vl, n, as);