Crack down on whitespace badness.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 15 Jun 2013 20:55:42 +0000 (21:55 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 15 Jun 2013 20:55:42 +0000 (21:55 +0100)
Makefile.am
configure.ac
getdate.y
gpl.texi
install-ac
lgpl.tex
lgpl.texi
maninst
texinice.tex

index 39cb00b..ee272b3 100644 (file)
@@ -8,17 +8,17 @@
 ###----- Licensing notice ---------------------------------------------------
 ###
 ### This file is part of the Common Files Distribution (`common')
-### 
+###
 ### `Common' is free software; you can redistribute it and/or modify
 ### it under the terms of the GNU General Public License as published by
 ### the Free Software Foundation; either version 2 of the License, or
 ### (at your option) any later version.
-### 
+###
 ### `Common' is distributed in the hope that it will be useful,
 ### but WITHOUT ANY WARRANTY; without even the implied warranty of
 ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 ### GNU General Public License for more details.
-### 
+###
 ### You should have received a copy of the GNU General Public License
 ### along with `common'; if not, write to the Free Software Foundation,
 ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index 2c11f69..f99af94 100644 (file)
@@ -8,17 +8,17 @@ dnl
 dnl----- Licensing notice ---------------------------------------------------
 dnl
 dnl This file is part of the Common Files Distribution (`common')
-dnl 
+dnl
 dnl `Common' is free software; you can redistribute it and/or modify
 dnl it under the terms of the GNU General Public License as published by
 dnl the Free Software Foundation; either version 2 of the License, or
 dnl (at your option) any later version.
-dnl 
+dnl
 dnl `Common' is distributed in the hope that it will be useful,
 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 dnl GNU General Public License for more details.
-dnl 
+dnl
 dnl You should have received a copy of the GNU General Public License
 dnl along with `common'; if not, write to the Free Software Foundation,
 dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -27,7 +27,7 @@ dnl--------------------------------------------------------------------------
 dnl Initialization.
 
 mdw_AUTO_VERSION
-AC_INIT([Common Files Distribution], AUTO_VERSION, 
+AC_INIT([Common Files Distribution], AUTO_VERSION,
        [mdw@distorted.org.uk], [cfd])
 AC_CONFIG_SRCDIR([mdw-setup])
 AC_CONFIG_AUX_DIR([config])
index a9de991..1a7c788 100644 (file)
--- a/getdate.y
+++ b/getdate.y
@@ -371,7 +371,7 @@ relunit     : tUNUMBER tYEAR_UNIT {
        ;
 
 number : tUNUMBER
-          {
+         {
            if (yyHaveTime && yyHaveDate && !yyHaveRel)
              yyYear = $1;
            else
@@ -393,8 +393,8 @@ number      : tUNUMBER
                      }
                    else
                      {
-                       yyHour = $1 / 100;
-                       yyMinutes = $1 % 100;
+                       yyHour = $1 / 100;
+                       yyMinutes = $1 % 100;
                      }
                    yySeconds = 0;
                    yyMeridian = MER24;
@@ -924,13 +924,13 @@ get_date (p, now)
     {
 
       /* Guard against falsely reporting errors near the time_t boundaries
-         when parsing times in other time zones.  For example, if the min
-         time_t value is 1970-01-01 00:00:00 UTC and we are 8 hours ahead
-         of UTC, then the min localtime value is 1970-01-01 08:00:00; if
-         we apply mktime to 1970-01-01 00:00:00 we will get an error, so
-         we apply mktime to 1970-01-02 08:00:00 instead and adjust the time
-         zone by 24 hours to compensate.  This algorithm assumes that
-         there is no DST transition within a day of the time_t boundaries.  */
+        when parsing times in other time zones.  For example, if the min
+        time_t value is 1970-01-01 00:00:00 UTC and we are 8 hours ahead
+        of UTC, then the min localtime value is 1970-01-01 08:00:00; if
+        we apply mktime to 1970-01-01 00:00:00 we will get an error, so
+        we apply mktime to 1970-01-02 08:00:00 instead and adjust the time
+        zone by 24 hours to compensate.  This algorithm assumes that
+        there is no DST transition within a day of the time_t boundaries.  */
 
 #ifndef GETDATE_IGNORE_TIMEZONE
       if (yyHaveZone)
index 319d5d4..5d0c579 100644 (file)
--- a/gpl.texi
+++ b/gpl.texi
@@ -358,7 +358,7 @@ when it starts in an interactive mode:
 Gnomovision version 69, Copyright (C) 19@var{yy} @var{name of author}
 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
 type `show w'.  This is free software, and you are welcome
-to redistribute it under certain conditions; type `show c' 
+to redistribute it under certain conditions; type `show c'
 for details.
 @end smallexample
 
@@ -376,7 +376,7 @@ necessary.  Here is a sample; alter the names:
 @group
 Yoyodyne, Inc., hereby disclaims all copyright
 interest in the program `Gnomovision'
-(which makes passes at compilers) written 
+(which makes passes at compilers) written
 by James Hacker.
 
 @var{signature of Ty Coon}, 1 April 1989
index 07de7dc..b10dadd 100755 (executable)
@@ -12,10 +12,10 @@ case $mode in
     printf "Uninstalling aclocal fragments... "
     awk -v dir="$dir" '
       /\*@-([a-zA-Z0-9][-a-zA-Z0-9_]*)-@\*/ {
-        out = $0;
-        sub(/^.*\*@-/, "", out);
-        sub(/-@\*.*$/, "", out);
-        system(sprintf("rm %s/%s.m4", dir, out));
+       out = $0;
+       sub(/^.*\*@-/, "", out);
+       sub(/-@\*.*$/, "", out);
+       system(sprintf("rm %s/%s.m4", dir, out));
       }' <"$glob"
     echo "done."
     ;;
@@ -24,30 +24,30 @@ case $mode in
     awk -v dir="$dir" '
       BEGIN { out = ""; delete files; notice = ""}
       /\*@--NOTICE--@\*/ {
-        if (out != "") close(out);
-        out = "NOTICE";
-        notice = $0 "\n";
-        next;
+       if (out != "") close(out);
+       out = "NOTICE";
+       notice = $0 "\n";
+       next;
       }
       /\*@-([a-zA-Z0-9][-a-zA-Z0-9_]*)-@\*/ {
-        if (out != "") close(out);
-        out = $0;
-        sub(/^.*\*@-/, "", out);
-        sub(/-@\*.*$/, "", out);
-        files[out] = 1;
-        out = sprintf("%s/%s.new", dir, out);
-        printf "%s", notice >(out);
+       if (out != "") close(out);
+       out = $0;
+       sub(/^.*\*@-/, "", out);
+       sub(/-@\*.*$/, "", out);
+       files[out] = 1;
+       out = sprintf("%s/%s.new", dir, out);
+       printf "%s", notice >(out);
       }
       /\*@--[-a-zA-Z0-9_]*-@\*/ { next; }
       {
-        if (out == "NOTICE")
-          notice = notice $0 "\n";
-        else
-          if (out != "") print $0 >(out);
+       if (out == "NOTICE")
+         notice = notice $0 "\n";
+       else
+         if (out != "") print $0 >(out);
       }
       END {
-        for (f in files)
-          system(sprintf("mv %s/%s.new %s/%s.m4", dir, f, dir, f));
+       for (f in files)
+         system(sprintf("mv %s/%s.new %s/%s.m4", dir, f, dir, f));
       }' <"$glob"
       echo "done."
     ;;
index 2f850fc..f421d54 100644 (file)
--- a/lgpl.tex
+++ b/lgpl.tex
@@ -192,7 +192,7 @@ Public License rather than by this special one.
       on the Library (independent of the use of the Library in a tool for
       writing it).  Whether that is true depends on what the Library does and
       what the program that uses the Library does.
-  
+
 \item [1.] You may copy and distribute verbatim copies of the Library's
       complete source code as you receive it, in any medium, provided that
       you conspicuously and appropriately publish on each copy an appropriate
index dd030be..5b9b271 100644 (file)
--- a/lgpl.texi
+++ b/lgpl.texi
@@ -151,7 +151,7 @@ such a program is covered only if its contents constitute a work based
 on the Library (independent of the use of the Library in a tool for
 writing it).  Whether that is true depends on what the Library does
 and what the program that uses the Library does.
-  
+
 @item
 You may copy and distribute verbatim copies of the Library's
 complete source code as you receive it, in any medium, provided that
diff --git a/maninst b/maninst
index bdf5a0f..cb238c5 100755 (executable)
--- a/maninst
+++ b/maninst
@@ -39,14 +39,14 @@ for i; do
   for l in `sed 's:^\.\\\"  *@::p; d' "$srcdir/$i"`; do
     case $op in
       install)
-        if [ "$l.$sec" != "$base" ]; then
-          echo -n "."
+       if [ "$l.$sec" != "$base" ]; then
+         echo -n "."
          echo ".so man$sec/$base$ext" >"$mandir/man$sec/$l.$sec$ext"
          chmod $mode "$mandir/man$sec/$l.$sec$ext"
        fi
        ;;
       uninstall)
-        rm -f "$mandir/man$sec/$l.$sec$ext"
+       rm -f "$mandir/man$sec/$l.$sec$ext"
        ;;
     esac
   done
index bb2b678..27b84cf 100644 (file)
 % it under the terms of the GNU General Public License as published by
 % the Free Software Foundation; either version 2 of the License, or
 % (at your option) any later version.
-% 
+%
 % This file is distributed in the hope that it will be useful,
 % but WITHOUT ANY WARRANTY; without even the implied warranty of
 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 % GNU General Public License for more details.
-% 
+%
 % You should have received a copy of the GNU General Public License
 % along with this file; if not, write to the Free Software Foundation,
 % Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.