summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog31
-rwxr-xr-xunix/installManPage7
2 files changed, 22 insertions, 16 deletions
diff --git a/ChangeLog b/ChangeLog
index b4d08ce..cec1c2c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,21 +1,26 @@
+2010-02-26 Donal K. Fellows <dkf@users.sf.net>
+
+ * unix/installManPage: Remap non-alphanumeric sequences in filenames
+ to single underscores (especially colons).
+
2010-02-26 Pat Thoyts <patthoyts@users.sourceforge.net>
- * tests/zlib.test: Add tests for [Bug 2818131] which was crashing
- with mismatched zlib algorithms used in combination with
- gets. This issue has been fixed by Andreas last commit.
+ * tests/zlib.test: Add tests for [Bug 2818131] which was crashing with
+ mismatched zlib algorithms used in combination with gets. This issue
+ has been fixed by Andreas's last commit.
2010-02-25 Jan Nijtmans <nijtmans@users.sf.net>
- * generic/tclHash.c [ tcl-Feature Requests-2958832 ] Further
- * generic/tclLiteral.c speed-up of ouster-hash function.
- * generic/tclObj.c
- * generic/tclCkalloc.c Eliminate various unnecessary (ClientData)
- * generic/tclTest.c type casts.
- * generic/tclTestObj.c
- * generic/tclTestProcBodyObj.c
- * unix/tclUnixTest.c
- * unix/tclUnixTime.c
- * unix/tclXtTest.c
+ * generic/tclHash.c: [FRQ 2958832]: Further speed-up of the
+ * generic/tclLiteral.c: ouster-hash function.
+ * generic/tclObj.c:
+ * generic/tclCkalloc.c: Eliminate various unnecessary (ClientData)
+ * generic/tclTest.c: type casts.
+ * generic/tclTestObj.c:
+ * generic/tclTestProcBodyObj.c:
+ * unix/tclUnixTest.c:
+ * unix/tclUnixTime.c:
+ * unix/tclXtTest.c:
2010-02-24 Donal K. Fellows <dkf@users.sf.net>
diff --git a/unix/installManPage b/unix/installManPage
index 6bdccf0..4d615bf 100755
--- a/unix/installManPage
+++ b/unix/installManPage
@@ -59,9 +59,7 @@ test -z "$SymOrLoc" && SymOrLoc="$Dir/"
# backticks which doesn't pass backslashes literally.
#
Names=`sed -n '
-# Look for a line, that starts with .SH NAME
-# optionally allow NAME to be surrounded
-# by quotes.
+# Look for a line that starts with .SH NAME
/^\.SH NAME/{
# Read next line
n
@@ -71,6 +69,9 @@ Names=`sed -n '
s/\\\ //g
# Delete from \- to the end of line
s/ \\\-.*//
+# Convert all non-space non-alphanum sequences
+# to single underscores.
+ s/[^ A-Za-z0-9][^ A-Za-z0-9]*/_/g
# print the result and exit
p;q
}' $ManPage`