cleanup: All the whitespace fixes, all at once.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 28 Jan 2007 22:56:52 +0000 (22:56 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 28 Jan 2007 23:03:53 +0000 (23:03 +0000)
This damages one of the encoding test inputs, so the sample output also
needs to change accordingly.

125 files changed:
Makefile.am
align.h
alloc.c
alloc.h
arena.c
arena.h
assoc.c
assoc.h
atom.c
atom.h
base32.c
base32.h
base32.in
base32.ref
base64.c
base64.h
bits.c
bits.h
bres-adns.c
bres.c
bres.h
buf-dstr.c
buf.c
buf.h
configure.in
conn.c
conn.h
crc-mktab.c
crc32.c
crc32.h
da-test.c
daemonize.c
daemonize.h
darray.c
darray.h
debian/changelog
debian/control
debian/rules
dputf.c
dspool.c
dspool.h
dstr.c
dstr.h
env.c
env.h
exc.c
exc.h
fdflags.c
fdflags.h
fdpass.c
fdpass.h
fwatch.c
fwatch.h
hash.c
hash.h
hex.c
hex.h
ident.c
ident.h
lbuf.c
lbuf.h
lock.c
lock.h
macros.h
man/Makefile.am
man/bres.3
man/buf.3
man/conn.3
man/crc-mktab.1
man/dstr.3
man/fdpass.3
man/lbuf.3
man/mLib.3
man/mdwopt.3
man/pkbuf.3
man/pool.3
man/sel.3
man/str.3
man/sub.3
man/sym.3
man/unihash-mkstatic.1
man/unihash.3
man/url.3
man/versioncmp.3
pkbuf.c
pkbuf.h
pool-file.c
pool-sub.c
pool.c
pool.h
pquis.c
quis.c
quis.h
report.c
report.h
sel.c
sel.h
selbuf.c
selbuf.h
selpk.c
selpk.h
sig.c
sig.h
str.c
str.h
sub.c
sub.h
sym.c
sym.h
testrig.c
testrig.h
trace.c
trace.h
traceopt.c
track.c
track.h
tv.c
tv.h
unihash-mkstatic.c
unihash.c
unihash.h
url.c
url.h
versioncmp.c
versioncmp.h

index 5feca10..1b6a078 100644 (file)
 ## it under the terms of the GNU Library General Public License as
 ## published by the Free Software Foundation; either version 2 of the
 ## License, or (at your option) any later version.
-## 
+##
 ## mLib 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 Library General Public License for more details.
-## 
+##
 ## You should have received a copy of the GNU Library General Public
 ## License along with mLib; if not, write to the Free
 ## Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/align.h b/align.h
index 70ca83d..c0c7cfb 100644 (file)
--- a/align.h
+++ b/align.h
@@ -7,7 +7,7 @@
  * (c) 2003 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/alloc.c b/alloc.c
index e82f435..c04b220 100644 (file)
--- a/alloc.c
+++ b/alloc.c
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/alloc.h b/alloc.h
index e06fb00..f55f6e8 100644 (file)
--- a/alloc.h
+++ b/alloc.h
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/arena.c b/arena.c
index 9616587..7604823 100644 (file)
--- a/arena.c
+++ b/arena.c
@@ -7,7 +7,7 @@
  * (c) 2000 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -37,7 +37,7 @@
 /*----- The standard arena ------------------------------------------------*/
 
 static void *_alloc(arena *a, size_t sz) { return malloc(sz); }
-static void *_realloc(arena *a, void *p, size_t sz, size_t osz) 
+static void *_realloc(arena *a, void *p, size_t sz, size_t osz)
   { return realloc(p, sz); }
 static void _free(arena *a, void *p) { free(p); }
 
diff --git a/arena.h b/arena.h
index 05037f1..3cca9ec 100644 (file)
--- a/arena.h
+++ b/arena.h
@@ -7,7 +7,7 @@
  * (c) 2000 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -45,7 +45,7 @@
 typedef struct arena {
   const struct arena_ops *ops;
 } arena;
-      
+
 typedef struct arena_ops {
   void *(*alloc)(arena */*a*/, size_t /*sz*/);
   void *(*realloc)(arena */*a*/, void */*p*/, size_t /*sz*/, size_t /*osz*/);
diff --git a/assoc.c b/assoc.c
index 764a820..05f2737 100644 (file)
--- a/assoc.c
+++ b/assoc.c
@@ -7,7 +7,7 @@
  * (c) 2000 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -91,7 +91,7 @@ void assoc_destroy(assoc_table *t)
  *             the pointer returned.  The flag @*f@ is cleared if the item
  *             couldn't be found, or set if it was.
  *
- *             All the atoms used in a particular table should 
+ *             All the atoms used in a particular table should
  */
 
 void *assoc_find(assoc_table *t, atom *a, size_t sz, unsigned *f)
diff --git a/assoc.h b/assoc.h
index efc3f0c..b5c0dd8 100644 (file)
--- a/assoc.h
+++ b/assoc.h
@@ -7,7 +7,7 @@
  * (c) 2000 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -100,7 +100,7 @@ extern void assoc_destroy(assoc_table */*t*/);
  *             the pointer returned.  The flag @*f@ is cleared if the item
  *             couldn't be found, or set if it was.
  *
- *             All the atoms used in a particular table should 
+ *             All the atoms used in a particular table should
  */
 
 extern void *assoc_find(assoc_table */*t*/, atom */*a*/,
diff --git a/atom.c b/atom.c
index ce8295c..b11fb39 100644 (file)
--- a/atom.c
+++ b/atom.c
@@ -7,7 +7,7 @@
  * (c) 2000 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/atom.h b/atom.h
index 0f5233f..a5d6261 100644 (file)
--- a/atom.h
+++ b/atom.h
@@ -7,7 +7,7 @@
  * (c) 2000 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index d9b24b2..f245409 100644 (file)
--- a/base32.c
+++ b/base32.c
@@ -7,7 +7,7 @@
  * (c) 1997 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -49,7 +49,7 @@ static const signed char decodemap[] = {
   15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, -1, -1, -1,  /* 5x */
   -1,  0,  1,  2,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14,  /* 6x */
   15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, -1, -1, -1,  /* 7x */
-};  
+};
 
 /*----- Main code ---------------------------------------------------------*/
 
index adebf90..bedbae1 100644 (file)
--- a/base32.h
+++ b/base32.h
@@ -7,7 +7,7 @@
  * (c) 1997 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index dba1e73..a293724 100644 (file)
--- a/base32.in
+++ b/base32.in
@@ -18,4 +18,4 @@ Buffy: The boy has clocked more field time than all of you
   combined. He's part of the unit.
 Willow: That's Riley-speak.
 Xander: I've clocked field time.
-        -- Checkpoint (Buffy the Vampire Slayer, season 5 episode 12)
+       -- Checkpoint (Buffy the Vampire Slayer, season 5 episode 12)
index fbf760a..4eb8975 100644 (file)
@@ -47,8 +47,7 @@
        OQQG6ZRAORUGKIDVNZUXILQKK5UWY3DP
        O45CAVDIMF2CO4ZAKJUWYZLZFVZXAZLB
        NMXAUWDBNZSGK4R2EBESO5TFEBRWY33D
-       NNSWIIDGNFSWYZBAORUW2ZJOBIQCAIBA
-       EAQCAIBNFUQEG2DFMNVXA33JNZ2CAKCC
-       OVTGM6JAORUGKICWMFWXA2LSMUQFG3DB
-       PFSXELBAONSWC43PNYQDKIDFOBUXG33E
-       MUQDCMRJBI======
+       NNSWIIDGNFSWYZBAORUW2ZJOBIES2LJA
+       INUGKY3LOBXWS3TUEAUEE5LGMZ4SA5DI
+       MUQFMYLNOBUXEZJAKNWGC6LFOIWCA43F
+       MFZW63RAGUQGK4DJONXWIZJAGEZCSCQ=
index 60bb040..8fda2b5 100644 (file)
--- a/base64.c
+++ b/base64.c
@@ -7,7 +7,7 @@
  * (c) 1997 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -39,7 +39,7 @@
 /*----- Important tables --------------------------------------------------*/
 
 static const char encodemap[] = { "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
-                                 "abcdefghijklmnopqrstuvwxyz" 
+                                 "abcdefghijklmnopqrstuvwxyz"
                                  "0123456789+/" };
 
 static const signed char decodemap[] = {
@@ -51,7 +51,7 @@ static const signed char decodemap[] = {
   15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, -1, -1, -1,  /* 5x */
   -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36 ,37, 38, 39, 40,  /* 6x */
   41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -1, -1, -1, -1, -1   /* 7x */
-};  
+};
 
 /*----- Main code ---------------------------------------------------------*/
 
index dbf53b1..12174a7 100644 (file)
--- a/base64.h
+++ b/base64.h
@@ -7,7 +7,7 @@
  * (c) 1997 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/bits.c b/bits.c
index 27b68fd..b02c603 100644 (file)
--- a/bits.c
+++ b/bits.c
@@ -7,7 +7,7 @@
  * (c) 2000 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/bits.h b/bits.h
index 0f7ba0b..1b9f485 100644 (file)
--- a/bits.h
+++ b/bits.h
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -342,11 +342,11 @@ typedef unsigned char octet, uint8;
 
 #define LOAD24_B(p)                                                    \
   (((uint24)GETBYTE((p), 0) << 16) |                                   \
-   ((uint24)GETBYTE((p), 1) <<  8) |                                   \
-   ((uint24)GETBYTE((p), 2) <<  0))
+   ((uint24)GETBYTE((p), 1) << 8) |                                    \
+   ((uint24)GETBYTE((p), 2) << 0))
 #define LOAD24_L(p)                                                    \
-  (((uint24)GETBYTE((p), 0) <<  0) |                                   \
-   ((uint24)GETBYTE((p), 1) <<  8) |                                   \
+  (((uint24)GETBYTE((p), 0) << 0) |                                    \
+   ((uint24)GETBYTE((p), 1) << 8) |                                    \
    ((uint24)GETBYTE((p), 2) << 16))
 #define LOAD24(p) LOAD24_B((p))
 
@@ -363,11 +363,11 @@ typedef unsigned char octet, uint8;
 #define LOAD32_B(p)                                                    \
   (((uint32)GETBYTE((p), 0) << 24) |                                   \
    ((uint32)GETBYTE((p), 1) << 16) |                                   \
-   ((uint32)GETBYTE((p), 2) <<  8) |                                   \
-   ((uint32)GETBYTE((p), 3) <<  0))
+   ((uint32)GETBYTE((p), 2) << 8) |                                    \
+   ((uint32)GETBYTE((p), 3) << 0))
 #define LOAD32_L(p)                                                    \
-  (((uint32)GETBYTE((p), 0) <<  0) |                                   \
-   ((uint32)GETBYTE((p), 1) <<  8) |                                   \
+  (((uint32)GETBYTE((p), 0) << 0) |                                    \
+   ((uint32)GETBYTE((p), 1) << 8) |                                    \
    ((uint32)GETBYTE((p), 2) << 16) |                                   \
    ((uint32)GETBYTE((p), 3) << 24))
 #define LOAD32(p) LOAD32_B((p))
@@ -505,7 +505,7 @@ typedef unsigned char octet, uint8;
 #else
 #  define X64(x, y) { 0x##x, 0x##y }
 #endif
-    
+
 /*----- That's all, folks -------------------------------------------------*/
 
 #ifdef __cplusplus
index 68b919c..0679207 100644 (file)
@@ -7,7 +7,7 @@
  * (c) 2003 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -227,7 +227,7 @@ static void report(bres_client *rc, adns_answer *a,
   h.h_addrtype = AF_INET;
   h.h_length = sizeof(struct in_addr);
   h.h_addr_list = aa;
-  rc->func(&h, rc->p);  
+  rc->func(&h, rc->p);
 }
 
 /* --- @beforehook@, @afterhook@ --- *
diff --git a/bres.c b/bres.c
index 1f27f02..385a427 100644 (file)
--- a/bres.c
+++ b/bres.c
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -227,7 +227,7 @@ static struct hostent *gethost(int fd)
   struct hostent *h;
   char *name;
   char **alias = 0;
-  
+
   /* --- Read the skeleton structure --- */
 
   if (doread(fd, &hsk, sizeof(hsk)))
@@ -255,7 +255,7 @@ static struct hostent *gethost(int fd)
     if (hsk.nalias) {
       int i;
       if ((alias = malloc(hsk.nalias * sizeof(char *))) == 0)
-       goto tidy_1;      
+       goto tidy_1;
       for (i = 0; i < hsk.nalias; i++)
        alias[i] = 0;
       for (i = 0; i < hsk.nalias; i++) {
@@ -313,7 +313,7 @@ static struct hostent *gethost(int fd)
     }
     *p++ = 0;
     free(alias);
+
 #undef PUT
   }
 
diff --git a/bres.h b/bres.h
index 96e1884..c391644 100644 (file)
--- a/bres.h
+++ b/bres.h
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index 6cc0c43..71964b7 100644 (file)
@@ -7,7 +7,7 @@
  * (c) 2005 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/buf.c b/buf.c
index 3223d90..9594349 100644 (file)
--- a/buf.c
+++ b/buf.c
@@ -7,7 +7,7 @@
  * (c) 2001 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/buf.h b/buf.h
index 924f096..8eb931a 100644 (file)
--- a/buf.h
+++ b/buf.h
@@ -7,7 +7,7 @@
  * (c) 2001 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -309,7 +309,7 @@ BUF_DOSUFFIXES(BUF_DECL_PUTDSTR_)
 #define BUF_DECL_PUTSTR_(n, W, w)                                      \
   extern int buf_putstr##w(buf */*b*/, const char */*p*/);             \
 BUF_DOSUFFIXES(BUF_DECL_PUTSTR_)
-       
+
 /*----- That's all, folks -------------------------------------------------*/
 
 #ifdef __cplusplus
index 6dfd734..64d63c4 100644 (file)
@@ -15,12 +15,12 @@ dnl mLib is free software; you can redistribute it and/or modify
 dnl it under the terms of the GNU Library General Public License as
 dnl published by the Free Software Foundation; either version 2 of the
 dnl License, or (at your option) any later version.
-dnl 
+dnl
 dnl mLib 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 Library General Public License for more details.
-dnl 
+dnl
 dnl You should have received a copy of the GNU Library General Public
 dnl License along with mLib; if not, write to the Free
 dnl Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -43,7 +43,7 @@ DEPLIBS=$LIBS AC_SUBST(DEPLIBS)
 BRES_LIBEXEC="bres\$(EXEEXT)" BRES_SOURCE="bres"
 AC_SUBST(BRES_LIBEXEC) AC_SUBST(BRES_SOURCE)
 AC_ARG_WITH(adns,
-[  --with-adns             use ADNS library for background name resolution],
+[  --with-adns            use ADNS library for background name resolution],
 [want_adns=$withval], [want_adns=auto])
 if test $want_adns != no; then
   save_LIBS=$LIBS
diff --git a/conn.c b/conn.c
index 7312bcb..7de477b 100644 (file)
--- a/conn.c
+++ b/conn.c
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/conn.h b/conn.h
index 81f381e..bee4fce 100644 (file)
--- a/conn.h
+++ b/conn.h
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index 9b61ac8..532805a 100644 (file)
@@ -7,7 +7,7 @@
  * (c) 2000 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -80,7 +80,7 @@ static void version(FILE *fp)
 static void usage(FILE *fp)
 {
   pquis(fp, "Usage: $ [-cr] [-o FILE] [-g GUARD] [-s SYM] [-i HEADER]\n\
-       [-t TYPE] [-b BITS] [-B BITS] [-p POLY]\n");
+       [-t TYPE] [-b BITS] [-B BITS] [-p POLY]\n");
 }
 
 static void help(FILE *fp)
diff --git a/crc32.c b/crc32.c
index 1eff5ac..8eddec9 100644 (file)
--- a/crc32.c
+++ b/crc32.c
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/crc32.h b/crc32.h
index e6f7d10..5209f3e 100644 (file)
--- a/crc32.h
+++ b/crc32.h
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index 8c6a7bb..38b6055 100644 (file)
--- a/da-test.c
+++ b/da-test.c
@@ -64,7 +64,7 @@ int main(void)
        vec vv;
        char *q = p;
        DA_CREATE(&vv);
-/*     putchar('#'); */
+/*     putchar('#'); */
        while ((p = strtok(0, " ")) != 0) {
          int n = atoi(p);
          DA_PUSH(&vv, n);
index f549ae2..4f0e100 100644 (file)
@@ -7,7 +7,7 @@
  * (c) 2007 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index 7ab8a83..eaa0772 100644 (file)
@@ -7,7 +7,7 @@
  * (c) 2007 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index f376ee5..05ba81e 100644 (file)
--- a/darray.c
+++ b/darray.c
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -238,7 +238,7 @@ void *da_shunt(da_base *b, void *v, size_t sz, size_t n)
   }
 
   /* --- Fill in the other parts of the base structure --- */
-  
+
   b->off = nsz - slots;
   b->sz = slots;
   b->unshift = b->push = 0;
index a768c1d..067a696 100644 (file)
--- a/darray.h
+++ b/darray.h
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -395,7 +395,7 @@ typedef struct da_base {
  * Arguments:  @a@ = pointer to an array block (multiply evaluated)
  *
  * Use:                Evaluates to the initial element in array @a@.  It is unsafe
- *             to do this if the array is empty.  The array is not changed. 
+ *             to do this if the array is empty.  The array is not changed.
  */
 
 #define DA_FIRST(a) (DA(a)[0])
@@ -461,7 +461,7 @@ typedef struct da_base {
  *             element to return.
  */
 
-#define DA_SHIFT(a)                                                    \
+#define DA_SHIFT(a)                                                    \
   ((a)->b.len ? ((void)0) : THROW(DAEXC_UFLOW),                                \
    (a)->b.len--,                                                       \
    (a)->b.sz--,                                                                \
index 014355f..5686546 100644 (file)
@@ -2,7 +2,7 @@ mlib (2.0.3) experimental; urgency=low
 
   * Document hex encoding/decoding.
   * Add file descriptor passing.
-  * Add ADNS-based background resolver.  
+  * Add ADNS-based background resolver.
   * Split binaries off into their own package.
   * Document, fix and test universal hashing; use it in symbol tables.
 
@@ -12,4 +12,4 @@ mlib (2.0.2) experimental; urgency=low
 
   * Debianization!
 
- -- Mark Wooding <mdw@nsict.org>  Sat,  8 Nov 2003 22:43:10 +0000
+ -- Mark Wooding <mdw@nsict.org>  Sat, 8 Nov 2003 22:43:10 +0000
index a027cbe..7546231 100644 (file)
@@ -22,7 +22,7 @@ Description: A library of miscellaneous stuff
  This package provides the mLib run-time library.  It uses an
  implementation of the background resolver forks and calls
  gethostbyname, so it therefore (a) depends only on the standard
- C library, and (b) is distributed under the terms of the GNU 
+ C library, and (b) is distributed under the terms of the GNU
  LGPL or GPL.
 
 Package: mlib2-adns
index 63a62d9..e183c54 100755 (executable)
@@ -27,7 +27,7 @@ clean:
 install: build
        dh_clean
        make -C deb-noadns install DESTDIR=`pwd`/debian/mlib2
-       mkdir -p debian/mlib-dev/usr/lib 
+       mkdir -p debian/mlib-dev/usr/lib
        mkdir -p debian/mlib-dev/usr/share/man
        mkdir -p debian/mlib-dev/usr/bin
        mv debian/mlib2/usr/bin/mLib-config debian/mlib-dev/usr/bin
@@ -76,4 +76,4 @@ source:
        d=`pwd`; cd ..; dpkg-source -i -b $$d/deb-build/=deb=/*
        rm -rf deb-build/=deb=
 
-.PHONY: binary binary-arch binary-indep clean install source 
+.PHONY: binary binary-arch binary-indep clean install source
diff --git a/dputf.c b/dputf.c
index 7ca969a..ef8273c 100644 (file)
--- a/dputf.c
+++ b/dputf.c
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -145,7 +145,7 @@ int dstr_vputf(dstr *d, const char *p, va_list *ap)
          }
          DPUTC(d, *p);
          goto formatted;
-        getnum:
+       getnum:
          *ip = 0;
          if (*p == '*') {
            *ip = va_arg(*ap, int);
@@ -193,7 +193,7 @@ int dstr_vputf(dstr *d, const char *p, va_list *ap)
          if (!(f & f_prec))
            prec = 6;
          else
-           sz += prec + 16;        
+           sz += prec + 16;
          if ((f & f_wd) && wd + 1 > sz)
            sz = wd + 1;
          DENSURE(d, sz);
index d5f9af0..2a3e4be 100644 (file)
--- a/dspool.c
+++ b/dspool.c
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
index c36ac25..0650e5e 100644 (file)
--- a/dspool.h
+++ b/dspool.h
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git a/dstr.c b/dstr.c
index 5c0fc05..cda48a2 100644 (file)
--- a/dstr.c
+++ b/dstr.c
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/dstr.h b/dstr.h
index d30a4f9..019758a 100644 (file)
--- a/dstr.h
+++ b/dstr.h
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/env.c b/env.c
index 57d029a..d3467b8 100644 (file)
--- a/env.c
+++ b/env.c
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/env.h b/env.h
index 1a7e08b..e04f1a3 100644 (file)
--- a/env.h
+++ b/env.h
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/exc.c b/exc.c
index 28618b3..8f50696 100644 (file)
--- a/exc.c
+++ b/exc.c
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -133,6 +133,6 @@ void __exc_rethrow(exc_extype type, exc_exval val)
   p->val = val;
   __exc_list = p->next;
   longjmp(p->buf, type);
-}  
+}
 
 /*----- That's all, folks -------------------------------------------------*/
diff --git a/exc.h b/exc.h
index 6b8ecd1..1db4a37 100644 (file)
--- a/exc.h
+++ b/exc.h
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
  *     ... something dangerous ...
  *   } CATCH switch (exc_type) {
  *     case EXC_INTERESTING:
- *      ... handle exception ...
- *      break;
+ *      ... handle exception ...
+ *      break;
  *     default:
- *      ... do tidying up ...
- *      RETHROW;
+ *      ... do tidying up ...
+ *      RETHROW;
  *   } END_TRY;
  */
 
@@ -260,10 +260,10 @@ extern __exc_hnd *__exc_list;             /* List of active handlers */
  *     __exc_hnd h;
  *     add_handler(&h);
  *     if (!setjmp(h.buf)) {
- *      do <try code> while (0);
- *      remove_handler(&h);
+ *      do <try code> while (0);
+ *      remove_handler(&h);
  *     } else
- *      <catch code>
+ *      <catch code>
  *   } while (0)
  *
  * Everything else is ugly hacking to make things work.
index 6e0cb0e..af8663f 100644 (file)
--- a/fdflags.c
+++ b/fdflags.c
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index 84cbef3..8cff1ac 100644 (file)
--- a/fdflags.h
+++ b/fdflags.h
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index 0a11c2c..e889953 100644 (file)
--- a/fdpass.c
+++ b/fdpass.c
@@ -7,7 +7,7 @@
  * (c) 2003 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -77,7 +77,7 @@ ssize_t fdpass_send(int sock, int fd, const void *p, size_t sz)
 #ifdef HAVE_MSG_ACCRIGHTS
   msg.msg_accrights = &fd;
   msg.msg_accrightslen = sizeof(fd);
-#else  
+#else
   msg.msg_flags = 0;
   msg.msg_control = buf;
   msg.msg_controllen = sizeof(buf);
@@ -139,7 +139,7 @@ ssize_t fdpass_recv(int sock, int *fd, void *p, size_t sz)
   for (cmsg = CMSG_FIRSTHDR(&msg); cmsg; cmsg = CMSG_NXTHDR(&msg, cmsg)) {
     if (cmsg->cmsg_level == SOL_SOCKET &&
        cmsg->cmsg_type == SCM_RIGHTS &&
-        cmsg->cmsg_len >= CMSG_LEN(sizeof(fd))) {
+       cmsg->cmsg_len >= CMSG_LEN(sizeof(fd))) {
       memcpy(&fdtmp, CMSG_DATA(cmsg), sizeof(fdtmp));
       if (*fd == -1)
        *fd = fdtmp;
index ddffc06..8b79c0e 100644 (file)
--- a/fdpass.h
+++ b/fdpass.h
@@ -7,7 +7,7 @@
  * (c) 2003 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index e3f9831..cf7191c 100644 (file)
--- a/fwatch.c
+++ b/fwatch.c
@@ -7,7 +7,7 @@
  * (c) 2001 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index 2e020a5..6c2f2b0 100644 (file)
--- a/fwatch.h
+++ b/fwatch.h
@@ -7,7 +7,7 @@
  * (c) 2001 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/hash.c b/hash.c
index 92ca39b..51d0eed 100644 (file)
--- a/hash.c
+++ b/hash.c
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/hash.h b/hash.h
index b7ad04d..3cfd1ca 100644 (file)
--- a/hash.h
+++ b/hash.h
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/hex.c b/hex.c
index 63426fc..dd9d93f 100644 (file)
--- a/hex.c
+++ b/hex.c
@@ -7,7 +7,7 @@
  * (c) 2001 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -49,7 +49,7 @@ static const signed char decodemap[] = {
   -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,  /* 5x */
   -1, 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, -1, -1, -1,  /* 6x */
   -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,  /* 7x */
- };  
+ };
 
 /*----- Main code ---------------------------------------------------------*/
 
diff --git a/hex.h b/hex.h
index 7471f12..6369ed8 100644 (file)
--- a/hex.h
+++ b/hex.h
@@ -7,7 +7,7 @@
  * (c) 2001 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/ident.c b/ident.c
index 52d4542..c015331 100644 (file)
--- a/ident.c
+++ b/ident.c
@@ -7,7 +7,7 @@
  * (c) 1999 Mark Wooding
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -262,7 +262,7 @@ static void go(ident_request *rq)
   int opt;
 
   /* --- Create the socket I'll use --- */
-  
+
   if ((fd = socket(PF_INET, SOCK_STREAM, 0)) < 0)
     goto fail_0;
   memset(&sin, 0, sizeof(sin));
@@ -315,7 +315,7 @@ fail_0:
 
 void ident(ident_request *rq, sel_state *s,
           const struct sockaddr_in *local,
-          const struct sockaddr_in *remote, 
+          const struct sockaddr_in *remote,
           void (*func)(ident_reply */*i*/, void */*p*/),
           void *p)
 {
diff --git a/ident.h b/ident.h
index c136463..e64d86c 100644 (file)
--- a/ident.h
+++ b/ident.h
@@ -7,7 +7,7 @@
  * (c) 1999 Mark Wooding
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -123,7 +123,7 @@ extern void ident_abort(ident_request */*rq*/);
 
 extern void ident(ident_request */*rq*/, sel_state */*s*/,
                  const struct sockaddr_in */*local*/,
-                 const struct sockaddr_in */*remote*/, 
+                 const struct sockaddr_in */*remote*/,
                  void (*/*func*/)(ident_reply */*i*/, void */*p*/),
                  void */*p*/);
 
diff --git a/lbuf.c b/lbuf.c
index 7b28dda..b9571a4 100644 (file)
--- a/lbuf.c
+++ b/lbuf.c
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/lbuf.h b/lbuf.h
index a9c72a0..1e2a964 100644 (file)
--- a/lbuf.h
+++ b/lbuf.h
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/lock.c b/lock.c
index 437ad10..19392a8 100644 (file)
--- a/lock.c
+++ b/lock.c
@@ -7,7 +7,7 @@
  * (c) 1997 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -83,7 +83,7 @@ int lock_file(int fd, unsigned how)
 {
   struct flock fk;
   struct sigaction sa, osa;
-  sigset_t ss, oss; 
+  sigset_t ss, oss;
   int e;
   int al, d, left;
 
diff --git a/lock.h b/lock.h
index 3828c6c..bd89b0d 100644 (file)
--- a/lock.h
+++ b/lock.h
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index 4dd6901..eb1099b 100644 (file)
--- a/macros.h
+++ b/macros.h
@@ -7,7 +7,7 @@
  * (c) 2003 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index 270e236..397f4c1 100644 (file)
 ## it under the terms of the GNU Library General Public License as
 ## published by the Free Software Foundation; either version 2 of the
 ## License, or (at your option) any later version.
-## 
+##
 ## mLib 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 Library General Public License for more details.
-## 
+##
 ## You should have received a copy of the GNU Library General Public
 ## License along with mLib; if not, write to the Free
 ## Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index 917ab9c..ca58165 100644 (file)
@@ -85,7 +85,7 @@ The function
 cancels a running resolver job.  When it returns, the client structure
 is safe to discard.
 .PP
-There are two versions of 
+There are two versions of
 .BR bres .
 The standard one uses a pool of server processes.  Incoming resolver
 jobs are passed to an available server, or a new server is started if
index 64eba27..76c7dcb 100644 (file)
--- a/man/buf.3
+++ b/man/buf.3
@@ -205,7 +205,7 @@ The position in the buffer at which the next read or write will occur.
 A buffer is created using the
 .B buf_init
 function.  You must pass it the buffer base address and size, and a
-pointer to a 
+pointer to a
 .B buf
 structure to fill in.  It doesn't allocate any memory, so you don't need
 to dispose of the
@@ -239,7 +239,7 @@ The size of the buffer; i.e.,
 .TP
 .B BLEN
 The length of data in the buffer (if writing) or the amount of data
-read (if reading); i.e., 
+read (if reading); i.e.,
 .I current
 \-
 .IR base .
@@ -255,13 +255,13 @@ The function
 .B buf_flip
 takes a buffer which has been used for writing, and makes it suitable
 for reading.  This turns out to be useful when building packets in
-multi-layered networking software.  Its precise behaviour is to preserve 
+multi-layered networking software.  Its precise behaviour is to preserve
 .IR base ,
 to set
 .I limit
 to
 .IR current ,
-and to set 
+and to set
 .I current
 to
 .IR base .
@@ -313,7 +313,7 @@ or more bytes remaining, it steps the buffer's
 .I current
 pointer by
 .I sz
-and returns the 
+and returns the
 .I original
 (pre-stepping)
 .I current
@@ -322,7 +322,7 @@ pointer.
 .PP
 The
 .B buf_put
-function writes 
+function writes
 .I sz
 bytes of data starting at
 .I p
index 02261b7..1c91193 100644 (file)
@@ -56,7 +56,7 @@ an error, the descriptor will be closed.
 Pointer to destination socket address for the connection.  Make sure
 that the address has the right family.
 .TP
-.BI "int " dsz 
+.BI "int " dsz
 Size of the destination socket address.
 .TP
 .BI "void (*" func ")(int " fd ", void *" p )
@@ -97,10 +97,10 @@ appropriate error code is stored in
 Alternatively, if you have a socket with a pending connection (i.e., a
 call to
 .BR connect
-returned \-1 and set 
+returned \-1 and set
 .B errno
 to
-.BR EINPROGRESS ), 
+.BR EINPROGRESS ),
 you can call
 .BR conn_fd.
 Its arguments are the same as for
index 611a4c6..3f26960 100644 (file)
@@ -72,7 +72,7 @@ the default array name is
 .TP
 .BI "\-t, \-\-type=" type
 Specify the element type of the array defined by a C source output.  The
-default is 
+default is
 .B "unsigned short"
 if the polynomial has degree 16 or less, or
 .B "unsigned long"
@@ -81,7 +81,7 @@ otherwise.  This option does nothing without the
 option.
 .TP
 .BI "\-i, \-\-include=" header
-Request that generated C source include the named 
+Request that generated C source include the named
 .I header
 file.  Inserts a
 line of the form
@@ -116,7 +116,7 @@ at the end.  The default guard macro name is built from the output file
 name specified with
 .B \-o
 by uppercasing all alphabetic characters in the name and replacing
-nonalphanumeric characters by underscores 
+nonalphanumeric characters by underscores
 .RB ` _ '.
 This option does nothing with the
 .B \-c
index b7c6cfb..28acb04 100644 (file)
@@ -139,7 +139,7 @@ The following invariants are maintained by
 .B dstr
 and must hold when any function is called:
 .hP \*o
-If 
+If
 .B sz
 is nonzero, then
 .B buf
@@ -226,7 +226,7 @@ function.
 .SS "Extending a string"
 All memory allocation for strings is done by the function
 .BR dstr_ensure .
-Given a pointer 
+Given a pointer
 .I d
 to a
 .B dstr
@@ -244,7 +244,7 @@ isn't enough memory for a longer string, the exception
 .B EXC_NOMEM
 is raised.  See
 .BR exc (3)
-for more information about 
+for more information about
 .BR mLib 's
 exception handling system.
 .PP
index c13859a..b643bde 100644 (file)
@@ -38,7 +38,7 @@ together with at most one file descriptor passed as ancillary data,
 which is written to the integer pointed to by
 .IR fd .
 Other file descriptors received are closed; any other ancillary messages
-are ignored.  If no file descriptor is received, 
+are ignored.  If no file descriptor is received,
 .BI * fd
 is set to \-1.  The function returns the number of bytes read, or \-1 on
 error.  For more details, see
index 5ff582a..6595f30 100644 (file)
@@ -96,11 +96,11 @@ The complex interface is the pair of functions
 and
 .BR lbuf_flush .
 .PP
-The 
+The
 .B lbuf_free
 function returns the address and size of a free portion of the line
 buffer's memory into which data may be written.  The function is passed
-the address 
+the address
 .I b
 of the line buffer.  Its result is the size of the free area, and it
 writes the base address of this free space to the location pointed to by
index 1f56dbf..174a03e 100644 (file)
@@ -220,7 +220,7 @@ The
 .BR base64 (3)
 module does base64 encoding and decoding, as defined in RFC2045.  Base64
 encodes arbitrary binary data in a reliable way which is resistant to
-character-set transformations and other mail transport bogosity.  The 
+character-set transformations and other mail transport bogosity.  The
 .BR base32 (3)
 module does base32 encoding and decoding, as defined in RFC2938.  This
 is a mad format which is needed for sha1 URNs, for no good reason.  The
index 832f934..11111aa 100644 (file)
@@ -87,7 +87,7 @@ When a short option controls a flag setting, it is sometimes possible to
 explicitly turn the flag off, as well as turning it on, (usually to
 override default options).  This is usually done by using a
 .RB ` + '
-instead of a 
+instead of a
 .RB ` \- '
 to introduce the option.  (Some programs use upper-case option letters
 to indicate this instead.)
@@ -281,7 +281,7 @@ matching entry is stored in the
 .I longind
 variable, passed to
 .B mdwopt
-(unless 
+(unless
 .I longind
 is null): a value of \-1 indicates that no long option was found. The
 behaviour is then dependent on the values in the table entry.
index 3d7fdc5..80eed4b 100644 (file)
@@ -28,7 +28,7 @@ implement a
 .IR "packet buffer" .
 Given unpredictably-sized chunks of data, the packet buffer extracts
 completed packets of data, with sizes ascertained by a handler
-function. 
+function.
 .PP
 The state of a packet buffer is stored in an object of type
 .BR pkbuf .
@@ -88,11 +88,11 @@ The complex interface is the pair of functions
 and
 .IR pkbuf_flush .
 .PP
-The 
+The
 .B pkbuf_free
 function returns the address and size of a free portion of the packet
 buffer's memory into which data may be written.  The function is passed
-the address 
+the address
 .I pk
 of the packet buffer.  Its result is the size of the free area, and it
 writes the base address of this free space to the location pointed to by
index 28e8012..4881bf1 100644 (file)
@@ -54,7 +54,7 @@ of simultaneously.
 A pool may be a
 .IR "root pool" ,
 in which case it stands on its own, or it may be a
-.IR "subpool" 
+.IR "subpool"
 of another pool (which may in turn either be a root pool or a subpool of
 another).
 .PP
index de62ed1..a1f86a5 100644 (file)
--- a/man/sel.3
+++ b/man/sel.3
@@ -47,7 +47,7 @@ The
 .B sel
 subsystem provides a structured way of handling I/O in a non-blocking
 event-driven sort of a way, for single-threaded programs.  (Although
-there's no reason at all why multithreaded programs shouldn't use 
+there's no reason at all why multithreaded programs shouldn't use
 .BR sel ,
 it's much less useful.)
 .PP
index 1d442ca..13bc18f 100644 (file)
--- a/man/str.3
+++ b/man/str.3
@@ -38,7 +38,7 @@ str \- small string utilities
 The header file
 .B <mLib/str.h>
 contains a few small utility functions for manipulating null-terminated
-strings.  
+strings.
 .PP
 The function
 .B str_qword
index 5251228..b1f6083 100644 (file)
--- a/man/sub.3
+++ b/man/sub.3
@@ -65,7 +65,7 @@ Calling
 allocates a block of
 .I sz
 bytes from the subarena
-.IR s . 
+.IR s .
 If there isn't enough memory to allocate the block, the
 exception
 .B EXC_NOMEM
@@ -87,7 +87,7 @@ Don't try to free blocks allocated by
 to the underlying arena's
 .I free
 function, or to try freeing blocks obtained directly from the arena's
-.I alloc 
+.I alloc
 function using
 .BR subarena_free .
 If you do, you'll get what you deserve.
index 82953da..80cb913 100644 (file)
--- a/man/sym.3
+++ b/man/sym.3
@@ -152,7 +152,7 @@ Given a pointer
 to a symbol table entry,
 .BI SYM_LEN( s )
 returns the length of the symbol's name (excluding any terminating null
-byte); 
+byte);
 .BI SYM_NAME( s )
 returns a pointer to the symbol's name; and
 .BI SYM_HASH( s )
index 74667bc..f33ec6b 100644 (file)
@@ -60,7 +60,7 @@ the default array name is
 .BR uhi .
 .TP
 .BI "\-i, \-\-include=" header
-Request that generated C source include the named 
+Request that generated C source include the named
 .I header
 file.  Inserts a
 line of the form
@@ -98,7 +98,7 @@ at the end.  The default guard macro name is built from the output file
 name specified with
 .B \-o
 by uppercasing all alphabetic characters in the name and replacing
-nonalphanumeric characters by underscores 
+nonalphanumeric characters by underscores
 .RB ` _ '.
 This option does nothing with the
 .B \-c
index bc565b8..28cb580 100644 (file)
@@ -97,7 +97,7 @@ takes as input:
 .BI "const unihash_info *" i
 A pointer to the precomputed tables for a key.
 .TP
-.BI "uint32 " a 
+.BI "uint32 " a
 An accumulator value.  This should be
 .BI UNIHASH_INIT( i )
 for the first chunk of a multi-chunk input, or the result of the
index 919ce93..4e8aa71 100644 (file)
--- a/man/url.3
+++ b/man/url.3
@@ -63,7 +63,7 @@ member:
 .TP
 .B URLF_STRICT
 Be strict about escaping non-alphanumeric characters.  Without this,
-potentially unsafe characters such as 
+potentially unsafe characters such as
 .RB ` / '
 and
 .RB ` ~ '
@@ -74,7 +74,7 @@ readable.
 Be very lax about non-alphanumeric characters.  Everything except
 obviously-unsafe characters like
 .RB ` & '
-and 
+and
 .RB ` = '
 are left unescaped.
 .PP
index 0a4c6d7..f3afc18 100644 (file)
@@ -40,7 +40,7 @@ and these are compared numerically (an empty sequence being considered
 to have the value zero).  This process is repeated until we have a
 winner or until both strings are exhausted.
 .PP
-The return value is 0 if the two strings are equal, \-1 if 
+The return value is 0 if the two strings are equal, \-1 if
 .I va
 is older than
 .IR vb ,
diff --git a/pkbuf.c b/pkbuf.c
index a35c612..341c985 100644 (file)
--- a/pkbuf.c
+++ b/pkbuf.c
@@ -7,7 +7,7 @@
  * (c) 2000 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/pkbuf.h b/pkbuf.h
index 59af65f..d55ae50 100644 (file)
--- a/pkbuf.h
+++ b/pkbuf.h
@@ -7,7 +7,7 @@
  * (c) 2000 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index e89f9d6..23c8e69 100644 (file)
@@ -7,7 +7,7 @@
  * (c) 2000 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index fc85f4e..ebf0e87 100644 (file)
@@ -7,7 +7,7 @@
  * (c) 2000 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/pool.c b/pool.c
index c9b05ec..d89bab2 100644 (file)
--- a/pool.c
+++ b/pool.c
@@ -7,7 +7,7 @@
  * (c) 2000 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -191,7 +191,7 @@ pool *pool_create(arena *a)
  * Use:                Destroys a pool, freeing all of the resources within it.  If
  *             this is a pool created by @pool_create@, its memory will be
  *             deallocated; if it's a subpool or it was initialized by
- *             @pool_init@, it is emptied and can be used again. 
+ *             @pool_init@, it is emptied and can be used again.
  */
 
 void pool_destroy(pool *p)
diff --git a/pool.h b/pool.h
index ba7fe2c..72dbe9c 100644 (file)
--- a/pool.h
+++ b/pool.h
@@ -7,7 +7,7 @@
  * (c) 2000 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/pquis.c b/pquis.c
index 856e43e..02a0414 100644 (file)
--- a/pquis.c
+++ b/pquis.c
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/quis.c b/quis.c
index 28c5615..c305047 100644 (file)
--- a/quis.c
+++ b/quis.c
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/quis.h b/quis.h
index d683a45..17fbb36 100644 (file)
--- a/quis.h
+++ b/quis.h
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index 7ff9e10..b903d63 100644 (file)
--- a/report.c
+++ b/report.c
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index e16b70a..8b3b91e 100644 (file)
--- a/report.h
+++ b/report.h
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/sel.c b/sel.c
index 5dede9b..c174b9a 100644 (file)
--- a/sel.c
+++ b/sel.c
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -200,7 +200,7 @@ void sel_addtimer(sel_state *s, sel_timer *t,
   t->pend = 0;
 
   /* --- More line noise --- */
-  
+
   while (*tt && TV_CMP(&(*tt)->tv, <, tv))
     tt = &(*tt)->next;
   t->next = *tt;
@@ -275,14 +275,14 @@ void sel_rmhook(sel_hook *h)
 
 /* --- @sel_fdmerge@ --- *
  *
- * Arguments:   @fd_set *dest@ = destination FD set
- *              @fd_set *fd@ = pointer to set to merge
- *              @int maxfd@ = highest numbered descriptor in @fd@ + 1
+ * Arguments:  @fd_set *dest@ = destination FD set
+ *             @fd_set *fd@ = pointer to set to merge
+ *             @int maxfd@ = highest numbered descriptor in @fd@ + 1
  *
- * Returns:     Actual highest numbered descriptor.
+ * Returns:    Actual highest numbered descriptor.
  *
- * Use:         Merges file descriptor sets, and returns an accurate @maxfd@
- *              value.
+ * Use:                Merges file descriptor sets, and returns an accurate @maxfd@
+ *             value.
  */
 
 int sel_fdmerge(fd_set *dest, fd_set *fd, int maxfd)
@@ -353,7 +353,7 @@ int sel_select(sel_state *s)
   }
 
   /* --- Run the @select@ call --- */
-  
+
   if ((err = select(a.maxfd,
                    &a.fd[SEL_READ], &a.fd[SEL_WRITE], &a.fd[SEL_EXC],
                    a.tvp)) < 0) {
diff --git a/sel.h b/sel.h
index fe7e2c1..58dab4f 100644 (file)
--- a/sel.h
+++ b/sel.h
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index 6fe97ee..05aec77 100644 (file)
--- a/selbuf.c
+++ b/selbuf.c
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index d5e1973..1ce4a75 100644 (file)
--- a/selbuf.h
+++ b/selbuf.h
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/selpk.c b/selpk.c
index 23e0c52..f035dd6 100644 (file)
--- a/selpk.c
+++ b/selpk.c
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/selpk.h b/selpk.h
index d2eeeba..0154365 100644 (file)
--- a/selpk.h
+++ b/selpk.h
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/sig.c b/sig.c
index 05642b4..ee4f46c 100644 (file)
--- a/sig.c
+++ b/sig.c
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -131,7 +131,7 @@ static void sig_read(int fd, unsigned mode, void *p)
       }
     }
   }
-}  
+}
 
 /* --- @sig_add@ --- *
  *
@@ -278,7 +278,7 @@ void sig_init(sel_state *s)
   fdflags(fd[1], O_NONBLOCK, O_NONBLOCK, FD_CLOEXEC, FD_CLOEXEC);
 
   /* --- Set everything up for the future --- */
-    
+
   sigfd = fd[1];
   sel_initfile(s, &sigsel, fd[0], SEL_READ, sig_read, 0);
   sel_addfile(&sigsel);
diff --git a/sig.h b/sig.h
index a76408d..29250fe 100644 (file)
--- a/sig.h
+++ b/sig.h
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/str.c b/str.c
index e30682d..8e3f43a 100644 (file)
--- a/str.c
+++ b/str.c
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/str.h b/str.h
index 4f9c5c2..9d3192e 100644 (file)
--- a/str.h
+++ b/str.h
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/sub.c b/sub.c
index a0d4981..06570b6 100644 (file)
--- a/sub.c
+++ b/sub.c
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -161,12 +161,12 @@ void subarena_destroy(subarena *s)
 
 /* --- @subarena_alloc@ --- *
  *
- * Arguments:   @subarena *s@ = pointer to arena
+ * Arguments:  @subarena *s@ = pointer to arena
  *             @size_t s@ = size of chunk wanted
  *
- * Returns:     Pointer to a block at least as large as the one wanted.
+ * Returns:    Pointer to a block at least as large as the one wanted.
  *
- * Use:         Allocates a small block of memory from the given pool.  The
+ * Use:                Allocates a small block of memory from the given pool.  The
  *             exception @EXC_NOMEM@ is raised if the underlying arena is
  *             full.
  */
