]> git.marmaro.de Git - mmh/blobdiff - uip/mhshowsbr.c
Updated #include's to point to new location of mts.h on mts/generic
[mmh] / uip / mhshowsbr.c
index d8733953acfc90a32fe162c8237ea2de03f5db09..83616a263fae3f5cdfa91052495edb7243c7ee9d 100644 (file)
@@ -12,7 +12,7 @@
 #include <errno.h>
 #include <setjmp.h>
 #include <signal.h>
-#include <zotnet/mts/mts.h>
+#include <mts/generic/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