Commit Graph

24 Commits

Author SHA1 Message Date
gdr-ftp
17aad04201 There used to be a limit of 65k on the size of the describe
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.
1998-02-07 06:40:11 +00:00
gdr
51b2bbcf92 v1.0.5 January 1998
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.
1998-01-17 07:20:07 +00:00
gdr
737a2b2acb - changed descu so that it updates the "last changed" field in the
database source "header"
- updated some of the README info
1997-12-22 00:34:52 +00:00
gdr
7861f65bbb - Soenke submitted various changes (mostly path names) for v1.0.4 that
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.
1997-12-20 17:14:00 +00:00
gdr
c1f439e0a7 Incorporated into the GNO base distribution.
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".
1997-12-19 07:48:16 +00:00
gdr
d34f9db837 Initial checkin for GNO, such that it actually compiles and links.
No functional differences.  Not tested.
1997-12-08 16:07:19 +00:00
gdr
293fc61f14 descu.c:
- eliminate some extraneous whitespace in the database sources

describe.1, descc.8:
	- change database path to /usr/lib/describe.db
1997-10-30 04:19:10 +00:00
gdr
6300bcee3a renamed the default database to "/usr/lib/describe.db" 1997-09-26 05:56:54 +00:00
gdr
b00e9eb797 Makefile:
- 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
1997-09-24 06:34:59 +00:00
gdr
86337db335 Checkin of v1.1.5:
- 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"
1997-08-02 21:09:13 +00:00
gdr
6f6fee285e Fixed a minor Unix makefile bug.
Inserted rcs Id strings in various files.
Changed "G. Devin Reade" to "Devin Reade"
1996-02-11 20:05:49 +00:00
gdr
e81ffa659a Merged in Soenke's changes for v1.1.5. 1996-02-04 01:34:31 +00:00
gdr
5ab0aa962f First beta version of describe v1.0.3 sent out by Soenke on 28 Jan 95.
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.
1996-01-28 17:39:31 +00:00
gdr
c6cf2a3fa4 describe, descc, descu version 1.0.2. This version was updated
by Soenke Behrens.  See the readme for change details.
1996-01-22 02:40:50 +00:00
gdr
3a79f5a3a6 Describe (and related utils), version 1.0.1. Like v1.0, this checkin
does not include resource forks.  See the README for changes.

This update by Devin Reade.
1996-01-22 01:38:06 +00:00
gdr
effd236a58 Describe v1.0 by James Brookes. 1996-01-22 01:27:37 +00:00
gdr
53e5462236 Changed Makefile.unx to select what should be the proper
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.
1996-01-22 01:01:36 +00:00
gdr
ed782560cf Soenke's final v1.14 release.
Deleted __CCFRONT__ kludge for Splat!.
Fixed typo in man page and corrected case of ORCA and GNO.
Added /* End Of File */ where necessary.
1995-02-13 19:47:38 +00:00
gdr
3cef5cabcf Fixed bug (via the BROKEN_DIRENT_STRUCT macro) that was causing
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.
1995-02-08 06:12:49 +00:00
gdr
89c33fa060 Soenke's 3 Feb 95 changes for version 1.14.
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.
1995-02-08 05:47:59 +00:00
gdr
c254e15a3b Soenke's 2 Feb 95 modifications to the v1.14 release.
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.
1995-02-08 05:25:26 +00:00
gdr
85008f04ca Soenke's initial checkins for v1.14, dated 30 Jan 95.
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.
1995-02-08 05:15:36 +00:00
gdr
a3c069777c The comments on the previous checkin were a bit premature. The enclosed
files are the released version 1.13, minus the files "udl" and "udl.r".
1995-02-08 05:05:49 +00:00
gdr
9366028046 Released udl v1.13 1994-12-13 18:08:34 +00:00