@@ -247,13 +247,13 @@ void *subarena_alloc(subarena *s, size_t sz)
 
 /* --- @subarena_free@ --- *
  *
- * Arguments:   @subarena *s@ = pointer to arena
+ * Arguments:  @subarena *s@ = pointer to arena
  *             @void *p@ = address of block to free
- *              @size_t s@ = size of block
+ *             @size_t s@ = size of block
  *
- * Returns:     ---
+ * Returns:    ---
  *
- * Use:         Frees a block allocated by @subarena_alloc@.
+ * Use:                Frees a block allocated by @subarena_alloc@.
  */
 
 void subarena_free(subarena *s, void *p, size_t sz)
@@ -290,34 +290,34 @@ void subarena_free(subarena *s, void *p, size_t sz)
 
 /* --- @sub_alloc@ --- *
  *
- * Arguments:   @size_t s@ = size of chunk wanted
+ * Arguments:  @size_t s@ = size of chunk wanted
  *
- * Returns:     Pointer to a block at least as large as the one wanted.
+ * Returns:    Pointer to a block at least as large as the one wanted.
  *
- * Use:         Allocates a small block of memory from the @sub_global@ pool.
+ * Use:                Allocates a small block of memory from the @sub_global@ pool.
  */
 
 void *(sub_alloc)(size_t sz) { return sub_alloc(sz); }
 
 /* --- @sub_free@ --- *
  *
- * Arguments:   @void *p@ = address of block to free
- *              @size_t s@ = size of block
+ * Arguments:  @void *p@ = address of block to free
+ *             @size_t s@ = size of block
  *
- * Returns:     ---
+ * Returns:    ---
  *
- * Use:         Frees a block allocated by @sub_alloc@.
+ * Use:                Frees a block allocated by @sub_alloc@.
  */
 
 void (sub_free)(void *p, size_t sz) { sub_free(p, sz); }
 
 /* --- @sub_init@ --- *
  *
- * Arguments:   ---
+ * Arguments:  ---
  *
- * Returns:     ---
+ * Returns:    ---
  *
- * Use:         Initializes the magic allocator.
+ * Use:                Initializes the magic allocator.
  */
 
 void sub_init(void)
