]> git.pld-linux.org Git - packages/SysVinit.git/commitdiff
- patch from rawhide.
authorkloczek <kloczek@pld-linux.org>
Sat, 16 Jun 2001 12:52:56 +0000 (12:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sysvinit-umask.patch -> 1.1

sysvinit-umask.patch [new file with mode: 0644]

diff --git a/sysvinit-umask.patch b/sysvinit-umask.patch
new file mode 100644 (file)
index 0000000..fc77bac
--- /dev/null
@@ -0,0 +1,20 @@
+--- sysvinit-2.78/src/init.c.foo       Wed Apr  4 01:42:27 2001
++++ sysvinit-2.78/src/init.c   Wed Apr  4 01:42:49 2001
+@@ -2451,6 +2451,8 @@
+       p = argv[0];
+       
++  umask(022);
++      
+   /*
+    *  Is this telinit or init ?
+    */
+@@ -2523,8 +2525,6 @@
+   /* Check syntax. */
+   if (argc - optind != 1 || strlen(argv[optind]) != 1) Usage(p);
+   if (!strchr("0123456789SsQqAaBbCcUu", argv[optind][0])) Usage(p);
+-
+-  umask(022);
+   /* Open the fifo and write a command. */
+   memset(&request, 0, sizeof(request));
This page took 0.031037 seconds and 4 git commands to generate.