Commit f7dd1a1c authored by Robert Luberda's avatar Robert Luberda

Imported Upstream version 3.3.02

parent a4dd7b3c
Version 3.3.02
==============
- A Makefile bug has been corrected which caused the default hash
file to be created under the wrong name. If you installed 3.3.01,
you should remove the file /usr/local/lib/ispell/english (or
whatever your default language is, and in the appropriate
directory) to clean up from the effects of this bug.
- A bug has been corrected that caused ispell to allocate space for
zero elements when initializing the expansion tables.
- Hash files are now installed in reverse order of how they are
listed in LANGUAGES. As a result, the default american or british
hash file is now that first listed in LANGUAGES, rather than the
last.
- A misspelling in config.X has been corrected. This would only have
affected Windows systems that didn't use the supplied local.h
files.
- EXEEXT is now printed by "ispell -vv".
- The local.h.macos file now correctly leaves USG undefined.
- There is now a local.h.cygwin file.
Version 3.3.01
==============
......
#
# $Id: Makefile,v 1.122 2005/05/01 23:19:12 geoff Exp $
# $Id: Makefile,v 1.124 2005/05/25 13:56:32 geoff Exp $
#
# Copyright 1992, 1993, 1999, 2001, 2005, Geoff Kuenning, Claremont, CA
# All rights reserved.
......@@ -45,6 +45,14 @@
# buildhash <dictfile> <affix-file> <outfile>
# $Log: Makefile,v $
# Revision 1.124 2005/05/25 13:56:32 geoff
# Make language subdirectories in reverse order so that the English
# makefiles can install a default dictionary linked to the first-mentioned
# language.
#
# Revision 1.123 2005/05/25 13:22:33 geoff
# Bug fix: make sure HASHSUFFIX set before using it during installation.
#
# Revision 1.122 2005/05/01 23:19:12 geoff
# Make constructed files depend on the Makefile
#
......@@ -410,7 +418,7 @@ language-subdirs: config.sh
while [ "X$$LANGUAGES" != X ]; do \
( \
descriptor=`echo "$$LANGUAGES" \
| sed -e 's/[^{]*{\([^}]*\)}.*/\1/'`; \
| sed -e 's/.*{\([^}]*\)}[^{]*$$/\1/'`; \
dir=`echo "$$descriptor" | sed -e 's/\([^,]*\).*/\1/'`; \
descriptor=`echo "$$descriptor" \
| sed -e 's/[^,]*,*\(.*\).*/\1/'`; \
......@@ -430,7 +438,7 @@ language-subdirs: config.sh
|| exit 1; \
) || exit 1; \
LANGUAGES=`echo "$$LANGUAGES" \
| sed -e 's/[^{]*{[^}]*}[^{]*\(.*\)$$/\1/'`; \
| sed -e 's/\(.*\){[^{]*$$/\1/'`; \
case "$$LANGUAGES" in \
''|*{*}*) \
;; \
......@@ -474,6 +482,10 @@ defhash.h: config.X local.h Makefile
| sed -n -e \
's/^#define[ ]*LANGUAGES[ ][^}]*HASHFILES=\([^,}]*\).*$$/\1/p' \
| sed -n -e '$$p'`; \
HASHSUFFIX=`cat config.X local.h \
| sed -n -e \
's/^#define[ ]*HASHSUFFIX[ ]*"\(.*\)"/\1/p' \
| sed -n -e '$$p'`; \
case "$$MASTERHASH" in \
american*|british*) DEFHASH="english$$HASHSUFFIX";; \
*) DEFHASH="$$MASTERHASH";; \
......
: Use /bin/sh
#
# $Id: Makekit,v 1.51 2005/04/27 01:18:34 geoff Exp $
# $Id: Makekit,v 1.52 2005/05/25 16:17:57 geoff Exp $
#
# Copyright 1992, 1993, 2001, 2005, Geoff Kuenning, Claremont, CA
# All rights reserved.
......@@ -50,6 +50,9 @@ USAGE="Usage: Makekit [-d destdir] [-e]"
# stdout and no kit is made.
#
# $Log: Makekit,v $
# Revision 1.52 2005/05/25 16:17:57 geoff
# Add local.h.cygwin to the kit.
#
# Revision 1.51 2005/04/27 01:18:34 geoff
# Add the CHANGES file.
#
......@@ -172,6 +175,7 @@ ispell.c
ispell.h
iwhich
local.h.bsd
local.h.cygwin
local.h.generic
local.h.linux
local.h.macos
......
......@@ -69,6 +69,7 @@ OK, How Do I Install It?
4) cd ispell-3.3.xx
5) Copy one of the sample local.h files to local.h:
cp local.h.bsd local.h
cp local.h.cygwin local.h
cp local.h.linux local.h
cp local.h.macos local.h
cp local.h.solaris local.h
......
......@@ -52,9 +52,12 @@
*/
/*
* $Id: config.X,v 1.98 2005/05/01 23:07:59 geoff Exp $
* $Id: config.X,v 1.99 2005/05/25 14:13:53 geoff Exp $
*
* $Log: config.X,v $
* Revision 1.99 2005/05/25 14:13:53 geoff
* Correct the spelling of the default for EXEEXT.
*
* Revision 1.98 2005/05/01 23:07:59 geoff
* Add #ifndef around the definition of LINK (how the heck did I blow
* THAT one? Thanks to Eli Zaretskii for fixing it). Add EXTEXT (again
......@@ -1207,8 +1210,8 @@
#endif /* MSDOS */
#endif /* IS_SLASH */
#ifndef EXEXT
#define EXEXT ""
#ifndef EXEEXT
#define EXEEXT ""
#endif
#endif /* CONFIG_H_INCLUDED */
#ifndef lint
static char Rcs_Id[] =
"$Id: exp_table.c,v 1.3 2005/04/14 15:19:37 geoff Exp $";
"$Id: exp_table.c,v 1.4 2005/06/11 22:43:53 geoff Exp $";
#endif
/*
......@@ -10,6 +10,9 @@ static char Rcs_Id[] =
/*
* $Log: exp_table.c,v $
* Revision 1.4 2005/06/11 22:43:53 geoff
* Don't try to malloc zero elements during initialization.
*
* Revision 1.3 2005/04/14 15:19:37 geoff
* Get rid of a compiler warning.
*
......@@ -36,8 +39,8 @@ void exp_table_init (e, orig_word)
e->size = 0;
e->max_size = 1;
e->exps = malloc (e->size * sizeof (*e->exps));
e->flags = malloc (e->size * sizeof (*e->flags) * MASKSIZE);
e->exps = malloc (e->max_size * sizeof (*e->exps));
e->flags = malloc (e->max_size * sizeof (*e->flags) * MASKSIZE);
e->orig_word = orig_word;
}
......
#ifndef lint
static char Rcs_Id[] =
"$Id: ispell.c,v 1.160 2005/04/28 14:46:51 geoff Exp $";
"$Id: ispell.c,v 1.161 2005/05/25 14:13:53 geoff Exp $";
#endif
#define MAIN
......@@ -47,6 +47,9 @@ static char Rcs_Id[] =
/*
* $Log: ispell.c,v $
* Revision 1.161 2005/05/25 14:13:53 geoff
* Report the value of EXEEXT in "ispell -vv".
*
* Revision 1.160 2005/04/28 14:46:51 geoff
* Open a correction log file in command mode.
*
......@@ -432,6 +435,7 @@ int main (argc, argv)
#else /* EQUAL_COLUMNS */
(void) printf ("\t!EQUAL_COLUMNS\n");
#endif /* EQUAL_COLUMNS */
(void) printf ("\tEXEEXT = \"%s\"\n", EXEEXT);
#ifdef GENERATE_LIBRARY_PROTOS
(void) printf ("\tGENERATE_LIBRARY_PROTOS\n");
#else /* GENERATE_LIBRARY_PROTOS */
......
#ifndef LOCAL_H_INCLUDED
#define LOCAL_H_INCLUDED
/*
* $Id: local.h.cygwin,v 1.1 2005/05/25 16:15:12 geoff Exp $
*/
/*
* Copyright 1992, 1993, 1999, 2001, 2005, Geoff Kuenning, Claremont, CA
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All modifications to the source code must be clearly marked as
* 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. 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.
*
* THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL GEOFF KUENNING OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
/*
* This file is a sample local.h file. It shows what I believe nearly every
* site will want to include in their local.h. You will probably want to
* expand this file; see "config.X" to learn of #defines that you might
* like to add to.
*/
/*
* WARNING WARNING WARNING
*
* This file is *NOT* a normal C header file! Although it uses C
* syntax and is included in C programs, it is also processed by shell
* scripts that are very stupid about format.
*
* Do not try to use #if constructs to configure this file for more
* than one configuration. Do not place whitespace after the "#" in
* "#define". Do not attempt to disable lines by commenting them out.
* Do not use backslashes to reduce the length of long lines.
* None of these things will work the way you expect them to.
*
* WARNING WARNING WARNING
*/
#define MINIMENU /* Display a mini-menu at the bottom of the screen */
#define USG /* Define on System V or if term.c won't compile */
#undef NO_FCNTL_H /* Define if you get compile errors on fcntl.h */
#undef NO_MKSTEMP /* Define if you get compile or link errors */
#define EXEEXT ".exe"
/*
* Important directory paths. If you change MAN45DIR from man5 to
* something else, you probably also want to set MAN45SECT and
* MAN45EXT (but not if you keep the man pages in section 5 and just
* store them in a different place).
*/
#define BINDIR "/usr/local/bin"
#define LIBDIR "/usr/local/lib"
#define MAN1DIR "/usr/local/man/man1"
#define MAN45DIR "/usr/local/man/man5"
/* Also define MAN45EXT if you don't like section 5 for file formats. */
/*
* Place any locally-required #include statements here
*/
#endif /* LOCAL_H_INCLUDED */
#ifndef LOCAL_H_INCLUDED
#define LOCAL_H_INCLUDED
/*
* $Id: local.h.macos,v 1.2 2005/04/26 22:40:08 geoff Exp $
* $Id: local.h.macos,v 1.3 2005/05/25 14:13:53 geoff Exp $
*/
/*
......@@ -64,7 +64,6 @@
*/
#define MINIMENU /* Display a mini-menu at the bottom of the screen */
#define USG /* Define on System V or if term.c won't compile */
#define HAS_RENAME
#define TERMLIB "-lcurses"
......
......@@ -10,7 +10,7 @@
*/
static char * Version_ID[] = {
"@(#) International Ispell Version 3.3.01 1 May 2005",
"@(#) International Ispell Version 3.3.02 12 Jun 2005",
"@(#) Copyright (c), 1983, by Pace Willisson",
"@(#) International version Copyright (c) 1987, 1988, 1990-1995, 1999,",
"@(#) 2001, 2002, 2005 by Geoff Kuenning, Claremont, CA.",
......@@ -63,6 +63,6 @@ static char * Version_ID[] = {
};
static char RCS_Version_ID[] =
"$Id: version.h,v 1.58 2005/05/01 23:21:59 geoff Exp $";
"$Id: version.h,v 1.59 2005/06/11 22:49:44 geoff Exp $";
#endif /* VERSION_H_INCLUDED */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment