summaryrefslogtreecommitdiff
path: root/check-FIXME.pl
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2000-05-16 23:22:55 +0000
committerDarin Adler <darin@src.gnome.org>2000-05-16 23:22:55 +0000
commit6281f2eeac20acfe65182d3ec4855f0fdae0b941 (patch)
tree6631fbd9813343afb20a84780cdd3e2cb90d9a6d /check-FIXME.pl
parent911f8288b9a1c2d43fd652f7bc61a1d0da8f5a9c (diff)
downloadnautilus-6281f2eeac20acfe65182d3ec4855f0fdae0b941.tar.gz
Quick cleanup pass on FIXMEs.
* check-FIXME.pl: Added the count of FIXMEs with bug numbers as well as the count of FIXMEs without. * components/services/trilobite/lib/helixcode-utils.c: (xml_get_value), (prune_xml), (check_for_root_user), (check_for_redhat), (determine_redhat_version), (determine_mandrake_version), (determine_turbolinux_version), (determine_suse_version), (determine_debian_version), (determine_distribution_type), (get_distribution_name): A tiny bit of cleanup on these functions. There was some really bad code in here, including code that compared strings with ==. Also a lot of code that does open and then no close, for no good reason, so I added the close. * libnautilus-extensions/nautilus-file.c: (rename_callback), (nautilus_file_get_mapped_uri): * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_update_icon): * libnautilus-extensions/nautilus-icon-dnd.c: (confirm_switch_to_manual_layout), (nautilus_icon_dnd_begin_drag): * src/file-manager/fm-icon-view.c: (update_layout_menus), (sort_callback), (manual_layout_callback): * src/ntl-view.c: (nautilus_view_destroy_client): Added bug numbers to some FIXMEs.
Diffstat (limited to 'check-FIXME.pl')
-rwxr-xr-xcheck-FIXME.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/check-FIXME.pl b/check-FIXME.pl
index e672a2caa..fbd2428f5 100755
--- a/check-FIXME.pl
+++ b/check-FIXME.pl
@@ -80,7 +80,7 @@ foreach my $file (@ARGV)
if ($no_bug_lines ne "")
{
my @no_bug_list = sort split /\n/, $no_bug_lines;
- print "\n", scalar(@no_bug_list), " FIXMEs don't have bug reports:\n\n";
+ print "\n", scalar(@no_bug_list), " FIXMEs don't have bug numbers:\n\n";
foreach my $line (@no_bug_list)
{
print $line, "\n";
@@ -88,6 +88,7 @@ if ($no_bug_lines ne "")
}
# list the ones with bugs that are not open
+print "\n", scalar(keys %bug_lines), " FIXMEs with bug numbers.\n";
sub numerically { $a <=> $b; }
foreach my $bug (sort numerically keys %bug_lines)
{
@@ -106,3 +107,4 @@ foreach my $bug (sort numerically keys %bug_lines)
print $line, "\n";
}
}
+print "\n";