[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Tue, 10 Jan 2023 13:16:11 -0500 (EST) |
branch: master
commit b8d6ff82a8444eafa74752e7170e3dcb1e3177e8
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Tue Jan 10 16:46:40 2023 +0000
* doc/info-stnd.texi (Invoking Info), NEWS:
Remove "/index" as possible info file extension, as the
purpose of this is obscure, it is not a proper file extension
and looks like a mistake, even though it isn't one.
Originally added 1997-08-06 by Matthew Wilcox to put split info
files in subdirectories in infodir.
* doc/filesys.c (info_suffixes): Remove "/index".
---
ChangeLog | 10 ++++++++++
NEWS | 3 +++
doc/info-stnd.texi | 2 +-
info/filesys.c | 1 -
4 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 22c081db73..babee5dd09 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2023-01-10 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * doc/info-stnd.texi (Invoking Info), NEWS:
+ Remove "/index" as possible info file extension, as the
+ purpose of this is obscure, it is not a proper file extension
+ and looks like a mistake, even though it isn't one.
+ Originally added 1997-08-06 by Matthew Wilcox to put split info
+ files in subdirectories in infodir.
+ * doc/filesys.c (info_suffixes): Remove "/index".
+
2023-01-09 Gavin Smith <gavinsmith0123@gmail.com>
* install-info/install-info.c (split_entry):
diff --git a/NEWS b/NEWS
index ec350b13fd..565c72967e 100644
--- a/NEWS
+++ b/NEWS
@@ -38,6 +38,9 @@ See the manual for detailed information.
. page headings generation is no longer linked to the @titlepage command
. microtype is off by default, for speed
+* info
+ . do not use "/index" as a possible file extension for Info files
+
7.0.1 (30 November 2022)
This is a bug-fix release with minimal changes.
diff --git a/doc/info-stnd.texi b/doc/info-stnd.texi
index 2eadd31963..9979a20f4a 100644
--- a/doc/info-stnd.texi
+++ b/doc/info-stnd.texi
@@ -168,7 +168,7 @@ authors.
If no entry is found in the directories, Info looks for files in its
search path with names based on @var{manual}. If @var{manual} is
not found, Info looks for it with a number of known extensions of Info
-files, namely @file{.info}, @file{-info}, @file{/index}, and @file{.inf}.
+files, namely @file{.info}, @file{-info}, and @file{.inf}.
For every known extension, if a regular file is not found, Info looks
for a compressed file. Info supports files compressed with @code{gzip},
@code{xz}, @code{bzip2}, @code{lzip}, @code{lzma}, @code{compress} and
diff --git a/info/filesys.c b/info/filesys.c
index 99497bbfb0..207308a7e9 100644
--- a/info/filesys.c
+++ b/info/filesys.c
@@ -43,7 +43,6 @@ typedef struct
static char *info_suffixes[] = {
".info",
"-info",
- "/index",
".inf", /* 8+3 file on filesystem which supports long file names */
#ifdef __MSDOS__
/* 8+3 file names strike again... */
- master updated (2a18f1062a -> 4f6f45269e), Gavin D. Smith, 2023/01/10
- [no subject], Gavin D. Smith, 2023/01/10
- [no subject],
Gavin D. Smith <=
- [no subject], Gavin D. Smith, 2023/01/10
- [no subject], Gavin D. Smith, 2023/01/10
- [no subject], Gavin D. Smith, 2023/01/10
- [no subject], Gavin D. Smith, 2023/01/10
- [no subject], Gavin D. Smith, 2023/01/10