mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Whitespace tweaks for utils.
This commit is contained in:
parent
58de6f0033
commit
eb602d5a5f
@ -1,3 +1,8 @@
|
|||||||
|
2009-01-23 Steven Schubiger <stsc@members.fsf.org>
|
||||||
|
|
||||||
|
* util/freeopts, util/rmold.pl, util/trunc.c: Remove
|
||||||
|
unnecessary whitespace.
|
||||||
|
|
||||||
2008-11-10 Micah Cowan <micah@cowan.name>
|
2008-11-10 Micah Cowan <micah@cowan.name>
|
||||||
|
|
||||||
* MAILING-LIST: Mention Gmane, introduce subsections.
|
* MAILING-LIST: Mention Gmane, introduce subsections.
|
||||||
|
@ -28,7 +28,7 @@ elsif (
|
|||||||
END {
|
END {
|
||||||
my $cols = 0;
|
my $cols = 0;
|
||||||
my $max_cols = 13;
|
my $max_cols = 13;
|
||||||
my $opt_chars =
|
my $opt_chars =
|
||||||
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
||||||
print "Free chars:\n\t";
|
print "Free chars:\n\t";
|
||||||
for (my $i = 0; $i < length $opt_chars; ++$i, ++$cols) {
|
for (my $i = 0; $i < length $opt_chars; ++$i, ++$cols) {
|
||||||
|
@ -45,7 +45,7 @@ sub procdir
|
|||||||
local(@lcfiles, @lcdirs, %files, @fl);
|
local(@lcfiles, @lcdirs, %files, @fl);
|
||||||
|
|
||||||
print STDERR "Processing directory '$dir':\n" if $verbose;
|
print STDERR "Processing directory '$dir':\n" if $verbose;
|
||||||
|
|
||||||
opendir(DH, $dir) || die("Cannot open $dir: $!\n");
|
opendir(DH, $dir) || die("Cannot open $dir: $!\n");
|
||||||
@lcfiles = ();
|
@lcfiles = ();
|
||||||
@lcdirs = ();
|
@lcdirs = ();
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (C) 2008 Micah J. Cowan
|
* 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
|
* are permitted in any medium without royalty provided the copyright
|
||||||
* notice and this notice are preserved. */
|
* notice and this notice are preserved. */
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ get_size (const char str[])
|
|||||||
{
|
{
|
||||||
val *= 1024 * 1024;
|
val *= 1024 * 1024;
|
||||||
}
|
}
|
||||||
|
|
||||||
return val;
|
return val;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user