projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bring back the LINUX-IO check from the last commit
[mmh]
/
uip
/
mhlistsbr.c
diff --git
a/uip/mhlistsbr.c
b/uip/mhlistsbr.c
index
dc85bcc
..
2a4f504
100644
(file)
--- a/
uip/mhlistsbr.c
+++ b/
uip/mhlistsbr.c
@@
-9,13
+9,13
@@
#include <h/mh.h>
#include <fcntl.h>
#include <h/mh.h>
#include <fcntl.h>
-#include <h/signals.h>
#include <errno.h>
#include <errno.h>
-#include <signal.h>
#include <h/tws.h>
#include <h/mime.h>
#include <h/mhparse.h>
#include <h/utils.h>
#include <h/tws.h>
#include <h/mime.h>
#include <h/mhparse.h>
#include <h/utils.h>
+#include <sys/stat.h>
+#include <sysexits.h>
/* mhmisc.c */
int part_ok(CT, int);
/* mhmisc.c */
int part_ok(CT, int);
@@
-118,7
+118,7
@@
list_switch(CT ct, int toplevel, int verbose, int debug)
default:
/* list_debug (ct); */
default:
/* list_debug (ct); */
- adios(NULL, "unknown content type %d", ct->c_type);
+ adios(EX_DATAERR, NULL, "unknown content type %d", ct->c_type);
break;
}
break;
}