]> diplodocus.org Git - nmh/blobdiff - uip/mhshowsbr.c
-apop and -noapop were not documented in inc.man. -snoop was documented but
[nmh] / uip / mhshowsbr.c
index 71f55a4335d9afbf423124c83256767e7b594166..489993914eefdb126086a1f9c16315473cb8111a 100644 (file)
@@ -12,8 +12,8 @@
 #include <errno.h>
 #include <setjmp.h>
 #include <signal.h>
-#include <zotnet/mts/mts.h>
-#include <zotnet/tws/tws.h>
+#include <h/mts.h>
+#include <h/tws.h>
 #include <h/mime.h>
 #include <h/mhparse.h>
 
@@ -136,7 +136,9 @@ show_single_message (CT ct, char *form)
     union wait status;
 #endif
 
-    umask (ct->c_umask);
+    /* Allow user executable bit so that temporary directories created by
+     * the viewer (e.g., lynx) are going to be accessible */
+    umask (ct->c_umask & ~(0100));
 
     /*
      * If you have a format file, then display