delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/04/27/21:05:42

Date: Sun, 27 Apr 2003 21:05:41 -0400
Message-Id: <200304280105.h3S15fDZ026158@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
In-reply-to: <03b301c30d1e$3bd216f0$0600000a@broadpark.no> (giva@bgnett.no)
Subject: Re: /dev/full not full afterall
References: <03b301c30d1e$3bd216f0$0600000a AT broadpark DOT no>
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

> I find that in latest 2.04 alpha1, writing to /dev/full doesn't fail with ENOSPC
> as the info-page says. Example program:

I'm inclined to think that the stdio buffering is getting in the way.
Have you tried unbuffered?  Have you checked the return value of the
fclose() call (that's when the data is written out)?

- Raw text -


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