From d97026832235532614a971afb76fe7d97998b1d5 Mon Sep 17 00:00:00 2001 From: "Mirar (Pontus Hagland)" <pike@sort.mirar.org> Date: Thu, 17 Dec 1998 03:06:50 +0100 Subject: [PATCH] bugfix for termio Rev: src/modules/files/file.c:1.131 Rev: src/modules/files/file_functions.h:1.8 Rev: src/modules/files/termios.c:1.2 --- src/modules/files/file.c | 14 +++++++------- src/modules/files/file_functions.h | 2 +- src/modules/files/termios.c | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/modules/files/file.c b/src/modules/files/file.c index e54b1131a8..bff2e6d8e4 100644 --- a/src/modules/files/file.c +++ b/src/modules/files/file.c @@ -5,7 +5,7 @@ \*/ #include "global.h" -RCSID("$Id: file.c,v 1.130 1998/12/17 00:48:26 mirar Exp $"); +RCSID("$Id: file.c,v 1.131 1998/12/17 02:06:46 mirar Exp $"); #include "fdlib.h" #include "interpret.h" #include "svalue.h" @@ -2311,14 +2311,14 @@ void check_static_file_data(struct callback *a, void *b, void *c) } #endif -#if defined(WITH_TERMIOS) && defined(HAVE_TERMIOS_H) +#if defined(HAVE_TERMIOS_H) void file_tcgetattr(INT32 args); void file_tcsetattr(INT32 args); -void file_tcsendbreak(INT32 args); -void file_tcdrain(INT32 args); -void file_tcflow(INT32 args); -void file_tcgetpgrp(INT32 args); -void file_tcsetpgrp(INT32 args); +/* void file_tcsendbreak(INT32 args); */ +/* void file_tcdrain(INT32 args); */ +/* void file_tcflow(INT32 args); */ +/* void file_tcgetpgrp(INT32 args); */ +/* void file_tcsetpgrp(INT32 args); */ #endif void pike_module_init(void) diff --git a/src/modules/files/file_functions.h b/src/modules/files/file_functions.h index 8106a46f06..62dd6485d0 100644 --- a/src/modules/files/file_functions.h +++ b/src/modules/files/file_functions.h @@ -55,7 +55,7 @@ FILE_FUNC("trylock",file_trylock,"function(void|int:object)") #endif -#if defined(WITH_TERMIOS) && defined(HAVE_TERMIOS_H) +#if defined(HAVE_TERMIOS_H) FILE_FUNC("tcgetattr",file_tcgetattr,"function(void:mapping)") FILE_FUNC("tcsetattr",file_tcsetattr,"function(mapping,void|string:int)") /* FILE_FUNC("tcsendbreak",file_tcsendbreak,"function(int:int)") */ diff --git a/src/modules/files/termios.c b/src/modules/files/termios.c index bbeb36fa05..22d91db84d 100644 --- a/src/modules/files/termios.c +++ b/src/modules/files/termios.c @@ -1,8 +1,8 @@ #include "global.h" -RCSID("$Id: termios.c,v 1.1 1998/12/17 00:48:30 mirar Exp $"); +RCSID("$Id: termios.c,v 1.2 1998/12/17 02:06:50 mirar Exp $"); #include "file_machine.h" -#if defined(WITH_TERMIOS) && defined(HAVE_TERMIOS_H) +#if defined(HAVE_TERMIOS_H) #include <termios.h> #include <unistd.h> -- GitLab