create temporary directories (e.g., lynx) will be able to access them.
+Mon Aug 7 20:11:09 CEST 2000 Ruud de Rooij <ruud@ruud.org>
+
+ * Modify umask set by mhshow to enable user execute bit, so that
+ viewers that create temporary directories (e.g., lynx) will be
+ able to access them.
+
Thu Aug 03 17:14:08 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
* TODO: Allow multiple simultaneous differing contexts, probably
int main() {
/* Ultrix mips cc rejects this. */
-typedef int charset[2]; const charset x;
+typedef int charset[2]; const charset x = {0,0};
/* SunOS 4.1.1 cc rejects this. */
char const *const *ccp;
char **p;
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