home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
readmes
/
ghostscf.rea
< prev
next >
Wrap
Text File
|
1993-01-29
|
3KB
|
86 lines
Short: Fixes scratch file error, epsonc error
January 30, 1993
This file is the same as the file README.AMIGA.FIX1
-------------------------------------------------------------
Installation:
1. Copy /usr/bin/gs to wherever you had gs before. This version
replaces the original version.
-------------------------------------------------------------
Fixes:
This is a patched version of ghostscript-2.5.2 for the Amiga. I have
identified 2 problems and provided a work around and a band aid...
Problem 1.
There is a bug in ixemul.library (v39.45) mktemp(). If you try
and call mktemp() twice with the same format string, you will
get the same file name. Bzzt!
I modified a version of mktemp() I pulled from the BSD sources
a long while back and built it. I added it to libgs.a and
re-linked gs. Voila!
This problem caused a setdevice error which complained about
not being able to open a scratch file.
Problem 2.
The epsconc driver has a memory overrun bug. I have looked hard
at this code, but not yet found the problem. My band aid fix is
to force the gs_malloc()'s in the eps_print_page() function to
allocate 2 additional bytes. These 2 extra bytes catch the overrun.
This is no way to fix the problem, but it works for now and I'll
look harder at it later. I might try contacting Aladdin and see
if they know about this problem already.
-------------------------------------------------------------
Files:
gs252-patches/ This directory contains files that replace files in
the original distribution of ghostscript for the
Amiga. Also, any files supplied as patches in
ghostscript-2.5.2.lha are superceded by files in
this release. The files are:
mktemp.c - my version of mktemp.c modifed from BSD mktemp()
gdevepsc.c - kludge version of epsonc driver code
amiga-gcc.mak - the dmake file you need to build gs
yourself. Note I hope to remove -DIXEMUL_BUG and
-DEPSONC_KLUDGE as I get proper fixes for these
problems.
usr/bin/ The patched gs executable is in this directory
README.AMIGA The revised and updated README file. I added more
information about using gs. I added the missing
information about assigning tmp: and I added my
e-mail address which was missing. Basically, the
file is re-written. Please read it and tell me
what I screwed up this time :-)
-------------------------------------------------------------
Miscellaneous:
Please contact me with problems and/or questions. I will help
if I can.
Rob Tulloh
INTERACTIVE / SHL Tel: (512) 343 0376 Ext. 116
9442 Capital of Texas Hwy. North Fax: (512) 343 1414
Arboretum Plaza One, Suite 700 Net: robtu@itx.isc.com
Austin, Texas 78759