From eb602d5a5f0acb521a53b59b021f1f4dbc5c3bd7 Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Fri, 23 Jan 2009 22:09:48 +0100 Subject: [PATCH] Whitespace tweaks for utils. --- ChangeLog | 5 +++++ util/freeopts | 2 +- util/rmold.pl | 2 +- util/trunc.c | 4 ++-- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index ac384a49..38b14ba4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-01-23 Steven Schubiger + + * util/freeopts, util/rmold.pl, util/trunc.c: Remove + unnecessary whitespace. + 2008-11-10 Micah Cowan * MAILING-LIST: Mention Gmane, introduce subsections. diff --git a/util/freeopts b/util/freeopts index 75f594a1..ce43a02d 100755 --- a/util/freeopts +++ b/util/freeopts @@ -28,7 +28,7 @@ elsif ( END { my $cols = 0; my $max_cols = 13; - my $opt_chars = + my $opt_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; print "Free chars:\n\t"; for (my $i = 0; $i < length $opt_chars; ++$i, ++$cols) { diff --git a/util/rmold.pl b/util/rmold.pl index f08deac1..c227e2c0 100755 --- a/util/rmold.pl +++ b/util/rmold.pl @@ -45,7 +45,7 @@ sub procdir local(@lcfiles, @lcdirs, %files, @fl); print STDERR "Processing directory '$dir':\n" if $verbose; - + opendir(DH, $dir) || die("Cannot open $dir: $!\n"); @lcfiles = (); @lcdirs = (); diff --git a/util/trunc.c b/util/trunc.c index fb52ec25..55cb19d3 100644 --- a/util/trunc.c +++ b/util/trunc.c @@ -3,7 +3,7 @@ * * Copyright (C) 2008 Micah J. Cowan * - * Copying and distribution of this file, with or without modification, + * Copying and distribution of this file, with or without modification, * are permitted in any medium without royalty provided the copyright * notice and this notice are preserved. */ @@ -62,7 +62,7 @@ get_size (const char str[]) { val *= 1024 * 1024; } - + return val; }