Fix permisions when reading from stdin

This commit is contained in:
Glenn L McGrath committed 2001-07-29 06:04:26 +00:00
1 parent eba260587a
commit b6071b6341
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -117,7 +117,7 @@ int uuencode_main(int argc, char **argv)
}
break;
case 1:
mode = umask(0666);
mode = 0666 & ~umask(0666);
break;
default:
show_usage();
+1 -1
View File
@@ -117,7 +117,7 @@ int uuencode_main(int argc, char **argv)
}
break;
case 1:
mode = umask(0666);
mode = 0666 & ~umask(0666);
break;
default:
show_usage();