… | |
… | |
55 | |
55 | |
56 | /* |
56 | /* |
57 | * make and write utmp and wtmp entries |
57 | * make and write utmp and wtmp entries |
58 | */ |
58 | */ |
59 | void |
59 | void |
60 | rxvt_ptytty::login (int cmd_pid, bool login_shell, const char *hostname) |
60 | rxvt_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 | */ |
229 | void |
229 | void |
230 | rxvt_ptytty::logout () |
230 | rxvt_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 |