You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
screen/screen-4.0.3-ptygroup.patch

20 lines
528 B

diff -up screen-4.0.3/window.c.ptygroup screen-4.0.3/window.c
--- screen-4.0.3/window.c.ptygroup 2008-02-26 10:38:35.000000000 +0100
+++ screen-4.0.3/window.c 2008-02-26 10:39:53.000000000 +0100
@@ -1083,6 +1083,7 @@ char **namep;
return f;
#ifndef PTYROFS
+#if 0
#ifdef PTYGROUP
if (chown(*namep, real_uid, PTYGROUP) && !eff_uid)
#else
@@ -1093,6 +1094,7 @@ char **namep;
close(f);
return -1;
}
+#endif
#ifdef UTMPOK
if (chmod(*namep, lflag ? TtyMode : (TtyMode & ~022)) && !eff_uid)
#else