From 8d38297d399c8875bb2b5b1c877d3276107a5de7 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 22 Jan 2006 01:00:42 +0000 Subject: [PATCH] *** empty log message *** --- MANIFEST | 1 + ptytty.m4 | 3 +++ src/fdpass.C | 5 ++++- src/logging.C | 8 ++++---- src/ptytty.C | 7 +++++-- src/ptytty.h | 4 +++- update_ptytty | 3 +++ 7 files changed, 23 insertions(+), 8 deletions(-) diff --git a/MANIFEST b/MANIFEST index e96f607a..eb7c7518 100644 --- a/MANIFEST +++ b/MANIFEST @@ -6,6 +6,7 @@ MANIFEST README.configure README.FAQ reconf +update_ptytty configure configure.ac config.sub diff --git a/ptytty.m4 b/ptytty.m4 index 74e9c844..5fd4fba1 100644 --- a/ptytty.m4 +++ b/ptytty.m4 @@ -1,3 +1,6 @@ +dnl this file is part of libptytty, do not make local modifications +dnl http://software.schmorp.de/pkg/libptytty + AC_DEFUN([PTY_CHECK], [ AC_CHECK_HEADERS( \ diff --git a/src/fdpass.C b/src/fdpass.C index 88c4bdfc..bf4f38cc 100644 --- a/src/fdpass.C +++ b/src/fdpass.C @@ -1,4 +1,7 @@ -/*--------------------------------*-C-*---------------------------------* +// This file is part of libptytty. Do not make local modifications. +// http://software.schmorp.de/pkg/libptytty + +/*----------------------------------------------------------------------* * File: fdpass.C *----------------------------------------------------------------------* * diff --git a/src/logging.C b/src/logging.C index 4a198a97..4f1dbf6c 100644 --- a/src/logging.C +++ b/src/logging.C @@ -1,4 +1,7 @@ -/*--------------------------------*-C-*---------------------------------* +// This file is part of libptytty. Do not make local modifications. +// http://software.schmorp.de/pkg/libptytty + +/*----------------------------------------------------------------------* * File: logging.C *----------------------------------------------------------------------* * @@ -447,14 +450,11 @@ update_lastlog (const char *fname, const char *pty, const char *host) # endif /* HAVE_STRUCT_LASTLOG */ } #endif /* LASTLOG_SUPPORT */ -/* ------------------------------------------------------------------------- */ #else - void ptytty_unix::login (int cmd_pid, bool login_shell, const char *hostname) { } - #endif diff --git a/src/ptytty.C b/src/ptytty.C index 0cb2a7fb..1c2cb7e5 100644 --- a/src/ptytty.C +++ b/src/ptytty.C @@ -1,4 +1,7 @@ -/*--------------------------------*-C-*---------------------------------* +// This file is part of libptytty. Do not make local modifications. +// http://software.schmorp.de/pkg/libptytty + +/*----------------------------------------------------------------------* * File: ptytty.C *----------------------------------------------------------------------* * @@ -21,7 +24,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *---------------------------------------------------------------------*/ -#include "../config.h" /* NECESSARY */ +#include "../config.h" #include "fdpass.h" #include "ptytty.h" diff --git a/src/ptytty.h b/src/ptytty.h index 8f4782d2..ff58306f 100644 --- a/src/ptytty.h +++ b/src/ptytty.h @@ -1,8 +1,10 @@ +// This file is part of libptytty. Do not make local modifications. +// http://software.schmorp.de/pkg/libptytty + #ifndef PTYTTY_H #define PTYTTY_H #include "libptytty.h" - #include "ptytty_conf.h" #if defined(HAVE__GETPTY) || defined(HAVE_OPENPTY) || defined(UNIX98_PTY) diff --git a/update_ptytty b/update_ptytty index df5108fd..381f5aaa 100755 --- a/update_ptytty +++ b/update_ptytty @@ -1,5 +1,8 @@ #!/bin/sh +# updates libptytty from pristine sources, check out libptytty +# as a subling of rxvt-unicode + for i in ptytty.m4 src/libptytty.h src/ptytty.C src/ptytty.h src/logging.C src/fdpass.C; do cp ../libptytty/$i $i done -- 2.34.1