]> git.wh0rd.org - dump.git/blobdiff - compat/lib/compaterr.c
Be sure the di_size in a map header has the correct value.
[dump.git] / compat / lib / compaterr.c
index 2f91af9912c302e0aebb9e4d74e41bebb631ab8f..8ae4686e56c49910d318085ab4663e13d39d96c4 100644 (file)
@@ -2,7 +2,8 @@
  *     Ported to Linux's Second Extended File System as part of the
  *     dump and restore backup suit
  *     Remy Card <card@Linux.EU.Org>, 1994-1997
- *     Stelian Pop <pop@cybercable.fr>, 1999
+ *     Stelian Pop <stelian@popies.net>, 1999-2000
+ *     Stelian Pop <stelian@popies.net> - AlcĂ´ve <www.alcove.com>, 2000-2002
  */
 
 /*-
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in the
  *    documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- *    must display the following acknowledgement:
- *     This product includes software developed by the University of
- *     California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
  *    may be used to endorse or promote products derived from this software
  *    without specific prior written permission.
  *
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: compaterr.c,v 1.4 1999/10/13 09:57:19 stelian Exp $";
+       "$Id: compaterr.c,v 1.11 2003/10/26 16:05:46 stelian Exp $";
 #endif /* not lint */
 
+#include <config.h>
+#include <sys/types.h>
 #include <compaterr.h>
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-
 #include <stdarg.h>
 
-#include <config.h>
-
 extern char *__progname;               /* Program name, from crt0. */
 
 #if !defined(HAVE_ERR) || !defined(HAVE_ERRX) || !defined(HAVE_VERR) || !defined(HAVE_VERRX) || !defined(HAVE_VWARN) || !defined(HAVE_VWARNX) || !defined(HAVE_WARN) || !defined(HAVE_WARNX)