diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2003-02-04 14:56:31 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2003-02-04 14:56:31 +0000 |
commit | 177c0ea74342272645959b82cf219faa0b3dba16 (patch) | |
tree | 44e22b210a9904eab25a66d12e708804b671df75 /admin | |
parent | db95369be096960245dd38678f68464627698678 (diff) | |
download | emacs-177c0ea74342272645959b82cf219faa0b3dba16.tar.gz |
Trailing whitespace deleted.
Diffstat (limited to 'admin')
-rw-r--r-- | admin/alloc-colors.c | 4 | ||||
-rwxr-xr-x | admin/build-configs | 4 | ||||
-rw-r--r-- | admin/emacs-pretesters | 16 | ||||
-rwxr-xr-x | admin/make-emacs | 6 | ||||
-rw-r--r-- | admin/nt/README-ftp-server | 4 | ||||
-rwxr-xr-x | admin/revdiff | 28 |
6 files changed, 31 insertions, 31 deletions
diff --git a/admin/alloc-colors.c b/admin/alloc-colors.c index d293007bb7b..4be2038ef1c 100644 --- a/admin/alloc-colors.c +++ b/admin/alloc-colors.c @@ -60,7 +60,7 @@ main (int argc, char **argv) case 'n': ncolors = atoi (optarg); break; - + case '?': usage (argv[0]); } @@ -98,7 +98,7 @@ main (int argc, char **argv) ++nallocated; } } - + ++color.red; ++color.green; ++color.blue; diff --git a/admin/build-configs b/admin/build-configs index 5827276bf5e..06ea9cb2875 100755 --- a/admin/build-configs +++ b/admin/build-configs @@ -80,14 +80,14 @@ foreach $config (@configs) unlink "config.cache"; $rc = system ("$root/configure $configure_options >>$log 2>&1"); - if ($rc != 0) + if ($rc != 0) { print "configure failed\n"; exit 1; } $rc = system ("make-emacs --all $make_options >>$log 2>&1"); - if ($rc != 0) + if ($rc != 0) { print "Make failed\n"; exit 1; diff --git a/admin/emacs-pretesters b/admin/emacs-pretesters index 05ce8f40bde..10ab3fd0da6 100644 --- a/admin/emacs-pretesters +++ b/admin/emacs-pretesters @@ -173,7 +173,7 @@ of function calling. By printing the remaining elements of args, you can see the argument values. Here's how to print the first argument: - + p args[1] pr @@ -194,7 +194,7 @@ First, use these commands: cd src gdb emacs b xmenu.c:1209 - r -q + r -q Then type C-x 5 2 to create a new frame, and it hits the breakpoint: @@ -207,9 +207,9 @@ Then type C-x 5 2 to create a new frame, and it hits the breakpoint: $2 = (struct frame *) 0x3f0800 (gdb) p *$ $3 = { - size = 536871989, - next = 0x366240, - name = 809661752, + size = 536871989, + next = 0x366240, + name = 809661752, [...] } (gdb) p $3->name @@ -258,7 +258,7 @@ this vector. `recent_keys' is updated in keyboard.c by the command XVECTOR (recent_keys)->contents[recent_keys_index] = c; So we define a GDB command `xvector-elts', so the last 10 keystrokes -are printed by +are printed by xvector-elts recent_keys recent_keys_index 10 @@ -270,7 +270,7 @@ where you can define xvector-elts as follows: xvector set $foo = $ while $i < $arg2 - p $foo->contents[$arg1-($i++)] + p $foo->contents[$arg1-($i++)] pr end document xvector-elts @@ -339,7 +339,7 @@ configure makes a mistake. But note that config.cache reads: # Giving --cache-file=/dev/null disables caching, for debugging configure. -or more simply, +or more simply, rm config.cache ./configure diff --git a/admin/make-emacs b/admin/make-emacs index ac9d9d763d2..fa7310ce94d 100755 --- a/admin/make-emacs +++ b/admin/make-emacs @@ -111,7 +111,7 @@ if (@ARGV && $ARGV[0] eq "all") system ("$make clean versionclean") if $all; -if ($wall) +if ($wall) { $warn = "-Wall"; } @@ -125,14 +125,14 @@ $defs = "-DGLYPH_DEBUG=1" unless $optim; $defs = "$defs -DGC_CHECK_MARKED_OBJECTS=1" if $check_marked; $defs = "$defs -DENABLE_CHECKING=1" if $enable_checking; -if ($profile) +if ($profile) { $opts = "-pg"; $defs = "$defs -DPROFILING=1"; } else { - if ($use_stabs) + if ($use_stabs) { $opts = "-gstabs"; } diff --git a/admin/nt/README-ftp-server b/admin/nt/README-ftp-server index 29f8e36d340..20b8e9f87cf 100644 --- a/admin/nt/README-ftp-server +++ b/admin/nt/README-ftp-server @@ -4,7 +4,7 @@ Version 20.7 June 13, 2000 - + This directory contains source and precompiled distributions for GNU Emacs on Windows NT and Windows 95/98/2000. This port is a part of the standard GNU Emacs distribution from the Free Software Foundation; @@ -116,7 +116,7 @@ * Unpacking distributions Programs for handling the distribution file formats can be found in - the utilities directory: + the utilities directory: ftp://ftp.gnu.org/gnu/windows/emacs/utilities diff --git a/admin/revdiff b/admin/revdiff index f145da19c4a..416c572d196 100755 --- a/admin/revdiff +++ b/admin/revdiff @@ -21,11 +21,11 @@ use File::Basename; -if (@ARGV < 3) +if (@ARGV < 3) { print <<USAGE; revdiff FILE OLD NEW - + Get a diff of FILE between revisions OLD and NEW. Store the diff in a file named FILE-OLD-NEW.diff. @@ -48,7 +48,7 @@ USAGE $file = shift @ARGV; $old = shift @ARGV; -sub diffit +sub diffit { my ($old, $new) = @_; print "cvs diff -r$old -r$new $file >$file-$old-$new.diff\n"; @@ -64,9 +64,9 @@ sub current_revision ($) die "Can't find $entries" unless -f $entries; open (IN, "<$entries") or die "Cannot open $entries"; my $rev; - while ($line = <IN>) + while ($line = <IN>) { - if ($line =~ m,/$base/([^/]+),) + if ($line =~ m,/$base/([^/]+),) { $rev = $1; break; @@ -81,7 +81,7 @@ if ($old eq "-") { $old = current_revision ($file); } -elsif ($old =~ /^-(\d+)$/) +elsif ($old =~ /^-(\d+)$/) { my $offset = $1; $old = current_revision ($file); @@ -90,15 +90,15 @@ elsif ($old =~ /^-(\d+)$/) $old = sprintf ("%d.%d", $1, $minor); } -while (@ARGV) +while (@ARGV) { my $new = shift @ARGV; if ($new =~ /^[+]\d+$/) { my $n = $new; - for ($i = 0; $i < $n; ++$i) + for ($i = 0; $i < $n; ++$i) { - unless ($old =~ /(.*)\.(\d+)$/) + unless ($old =~ /(.*)\.(\d+)$/) { die "Internal error"; } @@ -107,13 +107,13 @@ while (@ARGV) diffit ($old, $new); $old = $new; } - } - elsif ($new =~ /^[-]\d+$/) + } + elsif ($new =~ /^[-]\d+$/) { my $n = - $new; - for ($i = 0; $i < $n; ++$i) + for ($i = 0; $i < $n; ++$i) { - unless ($old =~ /(.*)\.(\d+)$/) + unless ($old =~ /(.*)\.(\d+)$/) { die "Internal error"; } @@ -123,7 +123,7 @@ while (@ARGV) $old = $new; } } - else + else { diffit ($old, $new); $old = $new; |