]> diplodocus.org Git - nmh/blobdiff - uip/mhshow.c
Try using -man instead of -mandoc in test-manpages on OpenBSD
[nmh] / uip / mhshow.c
index 8e1a9003f7fd22da26d32c5ac4d33945c51a5106..94e5e0647778f2291fa7a87f844b2d9cef7fec76 100644 (file)
@@ -11,8 +11,6 @@
 #include <fcntl.h>
 #include <h/signals.h>
 #include <h/md5.h>
-#include <errno.h>
-#include <signal.h>
 #include <h/mts.h>
 #include <h/tws.h>
 #include <h/mime.h>
@@ -71,7 +69,6 @@ extern char *cache_private;
 extern int pausesw;
 extern int serialsw;
 extern char *progsw;
-extern int nolist;
 extern int nomore;     /* flags for moreproc/header display */
 extern char *formsw;
 
@@ -99,7 +96,6 @@ void flush_errors (void);
 void show_all_messages (CT *);
 
 /* mhfree.c */
-void free_content (CT);
 extern CT *cts;
 void freects_done (int) NORETURN;
 
@@ -337,7 +333,7 @@ do_cache:
            adios (maildir, "unable to change directory to");
 
        /* read folder and create message structure */
-       if (!(mp = folder_read (folder)))
+       if (!(mp = folder_read (folder, 1)))
            adios (NULL, "unable to read folder %s", folder);
 
        /* check for empty folder */
@@ -430,7 +426,6 @@ static void
 pipeser (int i)
 {
     if (i == SIGQUIT) {
-       unlink ("core");
        fflush (stdout);
        fprintf (stderr, "\n");
        fflush (stderr);