[comp.sys.atari.st] LHARC source not all that portable

dag@per2.UUCP (Daniel A. Glasser) (01/12/90)

The sources to LHARC posted recently to comp.sources.atari.st are not
all that portable across *nix systems.  There is a routine gettz() in
lharc.c that is specific to BSD4.X, and the use of ftruncate, mkdir,
rmdir, and rename is not flagged as a system dependency.

The routine gettz() uses structures and a subroutine call which are
not available on many systems, and it is unclear from the code if
they are required for proper operation.

The routines ftruncate(), rename(), mkdir(), and rmdir() are used.
On older Unix systems (binary license) these routines are not available
in the standard libraries.

Before people move to LHARC format wholesale, a version of the lharc sources
should be created which is portable to a larger number of *nix varients.
-- 
 _____________________________________________________________________________
    Daniel A. Glasser                 "Their brains were small and they died."
    uwvax.cs.wisc.edu!per2.uucp!dag
 ---Persoft, Inc.---------465 Science Drive-------Madison, WI 53711-----------