-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: 76beae8e3e125e0ae6f28bc04ff48ad8f5b5c0a1:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit 76beae8e3e125e0ae6f28bc04ff48ad8f5b5c0a1
Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
Date:   Tue Dec 11 11:39:06 2007 +0000

    We require termios.h.

diff --git a/configure.ac b/configure.ac

index c1753af5f3ddf5f9842fbdb8aabaa53813246b1f..

index ..f7c6e5ba90b1611391c485e0d3d16ba1e74f42d4 100644

--- a/configure.ac
+++ b/configure.ac
@@ -482,7 +482,6 @@ AC_CHECK_HEADERS( \
 	stdarg.h \
 	stdlib.h \
 	string.h \
-	termios.h \
 	unistd.h \
 	sys/byteorder.h \
 	sys/ioctl.h \
@@ -501,9 +500,8 @@ dnl# check to allow both <termios.h> and <sys/ioctl.h>
 AC_CACHE_CHECK(whether termios.h and sys/ioctl.h may both be included, rxvt_cv_header_sysioctl,
 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>
 #include <sys/ioctl.h>
-#ifdef HAVE_TERMIOS_H
 #include <termios.h>
-#endif]], [[int a = ECHO;]])],[rxvt_cv_header_sysioctl=yes],[rxvt_cv_header_sysioctl=no])])
+]], [[int a = ECHO;]])],[rxvt_cv_header_sysioctl=yes],[rxvt_cv_header_sysioctl=no])])

 AC_CACHE_CHECK([for XPointer], rxvt_cv_xpointer,
 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <X11/Xlib.h>]], [[XPointer dummy;]])],[rxvt_cv_xpointer=yes],[rxvt_cv_xpointer=no])])
diff --git a/src/init.C b/src/init.C

index 101ec96afc7fdd392849c9069162a23cea66443f..

index ..94c00a3777c36e5f71040c6ed72e56919e49a30e 100644

--- a/src/init.C
+++ b/src/init.C
@@ -1228,7 +1228,6 @@ rxvt_get_ttymode (ttymode_t *tio, int erase)
    * Debugging
    */
 #ifdef DEBUG_TTYMODE
-#ifdef HAVE_TERMIOS_H
   /* c_iflag bits */
   fprintf (stderr, "Input flags\n");

@@ -1301,7 +1300,6 @@ rxvt_get_ttymode (ttymode_t *tio, int erase)

   fprintf (stderr, "\n");
 # undef FOO
-# endif /* HAVE_TERMIOS_H */
 #endif /* DEBUG_TTYMODE */
 }

diff --git a/src/main.C b/src/main.C

index 8c9fe7a2ffc2410fb451e7eca42713e9b3644246..

index ..7c80e23624ed26b02a87a641bc9690513ef89bf7 100644

--- a/src/main.C
+++ b/src/main.C
@@ -40,9 +40,7 @@
 #include <csignal>
 #include <cstring>

-#ifdef HAVE_TERMIOS_H
 # include <termios.h>
-#endif

 #ifdef HAVE_XSETLOCALE
 # define X_LOCALE

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 13:36:13 2024