diff --git a/sub.h b/sub.h
index 0731027..78e646e 100644 (file)
--- a/sub.h
+++ b/sub.h
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -134,9 +134,9 @@ extern void subarena_destroy(subarena */*s*/);
  * Arguments:  @subarena *s@ = pointer to arena
  *             @size_t s@ = size of chunk wanted
  *
- * Returns:     Pointer to a block at least as large as the one wanted.
+ * Returns:    Pointer to a block at least as large as the one wanted.
  *
- * Use:         Allocates a small block of memory from the given pool.  The
+ * Use:                Allocates a small block of memory from the given pool.  The
  *             exception @EXC_NOMEM@ is raised if the underlying arena is
  *             full.
  */
@@ -145,13 +145,13 @@ extern void *subarena_alloc(subarena */*s*/, size_t /*sz*/);
 
 /* --- @subarena_free@ --- *
  *
- * Arguments:   @subarena *s@ = pointer to arena
+ * Arguments:  @subarena *s@ = pointer to arena
  *             @void *p@ = address of block to free
- *              @size_t s@ = size of block
+ *             @size_t s@ = size of block
  *
- * Returns:     ---
+ * Returns:    ---
  *
- * Use:         Frees a block allocated by @subarena_alloc@.
+ * Use:                Frees a block allocated by @subarena_alloc@.
  */
 
 extern void subarena_free(subarena */*s*/, void */*p*/, size_t /*sz*/);
@@ -186,11 +186,11 @@ extern void subarena_free(subarena */*s*/, void */*p*/, size_t /*sz*/);
 
 /* --- @sub_alloc@ --- *
  *
- * Arguments:   @size_t s@ = size of chunk wanted
+ * Arguments:  @size_t s@ = size of chunk wanted
  *
- * Returns:     Pointer to a block at least as large as the one wanted.
+ * Returns:    Pointer to a block at least as large as the one wanted.
  *
- * Use:         Allocates a small block of memory from the @sub_global@ pool.
+ * Use:                Allocates a small block of memory from the @sub_global@ pool.
  */
 
 extern void *sub_alloc(size_t /*sz*/);
@@ -198,12 +198,12 @@ extern void *sub_alloc(size_t /*sz*/);
 
 /* --- @sub_free@ --- *
  *
- * Arguments:   @void *p@ = address of block to free
- *              @size_t s@ = size of block
+ * Arguments:  @void *p@ = address of block to free
+ *             @size_t s@ = size of block
  *
- * Returns:     ---
+ * Returns:    ---
  *
- * Use:         Frees a block allocated by @sub_alloc@.
+ * Use:                Frees a block allocated by @sub_alloc@.
  */
 
 extern void sub_free(void */*p*/, size_t /*sz*/);
