# ------------------------------------------------------------------------------
# main.c | 3 ++-
# os2main.c | 3 ++-
# version.h | 2 +-
# xterm.log.html | 8 ++++++++
# 4 files changed, 13 insertions(+), 3 deletions(-)
# ------------------------------------------------------------------------------
Index: main.c
--- xterm-142+/main.c Mon Aug 14 19:41:25 2000
+++ xterm-143/main.c Sat Aug 19 14:16:36 2000
@@ -1326,7 +1326,8 @@
if (abbrev(argv[1], "-help"))
Help();
for (n = 1; n < argc; n++) {
- if (abbrev(argv[n], "-class"))
+ if (strlen(argv[n]) > 2
+ && abbrev(argv[n], "-class"))
if ((my_class = argv[++n]) == 0)
Help();
}
Index: os2main.c
--- xterm-142+/os2main.c Mon Aug 14 19:43:26 2000
+++ xterm-143/os2main.c Sat Aug 19 14:16:36 2000
@@ -847,7 +847,8 @@
if (abbrev(argv[1], "-help"))
Help();
for (n = 1; n < argc; n++) {
- if (abbrev(argv[n], "-class"))
+ if (strlen(argv[n]) > 2
+ && abbrev(argv[n], "-class"))
if ((my_class = argv[++n]) == 0)
Help();
}
Index: version.h
--- xterm-142+/version.h Fri Aug 18 06:42:36 2000
+++ xterm-143/version.h Sat Aug 19 14:15:59 2000
@@ -6,5 +6,5 @@
* XFree86 to which this version of xterm has been built. The number in
* parentheses is my patch number (T.Dickey).
*/
-#define XTERM_PATCH 142
+#define XTERM_PATCH 143
#define XFREE86_VERSION "XFree86 4.0.1b"
Index: xterm.log.html
--- xterm-142+/xterm.log.html Fri Aug 18 06:22:35 2000
+++ xterm-143/xterm.log.html Sat Aug 19 22:49:36 2000
@@ -42,6 +42,7 @@
xc/programs/Xserver/hw/xfree86).
<UL>
+<LI><A HREF="#xterm_143">Patch #143 - 2000/8/19 - XFree86 4.0.1b</A>
<LI><A HREF="#xterm_142">Patch #142 - 2000/8/18 - XFree86 4.0.1b</A>
<LI><A HREF="#xterm_141">Patch #141 - 2000/7/14 - XFree86 4.0.1b</A>
<LI><A HREF="#xterm_140">Patch #140 - 2000/7/23 - XFree86 4.0.1</A>
@@ -186,6 +187,13 @@
<LI><A HREF="#xterm_02">Patch #2 - 1996/1/7</A>
<LI><A HREF="#xterm_01">Patch #1 - 1996/1/6</A>
</UL>
+
+<H1><A NAME="xterm_143">Patch #143 - 2000/8/19 - XFree86 4.0.1b</A></H1>
+<ul>
+ <li>add a check to ensure that <code>-class</code> command-line option
+ is not confused with <code>-c</code> (reported by Paul Townsend
+ <aab@aab.cc.purdue.edu>).
+</ul>
<H1><A NAME="xterm_142">Patch #142 - 2000/8/18 - XFree86 4.0.1b</A></H1>
<ul>