database source when using descu. This limit was imposed
due to a bug in ORCA/C (it is no longer clear whether
this was a bug in malloc(3) or in array indexing code).
As of ORCA/C v2.1.x, this bug appears to be fixed, so
the limit was lifted.
A couple of calls to lseek(2) didn't have their return values
checked for errors. Fixed.
Updated email address for Devin Reade.
Increased the number of characters in the name field of the
nameEntry struct from 34 to 36. This gives an 8-byte
alignment to the offset entry, which provides binary
compatibility of the precompiled database file between
the IIgs and little-endian 32-bit machines such as
Linux boxes.
*** THIS MEANS THAT THE PRECOMPILED DATABASE IS NO LONGER
BINARY COMPATIBLE WITH EARLIER VERSIONS.
Updated descu so that the "Last Updated" line in the describe
source "header" is updated to reflect the current date
and time (GMT, if supported).
Fixed a bug in descu that caused the "header" to be slowly eaten,
one character at a time.
The describe database source file is no longer part of this
archive. It is available separately from the url,
above.
Added a "Known Bugs" section and URLs on where to find the
online database to this README. Modified the installation
instructions a bit.
I missed.
- The pathname of the compiled database was changed to match the sources
(/usr/lib/describe.db)
- The location of the online database is now mentioned.
Changed the initialization for the getopt(3) package to work with
BSD-based systems (like GNO v2.0.6) as well as with GNU-based
systems.
Use proper capitalization for "UNIX" and "ORCA".
- Renamed from makefile.mk to Makefile.
- Updated for proper operation as part of GNO build.
- Discontinue use of vaend.c, basename.c for GNO v2.0.6.
descu:
- Document ability to specify an output file vice stdout
(this feature was already in, but not documented)
- Allow the output file to be the same name as the first
input file (it will be overwritten).
- Fix buffer overrun bugs that occured when:
a) There was no initial input file; or
b) There are no headers in the first input file; or
c) There are no trailers in the first input file; or
- Increased SLOTS_QUANTUM from 20 to 64, hopefully increasing
the speed on large files.
- fixed stack check code to use the new routines names
- put version number in lockstep with descc and describe
descc:
- descc will now change the database file type to BIN, if it
wasn't already so.
- changed default location of system database
- fixed stack check code to use the new routines names
- put version number in lockstep with descu and describe
describe:
- changed default location of system database
- fixed stack check code to use the new routines names
- put version number in lockstep with descu and descc
*.rez:
- added resource source files
- Changed source slightly to compile under djgpp (MS-DOS) and Linux,
linted source.
- Unix makefile changed by Devin Reade to automatically detect OS
type.
- Apple IIgs source now opens files with "r+b" instead of "rwb"
Main changes include:
searches are now case insensitive
Lexicographic order in the database was incorrect; if two
keywords matched in the first N chars, the wrong entry
may be returned.
Added a va_end() function since it is used by GNO open(2)
and Orca/C v2.0.4b now declares that as a macro.
defines automatically, based on the result of `uname -sr`.
Added Linux defines.
Changed references and definition of "mktemp" to "Mktemp". There
is a discrepancy between the internal implementation and
other common Unix versions.
Added a section to this README on installation, and moved the
description of the DEFINES from the makefiles to here.
On the IIgs version, the resource fork is now created from a
resource source file that is compiled, rather than using
an interactive tool to create the resource fork.
Changed source filenames to use the 8.3 format in anticipation of
MS-DOS support. This does not affect the file names upon which
udl operates.
filename-munging on Solaris. It seems that the sys/stat.h header
file doesn't agree with the stat implementation.
Modified Makefile.gs to properly write the new executable over
the old resource fork for udl. The resource fork originates with
the file udl.r.
Added suggested defines to the README for various Unix platforms.
Man page changes, including grammar and the deletion of a bug that
no longer exists.
Fixed bug where invoking 'udl -u directory' would attempt to
deref a NULL pointer, causing either memory tromping (IIgs) or
a core dump (Unix).
Tested under SunOS 4.x, SunOS 5.x (Solaris), and AIX.
Cleaned up the makefiles a bit.
Ran ccprep on the *.c files, so that occ with -g produces good debug
code. (Reported problem with Orca/C's #append directive.)
Fixed stat() bug when running under Orca/Shell.
Changed EXTERN to extern in common.h, and added globals.c to compensate.
Fixed bug in IIgs version where invoking "udl -<flags> filename/" (with
the trailing '/') would cause udl to fail due to bad filenames.
Added "help" subdirectory. The file "help/udl" is created at build time,
and therefore not checked in.
Added some "#pragma noroot"s.
The temp file is now created in the same directory as the original file,
then renamed after the conversion is done.
Some small doc changes were made as well, mostly typos and addresses.