chiark / gitweb /
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 39cb00b368ddc54cc541151be7c97ca00c60e152..ee272b3f9c5ca54c4d6669e683a87ad1f1c72cc8 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 2c11f694d15d0acd171af15fb0a46d674fddceb6..f99af941427b06cb0b43b6570cae168cfe1cffd8 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 a9de9915e9f0959d9679a31bbe1e96969e560de6..1a7c788a520af37cddbb6286ee04f59bf72666b4 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 319d5d487a74b3fd17686841ac9d558a4bd1fb68..5d0c579facab700c10312fa7e2a1ac597aa6d3f5 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 07de7dc118d755b6cf6f3a881952c2b07cae1ebc..b10dadde50217594d7c125337a1109856042bc85 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 2f850fce3df93e0c4bb2a832b9f1a074b1664ab9..f421d54b8066693ec10a2a9a0e9be1d0dd3fe33a 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 dd030beb529ba4af5c62ab08b74620df0ffb4366..5b9b2717cb764731d580c9cbea0e75d8fed8c085 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 bdf5a0fedb106189b18aab8cf544cc42bb24371a..cb238c54cd7fe6750397cc5d197ee4570c33cb65 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 bb2b6780f9629e04885e20170b68a676978ab7bd..27b84cf2e82bc10fb598181370db8134a7a0f0f0 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.