chiark / gitweb /
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 5feca10b062543f10b5bbbe12b2dba45c6bc55a9..1b6a078ca11748e6fb058c0d69035b3e2c968e65 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 70ca83d7bd2249c23b70da24637f8c256eced8dd..c0c7cfbb2b99f994590bea647621da352f3a31d6 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 e82f4352e2d216e41f974444541696a949152364..c04b2203f3dab122716818a3cffc0fb9aaad4972 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 e06fb006795e259831fd1883e9e72f80e8b2b174..f55f6e856caf3b812368745994b203582e2a2667 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 961658734bb8defc85d59efd141637d729528598..7604823c8f27186713c98e003d0dfe4efaabcf04 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 05037f1917600ef1347f5a58a510fd8d537061cf..3cca9ecc38312d8f933f4b542b00ab5ba3e37f76 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 764a820d261171720c2368a6c88c8fa23348fd23..05f27370e7a291f03f4ef61421c668417c85e6ee 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 efc3f0cb408393e2ee34e78f24701a2c2e87356d..b5c0dd8f45143e7c4d10ba683b77f3c260a1f64e 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 ce8295c131c2fdb3f92fdc32c8b99f49f411ccf4..b11fb3946733bc8090750d7a13830514888aea82 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 0f5233f0b430dfd9988695cdde10827ea7609941..a5d6261cd74ea3afcc3a377f2ab48f5ce9f60629 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 d9b24b28800b638789c97989d36569ca2cc1c951..f2454092229d8df7f903b9692daf7360ea4b2395 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 adebf9009a83914db9fcc29e3aaab34ddf24e549..bedbae1c35c664dfef51f369ddd9264cb4e00ea2 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 dba1e73a9d40e2b3c14fedc25b8908a1207dacc5..a29372410271021b8a508b8b5b506d25e9683a49 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 fbf760ae7f93543c17694671141ac3572e7bab60..4eb897588e338b4c0806fa27cb830ade575df224 100644 (file)
@@ -47,8 +47,7 @@
        OQQG6ZRAORUGKIDVNZUXILQKK5UWY3DP
        O45CAVDIMF2CO4ZAKJUWYZLZFVZXAZLB
        NMXAUWDBNZSGK4R2EBESO5TFEBRWY33D
