delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/08/03:20:58

Date: Thu, 8 Aug 1996 00:16:38 -0700 (PDT)
From: Allen Pouratian <allenp AT nima DOT eecs DOT berkeley DOT edu>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: djgpp AT delorie DOT com
Subject: Re: file "read" DOS vs. UNIX
In-Reply-To: <Pine.SUN.3.91.960808093937.19168M-100000@is>
Message-ID: <Pine.SUN.3.91.960808001130.3930A-100000@nima.eecs.berkeley.edu>
MIME-Version: 1.0

> 
> If the above doesn't help, you will have to debug the reason for the
> segfaults (there's always a chance that there is a bug in the program that
> goes undetected on other platforms, or a bug in `read' or the library
> functions it calls.
> 
It works now.  The reason it didn't is that the makefile needs a tad of 
tweeking (delete all mention of the tif_unix.o, after following the 
instructions in the contrib directory of the Leffler TIFF distribution) and 
then it runs flawlessly!

Otherwise, the standard unix file reading function calls were used, which 
caused the error and the seg fault.

Thanks for the in depth reply,

Allen Pouratian

P.S.  Any particular reason my program might run differently under gdb 
than when simply executed by the DOS shell besides me not clearing stack 
space properly before using it?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019