@@ -235,11 +235,11 @@ extern void sub_free(void */*p*/, size_t /*sz*/);
 
 /* --- @sub_init@ --- *
  *
- * Arguments:   ---
+ * Arguments:  ---
  *
- * Returns:     ---
+ * Returns:    ---
  *
- * Use:         Initializes the magic allocator.  This is no longer
+ * Use:                Initializes the magic allocator.  This is no longer
  *             necessary.
  */
 
diff --git a/sym.c b/sym.c
index a5cec57..7eb4626 100644 (file)
--- a/sym.c
+++ b/sym.c
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/sym.h b/sym.h
index fd5d777..7a40b74 100644 (file)
--- a/sym.h
+++ b/sym.h
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index 4b69801..05fef07 100644 (file)
--- a/testrig.c
+++ b/testrig.c
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -115,7 +115,7 @@ again:
       goto again;
 
     /* --- End of file --- */
-      
+
     case EOF:
       return (TOK_EOF);
 
@@ -443,7 +443,7 @@ void test_run(int argc, char *argv[],
        t = gettok(fp);
       if (t != ';')
        die(1, "expected `;'; found `%s'", decode(t));
-    }      
+    }
   }
 
   exit(fail);
index 69b2868..8588287 100644 (file)
--- a/testrig.h
+++ b/testrig.h
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/trace.c b/trace.c
index f7ef767..e618956 100644 (file)
--- a/trace.c
+++ b/trace.c
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/trace.h b/trace.h
index 98e4924..9f61fc1 100644 (file)
--- a/trace.h
+++ b/trace.h
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index 776c708..2d1594f 100644 (file)
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -65,7 +65,7 @@ unsigned traceopt(const trace_opt *t, const char *p,
     for (tt = t; tt->ch; tt++) {
       if (!(tt->f & ~bad) || !tt->help)
        continue;
-      printf("  `%c': %s\n", tt->ch, tt->help);
+      printf(" `%c': %s\n", tt->ch, tt->help);
     }
     return (f);
   }
