ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/logging.C
(Generate patch)

Comparing rxvt-unicode/src/logging.C (file contents):
Revision 1.28 by root, Tue Jan 17 10:19:13 2006 UTC vs.
Revision 1.29 by root, Tue Jan 17 10:59:32 2006 UTC

55 55
56/* 56/*
57 * make and write utmp and wtmp entries 57 * make and write utmp and wtmp entries
58 */ 58 */
59void 59void
60rxvt_ptytty::login (int cmd_pid, bool login_shell, const char *hostname) 60rxvt_ptytty_unix::login (int cmd_pid, bool login_shell, const char *hostname)
61{ 61{
62 const char *pty = name; 62 const char *pty = name;
63 63
64 if (!pty || !*pty) 64 if (!pty || !*pty)
65 return; 65 return;
225/* ------------------------------------------------------------------------- */ 225/* ------------------------------------------------------------------------- */
226/* 226/*
227 * remove utmp and wtmp entries 227 * remove utmp and wtmp entries
228 */ 228 */
229void 229void
230rxvt_ptytty::logout () 230rxvt_ptytty_unix::logout ()
231{ 231{
232 if (!cmd_pid) 232 if (!cmd_pid)
233 return; 233 return;
234 234
235#ifdef HAVE_STRUCT_UTMP 235#ifdef HAVE_STRUCT_UTMP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines