texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Gavin D. Smith
Date: Mon, 23 Dec 2024 15:14:26 -0500 (EST)

branch: master
commit e714e7b1cf6c9eca05e3b6f02757f92d9bf9e9e9
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Mon Dec 23 19:13:46 2024 +0000

    * system.h (SET_BINARY): Remove now unused.
---
 ChangeLog | 4 ++++
 system.h  | 2 --
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 040fd560f8..54ea3b3aa9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2024-12-23  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * system.h (SET_BINARY): Remove now unused.
+
 2024-12-23  Gavin Smith <gavinsmith0123@gmail.com>
 
        * configure.ac (AC_CONFIG_HEADERS): Elaborate on config.in
diff --git a/system.h b/system.h
index 7bf5442160..04b6daea9b 100644
--- a/system.h
+++ b/system.h
@@ -99,10 +99,8 @@ extern int kill (pid_t, int);
 # define IS_SLASH(c)   ((c) == '/' || (c) == '\\')
 # define HAS_SLASH(s)  (strchr ((s), '/') || strchr ((s), '\\'))
 # define IS_ABSOLUTE(n)        (IS_SLASH((n)[0]) || HAVE_DRIVE(n))
-# define SET_BINARY(f)  do {if (!isatty(f)) setmode(f,O_BINARY);} while(0)
 
 #else  /* not O_BINARY, i.e., Unix */
-# define SET_BINARY(f) (void)0
 # define FOPEN_RBIN    "r"
 # define FOPEN_WBIN    "w"
 # define IS_SLASH(c)   ((c) == '/')



reply via email to

[Prev in Thread] Current Thread [Next in Thread]