diff --git a/track.c b/track.c
index 7723362..f790fc1 100644 (file)
--- a/track.c
+++ b/track.c
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -219,7 +219,7 @@ void *track_realloc(void *p, size_t sz)
       trace(vLevel,
            "(track) reallocated %lu at %p to %lu for %s in %s",
            (unsigned long)osz, (void *)(q + 1),
-           (unsigned long)sz,  (void *)(qq + 1),
+           (unsigned long)sz,  (void *)(qq + 1),
            qq->x.ctx, context->s);
     }
     qq->x.sz = sz;
diff --git a/track.h b/track.h
index 1792f2b..afeebcc 100644 (file)
--- a/track.h
+++ b/track.h
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/tv.c b/tv.c
index 618930c..69a18d9 100644 (file)
--- a/tv.c
+++ b/tv.c
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
diff --git a/tv.h b/tv.h
index 42750df..d93e281 100644 (file)
--- a/tv.h
+++ b/tv.h
@@ -7,7 +7,7 @@
  * (c) 1998 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index 6b73552..24e49df 100644 (file)
@@ -7,7 +7,7 @@
  * (c) 2003 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -168,7 +168,7 @@ int main(int argc, char *argv[])
   unihash_setkey(&u, key);
   if (!sym)
     sym = (flags & f_ctab) ? "uhi" : "UHI_INIT";
