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.32 by ayin, Wed Jan 18 08:40:44 2006 UTC vs.
Revision 1.33 by root, Wed Jan 18 12:06:11 2006 UTC

166 166
167#if defined(HAVE_STRUCT_UTMP) && !defined(HAVE_UTMP_PID) 167#if defined(HAVE_STRUCT_UTMP) && !defined(HAVE_UTMP_PID)
168 { 168 {
169# ifdef HAVE_TTYSLOT 169# ifdef HAVE_TTYSLOT
170 int fdstdin = dup (STDIN_FILENO); 170 int fdstdin = dup (STDIN_FILENO);
171 dup2 (pty->tty, STDIN_FILENO); 171 dup2 (tty, STDIN_FILENO);
172 172
173 i = ttyslot (); 173 i = ttyslot ();
174 if (rxvt_write_bsd_utmp (i, ut)) 174 if (rxvt_write_bsd_utmp (i, ut))
175 utmp_pos = i; 175 utmp_pos = i;
176 176

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines