delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2005/04/10/15:13:37

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
Date: Sun, 10 Apr 2005 22:09:08 +0300
From: "Eli Zaretskii" <eliz AT gnu DOT org>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp-workers AT delorie DOT com
Message-ID: <01c53e00$Blat.v2.4$eacdb8c0@zahav.net.il>
X-Mailer: emacs 22.0.50 (via feedmail 8 I) and Blat ver 2.4
In-reply-to: <phmi511ulpki0eeno5dclv1avhqul7rrjb@4ax.com> (message from Brian
Inglis on Sun, 10 Apr 2005 11:30:46 -0600)
Subject: Re: DJGPP v2.04 Bugs - suggested patch
References: <10504092012 DOT AA16787 AT clio DOT rice DOT edu>
<200504101156 DOT j3ABu1k5002657 AT speedy DOT ludd DOT ltu DOT se> <phmi511ulpki0eeno5dclv1avhqul7rrjb AT 4ax DOT com>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Sun, 10 Apr 2005 11:30:46 -0600
> From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
> 
> Last buffer isn't written at all: you might want to try adding
> fflush() every 1000 bytes from 4 294 950 000, every 100 bytes from 
> 4 294 960 000, and maybe every 10 bytes from 4 294 963 200, as you may
> only get up to 4GB-4KB == 4 294 963 200 written, but may get to 4GB-6
> == 4 294 967 290 (limit due to writing 10 bytes a time), and might
> have to write and fflush a byte at a time to get further than that. 

Isn't it easier to install a SIGINT signal handler, which will fflush
the stream and exit?

- Raw text -


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