-  
+
   /* --- Start output --- */
 
   if (!file)
@@ -231,12 +231,12 @@ int main(int argc, char *argv[])
        if (k < N(u.s[i][j]) - 1) {
          fputc(',', fp);
          if (k % 4 == 3)
-           fputs(flags & f_ctab ? "\n     " : "\t\t\t\\\n     ", fp);
+           fputs(flags & f_ctab ? "\n     " : "\t\t\t\\\n     ", fp);
        }
       }
       if (j < N(u.s[i]) - 1) {
-       fputs(flags & f_ctab ? " },\n\n   " :
-               " },\t\t\t\\\n\t\t\t\t\t\t\t\t\t\\\n   ", fp);
+       fputs(flags & f_ctab ? " },\n\n   " :
+               " },\t\t\t\\\n\t\t\t\t\t\t\t\t\t\\\n   ", fp);
       }
     }
     if (i < N(u.s) - 1) {
index ad6e52d..9f9719b 100644 (file)
--- a/unihash.c
+++ b/unihash.c
@@ -7,7 +7,7 @@
  * (c) 2003 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -86,7 +86,7 @@ void unihash_setkey(unihash_info *i, uint32 k)
  *
  * Returns:    Hash of data so far.
  *
- * Use:                Hashes data.  Call this as many times as needed.  
+ * Use:                Hashes data.  Call this as many times as needed.
  */
 
 uint32 unihash_hash(const unihash_info *i, uint32 a,
@@ -97,7 +97,7 @@ uint32 unihash_hash(const unihash_info *i, uint32 a,
   assert(UNIHASH_NBATCH == 4);
 
 #define FULLMULT(u, x)                                                 \
-  (i->s[u][0][U8((x) >>  0)] ^ i->s[u][1][U8((x) >>  8)] ^             \
+  (i->s[u][0][U8((x) >>         0)] ^ i->s[u][1][U8((x) >>  8)] ^              \
    i->s[u][2][U8((x) >> 16)] ^ i->s[u][3][U8((x) >> 24)]);
 
 #define BYTEMULT(u, x) i->s[u][0][x]
@@ -141,7 +141,7 @@ uint32 unihash_hash(const unihash_info *i, uint32 a,
  * Returns:    The hash value computed.
  *
  * Use:                All-in-one hashing function.  No faster than using the
- *             separate calls, but more convenient.
+ *             separate calls, but more convenient.
  */
 
 uint32 unihash(const unihash_info *i, const void *p, size_t sz)
@@ -193,11 +193,11 @@ static int verify(dstr *v)
     if (h != hh) {
       ok = 0;
       fprintf(stderr, "\nunihash failed\n");
-      fprintf(stderr, "  key = %08lx\n", (unsigned long)k);
-      fprintf(stderr, "  data = %s\n", v[1].buf);
-      fprintf(stderr, "  step = %d\n", step[i]);
-      fprintf(stderr, "  expected = %08lx\n", (unsigned long)h);
-      fprintf(stderr, "  computed = %08lx\n", (unsigned long)hh);
+      fprintf(stderr, "         key = %08lx\n", (unsigned long)k);
+      fprintf(stderr, "         data = %s\n", v[1].buf);
+      fprintf(stderr, "         step = %d\n", step[i]);
+      fprintf(stderr, "         expected = %08lx\n", (unsigned long)h);
+      fprintf(stderr, "         computed = %08lx\n", (unsigned long)hh);
     }
   }
   return (ok);
index f6c19b1..22cecf9 100644 (file)
--- a/unihash.h
+++ b/unihash.h
@@ -7,7 +7,7 @@
  * (c) 2003 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -154,7 +154,7 @@ extern void unihash_setkey(unihash_info */*i*/, uint32 /*k*/);
  *
  * Returns:    Hash of data so far.
  *
- * Use:                Hashes data.  Call this as many times as needed.  
+ * Use:                Hashes data.  Call this as many times as needed.
  */
 
 #define UNIHASH_INIT(i) ((i)->s[0][0][1]) /* %$k$% */
@@ -171,7 +171,7 @@ extern uint32 unihash_hash(const unihash_info */*i*/, uint32 /*a*/,
  * Returns:    The hash value computed.
  *
  * Use:                All-in-one hashing function.  No faster than using the
- *             separate calls, but more convenient.
+ *             separate calls, but more convenient.
  */
 
 #define UNIHASH(i, p, sz) (unihash_hash((i), UNIHASH_INIT((i)), (p), (sz)))
diff --git a/url.c b/url.c
index 2dc1c50..797c536 100644 (file)
--- a/url.c
+++ b/url.c
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -67,9 +67,9 @@ static void encode(url_ectx *ctx, dstr *d, const char *p)
     switch (*p) {
       case ' ':
        DPUTC(d, '+');
-        break;
+       break;
       default:
-        if ((ctx->f & URLF_LAX) || isalnum((unsigned char)*p))
+       if ((ctx->f & URLF_LAX) || isalnum((unsigned char)*p))
          goto safe;
        else
          goto unsafe;
diff --git a/url.h b/url.h
index 6f82d12..e0906ce 100644 (file)
--- a/url.h
+++ b/url.h
@@ -7,7 +7,7 @@
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
index 335098b..1b77ca9 100644 (file)
@@ -7,7 +7,7 @@
  * (c) 2007 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -166,7 +166,7 @@ static void vsplit(const char *v, struct vinfo *vi)
   n = strlen(v);
   if ((p = strrchr(v, '-')) == 0)
     vi->s = vi->sl = 0;
-  else {    
+  else {
     vi->s = p + 1;
     vi->sl = v + n;
     n = p - v;
index dfd2788..78db39b 100644 (file)
@@ -7,7 +7,7 @@
  * (c) 2007 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the mLib utilities library.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * mLib 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with mLib; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,