- fix multiuser support (#446049)
parent
bc9ef8342c
commit
61487d3da5
@ -1,19 +0,0 @@
|
|||||||
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
|
|
Loading…
Reference in new issue