*** empty log message ***
authorroot <root>
Tue, 17 Jan 2006 10:59:32 +0000 (10:59 +0000)
committerroot <root>
Tue, 17 Jan 2006 10:59:32 +0000 (10:59 +0000)
src/logging.C
src/ptytty.C
src/ptytty.h
src/rxvt.h

index 733884c..d3f0091 100644 (file)
@@ -57,7 +57,7 @@ static void             rxvt_update_lastlog              (const char *fname, con
  * make and write utmp and wtmp entries
  */
 void
-rxvt_ptytty::login (int cmd_pid, bool login_shell, const char *hostname)
+rxvt_ptytty_unix::login (int cmd_pid, bool login_shell, const char *hostname)
 {
   const char *pty = name;
 
@@ -227,7 +227,7 @@ rxvt_ptytty::login (int cmd_pid, bool login_shell, const char *hostname)
  * remove utmp and wtmp entries
  */
 void
-rxvt_ptytty::logout ()
+rxvt_ptytty_unix::logout ()
 {
   if (!cmd_pid)
     return;
index 68b25cd..e58641e 100644 (file)
@@ -224,7 +224,6 @@ get_tty (char *ttydev)
 static int
 control_tty (int fd_tty)
 {
-#ifndef __QNX__
   int fd;
 
   /* ---------------------------------------- */
@@ -288,7 +287,6 @@ control_tty (int fd_tty)
     return -1;         /* fatal */
   close (fd);
   /* ---------------------------------------- */
-#endif                         /* ! __QNX__ */
 
   return 0;
 }
index 75b419e..8bbbba3 100644 (file)
 #  endif
 # endif
 
-# ifdef __QNX__
-#  include <sys/utsname.h>
-#  define ut_name              ut_user
-# endif
-
 #endif
 
 enum rxvt_privaction { IGNORE = 'i', SAVE = 's', RESTORE = 'r' };
index aa12f09..3d43eb0 100644 (file)
@@ -1124,7 +1124,7 @@ struct rxvt_term : zero_initialized, rxvt_vars {
   char           *cmdbuf_ptr, *cmdbuf_endp;
   char            cmdbuf_base[CBUFSIZ];
 
-  rxvt_ptytty     pty;
+  rxvt_ptytty_unix pty;
 
   rxvt_salloc    *talloc;             // text line allocator
   rxvt_salloc    *ralloc;             // rend line allocator