diff --git a/cpio-2.9-sys_umask.patch b/cpio-2.9-sys_umask.patch index de84fb4..d4fd425 100644 --- a/cpio-2.9-sys_umask.patch +++ b/cpio-2.9-sys_umask.patch @@ -26,8 +26,8 @@ diff -urp cpio-2.9.90-orig/src/main.c cpio-2.9.90/src/main.c --- cpio-2.9.90-orig/src/main.c 2008-08-25 16:42:48.000000000 +0200 +++ cpio-2.9.90/src/main.c 2009-02-10 17:44:47.000000000 +0100 @@ -790,6 +790,7 @@ main (int argc, char *argv[]) - program_name = argv[0]; - + set_program_name (argv[0]); + argp_version_setup ("cpio", program_authors); process_args (argc, argv); + sys_umask = umask(0);