+Sat Dec 28 21:06:43 1996 Sam Hartman <hartmans@luminous.MIT.EDU>
+
+ * login.c: Force environment variables like HOME to be set even if
+ -p given.
+
Tue Dec 24 16:08:41 1996 Tom Yu <tlyu@mit.edu>
* configure.in: Fix up "test $ac_cv_c_cross" to deal with
read_env_vars_from_file ("/etc/TIMEZONE");
#else
if (tz)
- setenv ("TZ", tz, 0);
+ setenv ("TZ", tz, 1);
#endif
if (ccname)
- setenv("KRB5CCNAME", ccname, 0);
+ setenv("KRB5CCNAME", ccname, 1);
- setenv("HOME", pwd->pw_dir, 0);
- setenv("PATH", LPATH, 0);
- setenv("USER", pwd->pw_name, 0);
- setenv("SHELL", pwd->pw_shell, 0);
+ setenv("HOME", pwd->pw_dir, 1);
+ setenv("PATH", LPATH, 1);
+ setenv("USER", pwd->pw_name, 1);
+ setenv("SHELL", pwd->pw_shell, 1);
if (term[0] == '\0')
(void) strncpy(term, stypeof(tty), sizeof(term));