Mail Archives: djgpp/1996/08/22/01:35:51
On 21 Aug 1996, randall williams wrote:
> After several steps through directories, the program crashes and I
> get usually SIGFPE, SIGBUS, or out of file handles. GDB showed me
> the divide by zero problem and I found an index counter was 0.
Can this problem be caused if your program runs out of file handles? If
so, then you should know that the current version of `system' loses
handles when you use redirection. There is a patch available on the
DJGPP bug-tracking system (http:/www.delorie.com/djgpp/bugs/) which
solves this bug. Get the library sources (v2/djlsr200.zip), patch the
source of `system' (src/libc/ansi/stdlib/system.c), put it into libc.a
and try linking your program again.
- Raw text -