diff options
author | Joe Mistachkin <joe@mistachkin.com> | 2007-01-19 08:17:34 (GMT) |
---|---|---|
committer | Joe Mistachkin <joe@mistachkin.com> | 2007-01-19 08:17:34 (GMT) |
commit | ea90619addc53b48a04c8596d172f074dc7527cb (patch) | |
tree | 40489e4769c75174227797963901549e65d43978 /tools | |
parent | 34a3970c39dead78485d1bd7b7f4b858922c8f69 (diff) | |
download | tcl-ea90619addc53b48a04c8596d172f074dc7527cb.zip tcl-ea90619addc53b48a04c8596d172f074dc7527cb.tar.gz tcl-ea90619addc53b48a04c8596d172f074dc7527cb.tar.bz2 |
Windows build fixes
Diffstat (limited to 'tools')
-rw-r--r-- | tools/man2tcl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/man2tcl.c b/tools/man2tcl.c index aa8dfbc..a90b729 100644 --- a/tools/man2tcl.c +++ b/tools/man2tcl.c @@ -15,12 +15,13 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: man2tcl.c,v 1.10 2005/11/04 00:06:49 dkf Exp $ + * RCS: @(#) $Id: man2tcl.c,v 1.11 2007/01/19 08:17:35 mistachkin Exp $ */ static char sccsid[] = "@(#) man2tcl.c 1.3 95/08/12 17:34:08"; #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <ctype.h> #include <errno.h> @@ -135,7 +136,7 @@ main( } lineNumber++; - if ((line[0] == '\'') && (line[1] == '\\') && (line[2] == '\"')) { + if (((line[0] == '.') || (line[0] == '\'')) && (line[1] == '\\') && (line[2] == '\"')) { /* * This line is a comment. Ignore it. */ |