cpio/cpio-2.6-umask.patch
2005-01-24 15:00:23 +00:00

21 lines
418 B
Diff

--- cpio-2.6/src/main.c.umask 2005-01-24 14:24:41.281975935 +0000
+++ cpio-2.6/src/main.c 2005-01-24 14:38:59.127437814 +0000
@@ -741,8 +741,7 @@
textdomain (PACKAGE);
program_name = argv[0];
- umask (0);
-
+
#ifdef __TURBOC__
_fmode = O_BINARY; /* Put stdin and stdout in binary mode. */
#endif
@@ -752,6 +751,7 @@
#endif
process_args (argc, argv);
+ umask (0);
initialize_buffers ();