texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * system.h (ALSO_NULL_DEVICE): Remove unused.


From: Gavin D. Smith
Subject: branch master updated: * system.h (ALSO_NULL_DEVICE): Remove unused.
Date: Sun, 16 Oct 2022 09:29:27 -0400

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new aa7ca3e125 * system.h (ALSO_NULL_DEVICE): Remove unused.
aa7ca3e125 is described below

commit aa7ca3e12505aadd639b7c3f5e392ebd41a79505
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Oct 16 14:29:19 2022 +0100

    * system.h (ALSO_NULL_DEVICE): Remove unused.
---
 ChangeLog |  4 ++++
 system.h  | 11 +----------
 2 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6591ca269b..fc3a1ebe6c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2022-10-16  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       * system.h (ALSO_NULL_DEVICE): Remove unused.
+
 2022-10-16  Gavin Smith  <gavinsmith0123@gmail.com>
 
        Check for man page with 'man -w'
diff --git a/system.h b/system.h
index 047d79446a..e32937f16e 100644
--- a/system.h
+++ b/system.h
@@ -1,6 +1,6 @@
 /* system.h: system-dependent declarations; include this first.
 
-   Copyright 1997-2019 Free Software Foundation, Inc.
+   Copyright 1997-2022 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -115,10 +115,6 @@ extern char *strerror ();
 #   define HAVE_LONG_FILENAMES(dir)  (pathconf (dir, _PC_NAME_MAX) > 12)
 #   define NULL_DEVICE "/dev/null"
 #   define DEFAULT_INFOPATH "c:/djgpp/info;/usr/local/info;/usr/info;."
-    /* DJGPP supports /dev/null, which is okay for Unix aficionados,
-       shell scripts and Makefiles, but interactive DOS die-hards
-       would probably want to have NUL as well.  */
-#   define ALSO_NULL_DEVICE  "NUL"
 #  else  /* O_BINARY && !__DJGPP__ */
 #   define HAVE_LONG_FILENAMES(dir)  (0)
 #   define NULL_DEVICE "NUL"
@@ -182,11 +178,6 @@ extern int kill (pid_t, int);
 # define PIPE_USE_FORK 1
 #endif /* not O_BINARY */
 
-/* Everything but DJGPP.  */
-#ifndef ALSO_NULL_DEVICE
-# define ALSO_NULL_DEVICE  ""
-#endif
-
 #ifdef HAVE_PWD_H
 #include <pwd.h>
 #endif



reply via email to

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