-       NNSWIIDGNFSWYZBAORUW2ZJOBIQCAIBA
-       EAQCAIBNFUQEG2DFMNVXA33JNZ2CAKCC
-       OVTGM6JAORUGKICWMFWXA2LSMUQFG3DB
-       PFSXELBAONSWC43PNYQDKIDFOBUXG33E
-       MUQDCMRJBI======
+       NNSWIIDGNFSWYZBAORUW2ZJOBIES2LJA
+       INUGKY3LOBXWS3TUEAUEE5LGMZ4SA5DI
+       MUQFMYLNOBUXEZJAKNWGC6LFOIWCA43F
+       MFZW63RAGUQGK4DJONXWIZJAGEZCSCQ=
index 60bb040ae3a74383c38df2ea1d7469a075e62560..8fda2b5ec7ae912a355f05d18ad18c7ba8fb74c7 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 dbf53b143a3406b3dc33da33c71b86cd1da8363d..12174a7cf9947c7f7f1eac74bb43035907569be5 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 27b68fd2703252b3c9e04e6e111c35788b67e40d..b02c60317c13c8271a02c0be37af68b9d7c185d2 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 0f7ba0b97d6a269e96061b12a5a5bdf8961d4f31..1b9f4856a03b67c204477db1def486b027f6d0d3 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 68b919c7266823f50043459984f5be3fdf8acef1..0679207c23b32e2c42e97b8e68ec6482d43f3ef1 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 1f27f02bd7895bc40e832fbfafd637f44bc0341d..385a4275e076ec99b648433c167cf34bb6ee96b9 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 96e1884b0490c0a11a07391697253f54052b352a..c391644265c6a74ce863c76756529b560d0d9369 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 6cc0c4307db63885938d819b0eb825cbb847b62e..71964b75515256f5f9c302c8389fd85ebd9265cf 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 3223d9070b93c04fd3f265e14b83b9b0aa85879b..9594349f1fa27fb8ae6dd8719f426e27fa90e2e9 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 924f096227922283f85131275dc93bd602290028..8eb931a0f13cb31dce7bf9bd3324f29946c77b0c 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 6dfd734c2a640425f6d31007b75e18f7d397ab46..64d63c417bc797a813f1d9b93343755a4c269511 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 7312bcb729c3bb47acce44d7afbfd3c67b4c86d4..7de477b0a4bbb532b6182705f22ac0af45d9a796 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 81f381e1d1967ffba9b4ba5efdaa1df23f5ed5b8..bee4fce129f4054d70ddc769757d5f49f6374eb5 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 9b61ac88ef69357d12b746dbe676e61f83dfbcf2..532805a09859c2f2d1568866ef70ed47a4c421fd 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 1eff5ac2cf4b917a02cdae5be79c85988078e511..8eddec9f8481a4f8573507487c545dcba1eb0baf 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 e6f7d10fa112a3b9ee15ab41cf0116e6217ee1e4..5209f3e43514b91f65e5ae52868467adfeec6747 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 8c6a7bba98183dbe456a1d4e82c87b65bedae4c5..38b6055c52e8510b535a779c53f1b47d00825e88 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 f549ae2be10482eb5eadd03465df80ade9bb3fc2..4f0e100dda9ba144fdb8d7390e2bc664ddd85abb 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 7ab8a838d0193aff9a9cec7a39aeebb245a3ad08..eaa0772540a659305cb41b8af477838887834467 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 f376ee57ef72eb1bf5f7401e096f7e84023ea99f..05ba81e44857aeac7e8d1679ced700b24a57a5ed 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 a768c1dd7694e400d8f0654b986f088138583ad2..067a696ac2b3dca6749ed6d20240eeca4c2696d1 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 014355fa12477930a1b9340189c82cdb987c4d18..5686546dfa0fc6a90155865bf4124ea44fba3041 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 a027cbe0ad8794ee55101bb471b59a4a974768fa..7546231834fe1b844bab5194ae226ba3a9f9af2b 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 63a62d9e91524786822b765e477a599e85aa446e..e183c54ad42a8bd30fcc612ebe3a1e42df835aa1 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 7ca969a2949acbb851f08332db4140d58bbe2bee..ef8273c0a6cd57e8b5c6f54fc79efd0e51749407 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 d5f9af0ecb716c696e71abaae1980482792939da..2a3e4be337bb3394d09cf56f282c833781353979 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 c36ac250eb5d3ab37fc3dea8646e2236186948e8..0650e5e0a68746e92741e5e14571719c2311a76a 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 5c0fc05f8f6347981f0e1a2f2171e525901dd879..cda48a23411b1718eeb280f859d40cce7364baa6 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 d30a4f9262553abcc15da7842f19d95b14f3695a..019758a198222e481efd312e1dab2be00e8909cc 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 57d029a522971e7cc5ee48a8caadf2d893eda222..d3467b86d3d8db95bdff3b96b6b7336b598f4db2 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 1a7e08ba43585471b679a513ab8aaffd368aa441..e04f1a3894ff7584a688831e3358d2f33cb811a5 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 28618b3238d7c49d1307057e4b4ac0c9371f1e4a..8f506967ea8f7279f74b45c7d99cca5413e9b7f0 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 6b8ecd1fbccd6e5deda1da01b9b81b8c3f22ca34..1db4a370a34d6ab3d440d72b8a5e8e6e717dbd74 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 6e0cb0eec1c8328af5c43203577170bc673eab00..af8663f3e68bafeb942ef150b8818009c44b1a88 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 84cbef3beb40d10999ef5af3bf8aaf2027205bdd..8cff1ac7a0eaa70508edc2d75ef2ff4823d80344 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 0a11c2cbea87b7796b7069339a2150061625fd98..e8899535e126877e64c64c3915dcff8a18b56636 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 ddffc06ab83531158cf77b1828fc855b0fde5f79..8b79c0ef7b06ef0713c01c42d97223f2971f0074 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 e3f98319a315f0dc3d57dab8c3f9d3b2ea66b75b..cf7191cd371068cd9b7f1a90546d4625bd4af844 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 2e020a56fbb7f0b48e8fd57d10289b3f172fbf61..6c2f2b013db92f2525f18ad083205e3cd03dc23c 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 92ca39b063689042db830c285baa3a47413fd1cd..51d0eedd68c6291d1a33e2dfd4e974d68a866387 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 b7ad04de45eb6dcb647242daf19be78ecc3e25ef..3cfd1cabf92a32a3356dd167849e2b4b0eb46b2f 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 63426fcaca81c32ce66938d454846dc87dae4834..dd9d93f1178b546b0acf9a6a6c25d2763702176c 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 7471f12091a1968229339f7a96993bcf22c8e8ab..6369ed8b89bf4bb166530ce8d2c1919b3fdcfe78 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 52d4542a4edce1ae082a4b9921804a3127b3d72f..c015331b1008d2a4c288c2884773a477ca94a80c 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 c13646399255a0356a618e18a52f4df82d7a4911..e64d86c3301b09a2e4eaa6b4648cb197a2042352 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 7b28ddab5719db49303d5f1087899827f58903bc..b9571a42dcee9a5848d3a1ee94340cda3d312e9d 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 a9c72a08a23d48951affc3024e99b88dfd027f5d..1e2a9641ae93f81b01d7f7e6ab5c19e487f9fb16 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 437ad10a3e23170f47ed383a649545a99ac12891..19392a8e7a1ea63c2639ce7f1bb17247df501a3a 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 3828c6c75e3516ff07f8d2cbe1408d2b87ee2825..bd89b0de51586c86e0ab591d5ece96cc026663d4 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 4dd6901fa0d3626f8c7cfdbaeeaaa184137bc1a3..eb1099b248cbc42434ea397fdf3595e03a53cbbe 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 270e236a28159e229fd8b0fdb622a9d34c0ada00..397f4c1f25cdedbd706b4d1ee4a60c1bd05c940e 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 917ab9c816919d95ca9d76da0615268960f22e85..ca58165afa6e9577874600e2affd2b2ea2cb1d7e 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 64eba2789ed553f60ae0fcdc049436415dcfbf8c..76c7dcb666cf58e509723d9ec6b69e5fc7be18a1 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 02261b77c57c3fb2944f497a79a3bf57d30890d8..1c9119313f1e2e8b0b62b7b9ba85397ee8e0238f 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 611a4c607893dc2268e14589194e2e2474c07f2f..3f269600fa889fca35fdc2aa530191279df3d352 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 b7c6cfbc2c7591d27f4e498c72aef439a208ccfb..28acb046b3136122d1cf9c1f8e1e384f2bf993bd 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 c13859a6127a2a2b2cef936e64d9074bed230a5f..b643bde19a4a2b933862666a894569a0b952918d 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 5ff582ac7c9222864dbd92f0d2f96277fb9fd922..6595f30ceee75094cb72d32cd043806e440ec518 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 1f56dbf9a39f878f565e1fbf275b62195a68ba34..174a03e453b043c48dd6141e2cc217b53602b07c 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 832f934f7e8a2ac0fffb840a7bfd40002520b3ca..11111aa3da1ec50a04a75d91f6eab85df94a3357 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 3d7fdc5a8de64d739e9f440f3d7b6a7d53ec17b0..80eed4b549ae39d8026c23cf6ffc07469aa3ac51 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 28e801243292c54417fa38c49cefb2af4b8492b6..4881bf15a1ce526bd04e1b9c4d1a70bd95c56efa 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 de62ed1e6d8c9a427a586e22fcb70e8bee5fe37e..a1f86a5e5f02180110cc175137de2af3bf9fce97 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 1d442ca57413404a6e1490c159c7bbdf81eb1c8f..13bc18fbd6dac55b3a7d775b1988efc2b41ff46a 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 5251228dbb588ae79e05464a3cab8789bfeda69c..b1f608302a54ff28da1a88fcbab5693a2f860e2d 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 82953da92d437cbe376a36fac79b11bda6bbb185..80cb91309ec9ee2192d97cd8e4de498269cf7dab 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 74667bcedff205c8d835a92dfed95c170e6c6e63..f33ec6b6beda4232f6202527b67553fd486989f1 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 bc565b8581e7223ca6428bc8a17ac67e9afa0c00..28cb580647c2077334a5a119d20b986bbb6ec659 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 919ce933fe86e2fea32040877a428e9f17b632d5..4e8aa71a335b42dc84c7629064676e3e401bd570 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 0a4c6d7c77a758a9e528155813449bbbc452b95b..f3afc186c59eb286c8000cd5091ad1a71a8ffb9e 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 a35c6125f57158bbd861d713f1f97b23265b120b..341c985d1ab8eebba995ba8d420c3bcd47a5c6be 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 59af65f3d940c60d868ba2ef200b113792c15531..d55ae504e99968df16856b9edb8efead3d2a13fc 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 e89f9d638c29f6a5d045f6ce9d7b132272057a7e..23c8e6928467d1222e15466f9d425dae8e2cf5cf 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 fc85f4e75343981001ca7ef51d3aee0f15286b66..ebf0e879be4dc35a56f4dfc77767897f1f26bc7d 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 c9b05ec1573441971312a0e9533a932889a6524a..d89bab2555a75a265733850d400a94d07774eec9 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 ba7fe2cc1396e21fc4e1003ec632f246ba37584a..72dbe9c102655d0ba0129b60f42bed5f22fcb16f 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 856e43e104814ef14cc17cc77405d8c6390c88c6..02a0414b2b415f5de8960bd4bbd2c4ecaca94a98 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 28c5615eb374a77194d7b5eb799846bbd22e6c58..c305047304df146534c15928d2cdb5b48e0391e3 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 d683a45364b1377a12ddf4d05acb34e4eb5cb9a5..17fbb3626bad8726ce1c73f8ddc7227a4d30c19f 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 7ff9e109e0df34f9ca2b9c8fb3d2b0a3b2100ebb..b903d630c0d2362555aa0ed359c94872c867f33f 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 e16b70af5267913806abde9d61eb210807b50638..8b3b91e1eb2b976b10f12246fb9fa9315a0820b8 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 5dede9bb268060df86787326e01221faac4c391f..c174b9a457dc14673bcab4d4da954bacc8f5b67c 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 fe7e2c1bd326bb2083d2d266f887b77f2aab552d..58dab4fd0b114537f323743eb424c590213f06f7 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 6fe97eef1c7407af0cb106d4832ed1c25eba2822..05aec77796621d1271113a43c39f6d06b569544a 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 d5e19738e205c9964736366d76d2faa591400736..1ce4a758f6af30ccc85cb5293340b6425aee95ad 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 23e0c52edcd20c15df4035217d9c3baaf3108b2d..f035dd610297d688aa7acf2ad293d40fddd1ad51 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 d2eeeba0e382f24e00e774cd8d02e0c5df2c027e..01543658adb00b0ec2709bde5a628100740f51fd 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 05642b4da0fba38ac1e905f7a9ef23231cfaa8ac..ee4f46cd4db238bd551c42e0057915995e302691 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 a76408dd760d5c2eebbb1207e46a983639fb524f..29250fe5555846e28c86140af715b9ac1e1c92af 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 e30682d57b639e418217b15c19a44a3ca7b09703..8e3f43ab1eb5a12d29e44d27deebdf4f0d2b0f12 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 4f9c5c2484b65adc9441f7787da137c646e8c3e6..9d3192e1064cd99edf698bcccf6a47bb82b0940b 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 a0d49818f241454932b5bfd54c5476ede11aa814..06570b609b0e629e68198faf04b6aaeefa99ff75 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 0731027fdad88f3e5987e9094e3ecb067974dc0a..78e646e153000327f59b70f12b512a9adf2b8b83 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 a5cec57b576a602e4917adfe5170322f8e294323..7eb4626f744ef18f70cb5a667034797521e47d27 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 fd5d777f5efdbc1d226ab7af9924b3a6ae28e5fd..7a40b7401eebb734ff1e4f087eb99e7a3c0451d1 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 4b6980192d7785ec0c6728c3568ceadc8f1ea086..05fef07f377b17be56e2b3ab80dd8b3f7553cee6 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 69b2868c96c19e0cb3f5b1b58f4f513a24652e01..85882872eb20a377836b6f891436f5a68255a1ca 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 f7ef7674b93319053b7b8b8c677708ac615e9dc6..e618956ed90739267bb8590e87cc7d8f298381de 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 98e49249d81c8f9992e1dd084681d56b8be0e4a4..9f61fc157b5f0e20c5adc981c68f09f636e5c27a 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 776c70817b4a2234487789f23d3dd86679a551d7..2d1594fa2e9ed07e8668be3587f47285e13c1cc9 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 7723362dca2c3a452970aa659a52434a6701daff..f790fc1d25a98b1fb5c3b2b7cc4681b3cb1fd40e 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 1792f2b40ce267ec96cf26435a810f7cb30d998b..afeebcc0f5970cda3d79fdb7196f8aa655a3b13c 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 618930cd363a314aa912c8abc2e0dd777780dbca..69a18d9873bddc8d1e7825458cd4702e2a6bdb87 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 42750df863cd37d3d46b3025ed868df5c58ed649..d93e28185eb9d8e0db38f4aab67320c7d6601035 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 6b735527b7a5217322021876eb9dce6af575b589..24e49dfc88f4ad6e7c761c4f0158a85bca2639fc 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 ad6e52d04f187921b4fc13ecbea9bdc89949a61c..9f9719bffbd0dbf7243f2627a75f302a4fedc97e 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 f6c19b1991ac0fe5492dac81de89e44d55c1c349..22cecf9b2f0b2dbb9fbd2ac36150cd1cda780425 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 2dc1c5048e64181c90c997df0c79fcff4b9c29d5..797c5364926abe66a00aa4eaa3f3f3ded0f80d33 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 6f82d122b9713ede224de76ceb4de56ed8b750fe..e0906ceb8fa84c58197f83a04e9be69a56140636 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 335098b88f1ea192fa4e1e7c67f90c6213f277fb..1b77ca9899ab70feb90123030abebaca0fa386bd 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 dfd2788d5c1cf48a033b1fb14cef3a87181d2373..78db39befbf6d3887c64cd49f85658a5304002c1 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,