Page MenuHomeFreeBSD

D46095.id141838.diff
No OneTemporary

D46095.id141838.diff

diff --git a/usr.bin/calendar/calendar.c b/usr.bin/calendar/calendar.c
--- a/usr.bin/calendar/calendar.c
+++ b/usr.bin/calendar/calendar.c
@@ -211,7 +211,7 @@
lc = login_getpwclass(pw);
if (setusercontext(lc, pw, pw->pw_uid,
- LOGIN_SETALL) != 0)
+ LOGIN_SETALL & ~LOGIN_SETLOGIN) != 0)
errx(1, "setusercontext");
setenv("HOME", pw->pw_dir, 1);
cal();

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 4:00 AM (11 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14669916
Default Alt Text
D46095.id141838.diff (395 B)

Event Timeline