Commit c90c3d62 authored by Robert Luberda's avatar Robert Luberda

Imported Upstream version 3.3.00

parent eef3c180
version 3.3.00
==============
- Item 4 in the license, which some people found objectionable, has
been modified.
- Ispell and the scripts now handle temporary files securely.
- Sample local.h files are now distributed for several popular systems.
- Support has been added for compiling under DOS/Windows. See
pc/README for information. Note that Windows is still an
unsupported operating system because I don't have a Windows
development environment. I will happily accept patches to correct
problems under Windows, but cannot solve bugs myself.
- External deformatters now work.
- The two supplied deformatters have been renamed to defmt-c and
defmt-sh. This change is necessary to allow them to be built on
stupid MS-DOS systems with limits on filename lengths.
- A bug that could cause infinite loops when long lines were fed to
ispell in "-a" mode has been corrected.
- A number of misspellings have been removed from the English
dictionaries, and new words have been added.
- Command-line options can now be passed in the ISPELL_OPTIONS
environment variable.
- A CHANGES file is now being distributed.
- A number of configuration options have been added. See config.X if
something isn't to your liking.
- Workarounds have been added for POSIX stupidity that broke
backwards compatibility.
- Obsolete notes about special systems have been removed from the
README.
- A number of configuration options have been changed to have
defaults that are more appropriate to modern systems.
- TeX deformatting has been slightly improved.
- A kludge has been added to deal with the fact that the German
"ess-zed" character has no uppercase equivalent. Previously, when
ispell was presented with an all-uppercase word such as GROSS, it
would suggest that same word as a correction. It now accepts such
constructs without complaint.
- A number of portability improvements have been added.
- Most ispell support programs and scripts now support the -w switch
where appropriate.
- A new expand option, -e5, has been added.
- A new deformatting flag, -o ("ordinary" file) has been added.
- The shell scripts now use /tmp for temporary files by default,
since some systems (Mac OS X) don't have /usr/tmp and modern
machines have plenty of space in /tmp.
- An ancient syntax error in parse.y, long undetected by older
versions of both yacc and bison, has been corrected.
- When MASKBITS is set to 64, the characters "[\]^_`" are now allowed
as flag characters.
- On 64-bit machines, MASKBITS will always be at least 64.
- The defaults for various constants (in particular, the maximum size
and number of string characters) have been expanded so that ispell
can support most European languages at the default settings.
- The English dictionary now supports all the ISO Latin-1 characters,
so that words borrowed from other languages can be spell-checked.
- The English affix file contains sample declarations for accented
characters encoded in HTML and UTF-8.
- A bug has been corrected that caused ispell to hang when control-Z
was typed. Ispell also now correctly resets the terminal when
suspended. However, it still doesn't refresh the screen when
resumed; fixing the latter problem is not easy.
- Thanks to Ed Avis, the code in tgood.c has been improved a lot.
(Many of the other changes, such as the -e5 switch, are also due to
Ed.)
- Ispell will no longer segfault under certain conditions if HOME is
not in the environment.
- Trailing whitespace is now trimmed from the names of files included
by the &Include_File& feature.
version 3.2.06
==============
Changes prior to version 3.2.06 are not itemized.
#
# $Id: Magiclines,v 1.11 2001/07/25 21:51:47 geoff Exp $
# $Id: Magiclines,v 1.13 2005/04/14 14:38:23 geoff Exp $
#
# Copyright 1993, 1999, 2001, Geoff Kuenning, Claremont, CA
# Copyright 1993, 1999, 2001, 2002, Geoff Kuenning, Claremont, CA
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
......@@ -17,16 +17,8 @@
# such. Binary redistributions based on modified source code
# must be clearly marked as modified versions in the documentation
# and/or other materials provided with the distribution.
# 4. Any web site or other electronic service that offers ispell for
# download or other electronic transfer as a separate entity, in
# either source or binary form, must also include a prominent statement
# indicating that information about ispell can be obtained from the
# following Web site URL:
# http://fmg-www.cs.ucla.edu/geoff/ispell.html
# If the offering service supports hyperlinks, the aforementioned
# Web site must also be offered as a hyperlink. Condition #4 does
# not apply if ispell is offered only as part of a larger, aggregated
# product such as a word processor or packaged operating system.
# 4. The code that causes the 'ispell -v' command to display a prominent
# link to the official ispell Web site may not be removed.
# 5. The name of Geoff Kuenning may not be used to endorse or promote
# products derived from this software without specific prior
# written permission.
......@@ -52,6 +44,12 @@
# file for more information.
#
# $Log: Magiclines,v $
# Revision 1.13 2005/04/14 14:38:23 geoff
# Update license.
#
# Revision 1.12 2001/12/26 05:55:04 geoff
# Get rid of obsolete options
#
# Revision 1.11 2001/07/25 21:51:47 geoff
# Minor license update.
#
......@@ -68,21 +66,9 @@
# Get rid of all old RCS log lines in preparation for the 3.1 release.
#
#
0 short 0xffff9602 ispell hash file
>2 short 0x00 - 8-bit, no capitalization, 26 flags
>2 short 0x01 - 7-bit, no capitalization, 26 flags
>2 short 0x02 - 8-bit, capitalization, 26 flags
>2 short 0x03 - 7-bit, capitalization, 26 flags
>2 short 0x04 - 8-bit, no capitalization, 52 flags
>2 short 0x05 - 7-bit, no capitalization, 52 flags
>2 short 0x06 - 8-bit, capitalization, 52 flags
>2 short 0x07 - 7-bit, capitalization, 52 flags
>2 short 0x08 - 8-bit, no capitalization, 128 flags
>2 short 0x09 - 7-bit, no capitalization, 128 flags
>2 short 0x0A - 8-bit, capitalization, 128 flags
>2 short 0x0B - 7-bit, capitalization, 128 flags
>2 short 0x0C - 8-bit, no capitalization, 256 flags
>2 short 0x0D - 7-bit, no capitalization, 256 flags
>2 short 0x0E - 8-bit, capitalization, 256 flags
>2 short 0x0F - 7-bit, capitalization, 256 flags
0 short 0xffff9602 ispell 3.x hash file
>2 short 0x03 - 8-bit, capitalization, 26 flags
>2 short 0x07 - 8-bit, capitalization, 52 flags
>2 short 0x0B - 8-bit, capitalization, 128 flags
>2 short 0x0F - 8-bit, capitalization, 256 flags
>4 short >0 and %d string characters
This diff is collapsed.
: Use /bin/sh
#
# $Id: Makekit,v 1.45 2001/07/25 21:51:46 geoff Exp $
# $Id: Makekit,v 1.51 2005/04/27 01:18:34 geoff Exp $
#
# Copyright 1992, 1993, 2001, Geoff Kuenning, Claremont, CA
# Copyright 1992, 1993, 2001, 2005, Geoff Kuenning, Claremont, CA
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
......@@ -18,16 +18,8 @@
# such. Binary redistributions based on modified source code
# must be clearly marked as modified versions in the documentation
# and/or other materials provided with the distribution.
# 4. Any web site or other electronic service that offers ispell for
# download or other electronic transfer as a separate entity, in
# either source or binary form, must also include a prominent statement
# indicating that information about ispell can be obtained from the
# following Web site URL:
# http://fmg-www.cs.ucla.edu/geoff/ispell.html
# If the offering service supports hyperlinks, the aforementioned
# Web site must also be offered as a hyperlink. Condition #4 does
# not apply if ispell is offered only as part of a larger, aggregated
# product such as a word processor or packaged operating system.
# 4. The code that causes the 'ispell -v' command to display a prominent
# link to the official ispell Web site may not be removed.
# 5. The name of Geoff Kuenning may not be used to endorse or promote
# products derived from this software without specific prior
# written permission.
......@@ -58,6 +50,27 @@ USAGE="Usage: Makekit [-d destdir] [-e]"
# stdout and no kit is made.
#
# $Log: Makekit,v $
# Revision 1.51 2005/04/27 01:18:34 geoff
# Add the CHANGES file.
#
# Revision 1.50 2005/04/27 00:17:35 geoff
# Add a sample local.h for BSD systems.
#
# Revision 1.49 2005/04/26 22:41:07 geoff
# Remove fixispell-a, since it really doesn't do the job
#
# Revision 1.48 2005/04/14 14:38:23 geoff
# Update license. Add several new files, notably Eli Zaretskii's
# changes to support DOS/Windows systems.
#
# Revision 1.47 2002/06/21 00:19:30 geoff
# Fix the names of the deformatters. Generate RCS version tags when
# building a kit.
#
# Revision 1.46 2002/06/20 23:46:15 geoff
# Put sq/unsq back, since some dictionaries are still distributed in sq
# format.
#
# Revision 1.45 2001/07/25 21:51:46 geoff
# Minor license update.
#
......@@ -130,6 +143,7 @@ case "$destdir" in
esac
flist='
CHANGES
Contributors
README
Magiclines
......@@ -142,6 +156,8 @@ config.X
correct.c
defmt.c
dump.c
exp_table.c
exp_table.h
fields.3
fields.c
fields.h
......@@ -151,22 +167,29 @@ hash.c
icombine.c
ijoin.c
ispell.1X
ispell.4
ispell.5X
ispell.c
ispell.h
iwhich
local.h.samp
local.h.bsd
local.h.generic
local.h.linux
local.h.macos
local.h.solaris
lookup.c
makedict.sh
makedent.c
munchlist.X
parse.y
proto.h
sq.1
sq.c
subset.X
term.c
tgood.c
tree.c
tryaffix.X
unsq.c
version.h
xgets.c
zapdups.X
......@@ -192,7 +215,7 @@ languages/english/english.0
languages/english/english.1
languages/english/english.2
languages/english/english.3
languages/english/english.4l
languages/english/english.5X
languages/english/english.aff
languages/english/msgs.h
languages/espanol/Makefile
......@@ -211,8 +234,17 @@ addons/nextispell/services.template
addons/xspell.shar
deformatters/Makefile
deformatters/README
deformatters/deformat-c.c
deformatters/deformat-sh.c
deformatters/defmt-c.c
deformatters/defmt-sh.c
pc/README
pc/cfglang.sed
pc/cfgmain.sed
pc/configdj.bat
pc/djterm.c
pc/local.djgpp
pc/local.emx
pc/make-dj.bat
pc/makeemx.bat
'
if $echolist
......@@ -223,12 +255,15 @@ fi
[ -d "$destdir" ] || mkdir "$destdir"
version=`egrep 'International Ispell' version.h | awk '{print $5;exit}'`
rcsversion=`echo $version | tr . _`
TMP=$destdir/ispell-$version
rm -rf $TMP
trap "rm -rf $TMP; exit 1" 1 2 15
trap "rm -rf $TMP; exit 0" 13
rcs -NV${rcsversion}: $flist
mkdir $TMP
tar cf - $flist | (cd $TMP; tar xf -)
......
: Use /bin/sh
#
# $Id: Makepatch,v 1.19 2001/07/25 21:51:47 geoff Exp $
#
# Copyright 1992, 1993, 1999, 2001, Geoff Kuenning, Claremont, CA
# All rights reserved.
......@@ -18,16 +17,8 @@
# such. Binary redistributions based on modified source code
# must be clearly marked as modified versions in the documentation
# and/or other materials provided with the distribution.
# 4. Any web site or other electronic service that offers ispell for
# download or other electronic transfer as a separate entity, in
# either source or binary form, must also include a prominent statement
# indicating that information about ispell can be obtained from the
# following Web site URL:
# http://fmg-www.cs.ucla.edu/geoff/ispell.html
# If the offering service supports hyperlinks, the aforementioned
# Web site must also be offered as a hyperlink. Condition #4 does
# not apply if ispell is offered only as part of a larger, aggregated
# product such as a word processor or packaged operating system.
# 4. The code that causes the 'ispell -v' command to display a prominent
# link to the official ispell Web site may not be removed.
# 5. The name of Geoff Kuenning may not be used to endorse or promote
# products derived from this software without specific prior
# written permission.
......@@ -63,6 +54,12 @@ USAGE="Usage: Makepatch [-n] [-d destdir] [-o file] ... [new-files]"
# always patched. This switch can appear more than once.
#
# $Log: Makepatch,v $
# Revision 1.21 2005/04/27 01:18:34 geoff
# Work around idiotic POSIX incompatibilies in tail.
#
# Revision 1.20 2005/04/14 14:38:23 geoff
# Update license.
#
# Revision 1.19 2001/07/25 21:51:47 geoff
# Minor license update.
#
......@@ -139,9 +136,13 @@ fi
[ -d "$destdir" ] || mkdir "$destdir"
#
# Because some cretin decided to break backwards compatibility in
# tail, we'll use sed to achieve the effect of "tail -1".
#
if [ -r "$destdir/Patch${baserelease}.01" ]
then
lastpatch=`ls $destdir/Patch${baserelease}.?? | tail -1 \
lastpatch=`ls $destdir/Patch${baserelease}.?? | sed -n -e '$p' \
| sed "s;$destdir/Patch${baserelease}.;;"`
else
lastpatch=00
......
This diff is collapsed.
#ifndef lint
static char Rcs_Id[] =
"$Id: buildhash.c,v 1.70 2001/07/25 21:51:45 geoff Exp $";
"$Id: buildhash.c,v 1.73 2005/04/14 21:25:52 geoff Exp $";
#endif
#define MAIN
......@@ -10,7 +10,7 @@ static char Rcs_Id[] =
*
* Pace Willisson, 1983
*
* Copyright 1992, 1993, 1999, 2001, Geoff Kuenning, Claremont, CA
* Copyright 1992, 1993, 1999, 2001, 2005, Geoff Kuenning, Claremont, CA
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
......@@ -26,16 +26,8 @@ static char Rcs_Id[] =
* such. Binary redistributions based on modified source code
* must be clearly marked as modified versions in the documentation
* and/or other materials provided with the distribution.
* 4. Any web site or other electronic service that offers ispell for
* download or other electronic transfer as a separate entity, in
* either source or binary form, must also include a prominent statement
* indicating that information about ispell can be obtained from the
* following Web site URL:
* http://fmg-www.cs.ucla.edu/geoff/ispell.html
* If the offering service supports hyperlinks, the aforementioned
* Web site must also be offered as a hyperlink. Condition #4 does
* not apply if ispell is offered only as part of a larger, aggregated
* product such as a word processor or packaged operating system.
* 4. The code that causes the 'ispell -v' command to display a prominent
* link to the official ispell Web site may not be removed.
* 5. The name of Geoff Kuenning may not be used to endorse or promote
* products derived from this software without specific prior
* written permission.
......@@ -55,6 +47,18 @@ static char Rcs_Id[] =
/*
* $Log: buildhash.c,v $
* Revision 1.73 2005/04/14 21:25:52 geoff
* Declare ints-that-hold-pointers as unsigned, just for safety.
*
* Revision 1.72 2005/04/14 14:38:23 geoff
* Update license and copyright. Fix a count-file-naming bug introduced
* in a recent delta. Regenerate the count file if it has the same mtime
* as the dictionary (otherwise you can have bugs on fast machines). Fix
* some small type bugs.
*
* Revision 1.71 2001/09/06 00:30:28 geoff
* Many changes from Eli Zaretskii to support DJGPP compilation.
*
* Revision 1.70 2001/07/25 21:51:45 geoff
* Minor license update.
*
......@@ -130,6 +134,7 @@ int main (argc, argv)
{
int avg;
FILE * countf;
char * lastdot;
FILE * statf;
int stats[NSTAT];
unsigned int i;
......@@ -164,15 +169,48 @@ int main (argc, argv)
if (yyparse ()) /* Parse the language tables */
exit (1);
(void) sprintf (Cfile, "%s%s", Dfile, COUNTSUFFIX);
(void) sprintf (Sfile, "%s%s", Dfile, STATSUFFIX);
strcpy (Cfile, Dfile);
lastdot = rindex (Cfile, '.');
if (lastdot != NULL)
*lastdot = '\0';
strcpy (Sfile, Dfile);
lastdot = rindex (Sfile, '.');
if (lastdot != NULL)
*lastdot = '\0';
strcat (Cfile, COUNTSUFFIX);
strcat (Sfile, STATSUFFIX);
#ifdef MSDOS
/*
** MS-DOS doesn't allow more than one dot in the filename part.
** If we have more than that, convert all the dots but the last into
** underscores. The OS will truncate excess characters beyond 8+3.
*/
lastdot = rindex (Cfile, '.');
if (lastdot != NULL && lastdot > Cfile)
{
while (--lastdot >= Cfile)
{
if (*lastdot == '.')
*lastdot = '_';
}
}
lastdot = rindex (Sfile, '.');
if (lastdot != NULL && lastdot > Sfile)
{
while (--lastdot >= Sfile)
{
if (*lastdot == '.')
*lastdot = '_';
}
}
#endif /* MSDOS */
if (stat (Dfile, &dstat) < 0)
{
(void) fprintf (stderr, BHASH_C_NO_DICT, Dfile);
exit (1);
}
if (stat (Cfile, &cstat) < 0 || dstat.st_mtime > cstat.st_mtime)
if (stat (Cfile, &cstat) < 0 || dstat.st_mtime >= cstat.st_mtime)
newcount ();
if ((countf = fopen (Cfile, "r")) == NULL)
......@@ -181,7 +219,7 @@ int main (argc, argv)
exit (1);
}
hashsize = 0;
if (fscanf (countf, "%d", &hashsize) != 1 || fclose (countf) == EOF)
if (fscanf (countf, "%u", &hashsize) != 1 || fclose (countf) == EOF)
{
(void) fprintf (stderr, BHASH_C_BAD_COUNT);
exit (1);
......@@ -195,7 +233,7 @@ int main (argc, argv)
if ((statf = fopen (Sfile, "w")) == NULL)
{
(void) fprintf (stderr, CANT_CREATE, Sfile);
(void) fprintf (stderr, CANT_CREATE, Sfile, MAYBE_CR (stderr));
exit (1);
}
......@@ -237,7 +275,7 @@ static void output ()
{
register FILE * houtfile;
register struct dent * dp;
int strptr;
unsigned long strptr;
int n;
unsigned int i;
int maxplen;
......@@ -246,7 +284,7 @@ static void output ()
if ((houtfile = fopen (Hfile, "wb")) == NULL)
{
(void) fprintf (stderr, CANT_CREATE, Hfile);
(void) fprintf (stderr, CANT_CREATE, Hfile, MAYBE_CR (stderr));
return;
}
hashheader.stringsize = 0;
......@@ -257,8 +295,10 @@ static void output ()
/*
** Put out the strings from the flags table. This code assumes that
** the size of the hash header is a multiple of the size of ichar_t,
** and that any integer can be converted to an (ichar_t *) and back
** without damage.
** and that any long can be converted to an (ichar_t *) and back
** without damage (or, more accurately, without damaging those
** low-order bits necessary to represent the largest offset in the
** string table).
*/
maxslen = 0;
for (i = 0, fentry = sflaglist; i < numsflags; i++, fentry++)
......@@ -362,7 +402,7 @@ static void output ()
{
if (dp->next != 0)
{
int x;
unsigned long x;
x = dp->next - hashtbl;
dp->next = (struct dent *)x;
}
......@@ -689,7 +729,7 @@ static void newcount ()
(void) fprintf (stderr, BHASH_C_WORD_COUNT, i);
if ((d = fopen (Cfile, "w")) == NULL)
{
(void) fprintf (stderr, CANT_CREATE, Cfile);
(void) fprintf (stderr, CANT_CREATE, Cfile, MAYBE_CR (stderr));
exit (1);
}
(void) fprintf (d, "%d\n", i);
......
This diff is collapsed.
This diff is collapsed.
#ifndef lint
static char Rcs_Id[] =
"$Id: defmt.c,v 1.58 2001/08/01 22:15:56 geoff Exp $";
"$Id: defmt.c,v 1.62 2005/04/20 23:16:32 geoff Exp $";
#endif
/*
......@@ -27,16 +27,8 @@ static char Rcs_Id[] =
* such. Binary redistributions based on modified source code
* must be clearly marked as modified versions in the documentation
* and/or other materials provided with the distribution.
* 4. Any web site or other electronic service that offers ispell for
* download or other electronic transfer as a separate entity, in
* either source or binary form, must also include a prominent statement
* indicating that information about ispell can be obtained from the
* following Web site URL:
* http://fmg-www.cs.ucla.edu/geoff/ispell.html
* If the offering service supports hyperlinks, the aforementioned
* Web site must also be offered as a hyperlink. Condition #4 does
* not apply if ispell is offered only as part of a larger, aggregated
* product such as a word processor or packaged operating system.
* 4. The code that causes the 'ispell -v' command to display a prominent
* link to the official ispell Web site may not be removed.
* 5. The name of Geoff Kuenning may not be used to endorse or promote
* products derived from this software without specific prior
* written permission.
......@@ -60,6 +52,19 @@ static char Rcs_Id[] =
/*
* $Log: defmt.c,v $
* Revision 1.62 2005/04/20 23:16:32 geoff
* Use inpossibilities to deal with the case where uppercase SS in German
* causes ambiguities.
*
* Revision 1.61 2005/04/14 14:38:23 geoff
* Update license.
*
* Revision 1.60 2001/11/28 22:39:26 geoff
* Add Ken Stevens's fix for newlines in \verb
*
* Revision 1.59 2001/09/06 00:30:29 geoff
* Many changes from Eli Zaretskii to support DJGPP compilation.
*
* Revision 1.58 2001/08/01 22:15:56 geoff
* When processing quoted strings inside HTML tags, don't handle
* ampersand sequences unless the quoted string is being spell-checked.
......@@ -255,7 +260,7 @@ static unsigned char * skiptoword (bufp) /* Skip to beginning of a word */
while (*bufp
&& ((!isstringch (bufp, 0) && !iswordch (chartoichar (*bufp)))
|| isboundarych (chartoichar (*bufp))
|| (tflag == DEFORMAT_TEX && (math_mode & 1))
|| (tflag == DEFORMAT_TEX && ((math_mode & 1) || LaTeX_Mode != 'P'))
|| (insidehtml & (HTML_IN_SPEC | HTML_ISIGNORED)) != 0
|| ((insidehtml & HTML_IN_TAG) != 0
&& (insidehtml
......@@ -390,7 +395,7 @@ static unsigned char * skiptoword (bufp) /* Skip to beginning of a word */
/* Odd numbers mean we are in "math mode" */
/* Even numbers mean we are in LR or */
/* paragraph mode */
if (*bufp == TEXPERCENT)
if (*bufp == TEXPERCENT && LaTeX_Mode != 'v')
{
if (!TeX_comment)
{
......@@ -417,7 +422,8 @@ static unsigned char * skiptoword (bufp) /* Skip to beginning of a word */
}
if (math_mode < 0)
{
(void) fprintf (stderr, DEFMT_C_TEX_MATH_ERROR);
(void) fprintf (stderr, DEFMT_C_TEX_MATH_ERROR,
MAYBE_CR (stderr));
math_mode = 0;
}
}
......@@ -446,6 +452,14 @@ static unsigned char * skiptoword (bufp) /* Skip to beginning of a word */
TeX_skip_parens(&bufp);
LaTeX_Mode = 'P';
}
else if (LaTeX_Mode == 'v')
{
/* continued "verb" */
while (*bufp != save_LaTeX_Mode && *bufp != '\0')
bufp++;
if (*bufp != 0)
LaTeX_Mode = 'P';
}
else if (TeX_math_begin(&bufp))
/* checks references and */
/* skips \ commands */
......@@ -763,7 +777,23 @@ void checkline (ofile)
else
{
makepossibilities (itoken);
if (pcount)
if (inpossibilities (ctoken)) /* Kludge for German, etc. */
{
/* might not be perfect match, but we'll lie */
if (!terse)
{
if (askverbose)
(void) fprintf (ofile, "ok\n");
else
{
if (correct_verbose_mode)
(void) fprintf (ofile, "* %s\n", ctoken );
else
(void) fprintf (ofile, "*\n");
}
}
}
else if (pcount)
{
/*
** print & or ?, ctoken, then
......@@ -983,7 +1013,8 @@ static int TeX_LR_check (begin_p, bufp)
math_mode -= (math_mode & 127) * 128;
if (math_mode < 0)
{
(void) fprintf (stderr, DEFMT_C_LR_MATH_ERROR);
(void) fprintf (stderr, DEFMT_C_LR_MATH_ERROR,
MAYBE_CR (stderr));
math_mode = 1;
}
}
......@@ -1112,6 +1143,12 @@ static void TeX_skip_check (bufp)
*bufp += 5;
while (**bufp != skip_ch && **bufp != '\0')
(*bufp)++;
/* skip to end of verb field when not in a comment or math field */
if (**bufp == 0 && !TeX_comment && !(math_mode & 1))
{
LaTeX_Mode = 'v';
save_LaTeX_Mode = skip_ch;
}
}
else
{
......@@ -1146,7 +1183,7 @@ static void TeX_skip_check (bufp)
* header, but I doubt that it varies, and I don't want to change the
* syntax of affix files right now.
*
* Incidentally, TeX_strncmp uses uneual signedness for its arguments
* Incidentally, TeX_strncmp uses unequal signedness for its arguments
* because that's how it's always called, and it's easier to do one
* typecast here than lots of casts in the calls.
*/
......@@ -1236,7 +1273,7 @@ int init_keyword_table (rawtags, envvar, deftags, ignorecase, keywords)
wlist = malloc (wsize);
if (wlist == NULL)
{
(void) fprintf (stderr, DEFMT_C_NO_SPACE);
(void) fprintf (stderr, DEFMT_C_NO_SPACE, MAYBE_CR (stderr));
exit (1);
}
wlist[0] = '\0';
......@@ -1275,7 +1312,7 @@ int init_keyword_table (rawtags, envvar, deftags, ignorecase, keywords)
(unsigned char **) malloc (keywords->numkw * sizeof keywords->kwlist[0]);
if (keywords->kwlist == NULL)
{
fprintf (stderr, DEFMT_C_NO_SPACE);
fprintf (stderr, DEFMT_C_NO_SPACE, MAYBE_CR (stderr));
exit (1);
}
......@@ -1318,7 +1355,7 @@ int init_keyword_table (rawtags, envvar, deftags, ignorecase, keywords)
malloc ((maxkeywordlen + 1) * sizeof keywordbuf[0]);
if (keywordbuf == NULL)
{
fprintf (stderr, DEFMT_C_NO_SPACE);
fprintf (stderr, DEFMT_C_NO_SPACE, MAYBE_CR (stderr));
exit(1);
}
}
......
#
# $Id: Makefile,v 1.3 2001/07/25 21:51:48 geoff Exp $
# $Id: Makefile,v 1.6 2004/06/02 06:30:28 geoff Exp $
#
# Copyright 2001, Geoff Kuenning, Claremont, CA
# All rights reserved.
......@@ -17,16 +17,8 @@
# such. Binary redistributions based on modified source code
# must be clearly marked as modified versions in the documentation
# and/or other materials provided with the distribution.
# 4. Any web site or other electronic service that offers ispell for
# download or other electronic transfer as a separate entity, in
# either source or binary form, must also include a prominent statement
# indicating that information about ispell can be obtained from the
# following Web site URL:
# http://fmg-www.cs.ucla.edu/geoff/ispell.html
# If the offering service supports hyperlinks, the aforementioned
# Web site must also be offered as a hyperlink. Condition #4 does
# not apply if ispell is offered only as part of a larger, aggregated
# product such as a word processor or packaged operating system.
# 4. The code that causes the 'ispell -v' command to display a prominent
# link to the official ispell Web site may not be removed.
# 5. The name of Geoff Kuenning may not be used to endorse or promote
# products derived from this software without specific prior
# written permission.
......@@ -46,6 +38,15 @@
#
# $Log: Makefile,v $
# Revision 1.6 2004/06/02 06:30:28 geoff
# Add .c: and .o: rules so proper flags are always used.
#
# Revision 1.5 2004/06/02 06:28:12 geoff