[Melbourne-pm] Error checks without packages
alfiejohn at gmail.com
Wed Jul 27 16:24:46 PDT 2011
On Wed, Jul 27, 2011 at 12:30:02PM +0000, Tim Hogard wrote:
> That helps, but it would be best to know as soon as I open the file
> so I can put the entire output in a different file on a different
> partition. The unix "open" system call reports "no space" only
> when the directory entry can't be extended and has nothing to do
> with how much space is left on the disk.
> I could rewind but I'm opening for append since there is small
> chance two processes could write the same file at the same time.
> I can't flush without loading the IO package (which I don't want
> Does anyone have any other ideas?
> Melbourne-pm mailing list
> Melbourne-pm at pm.org
More information about the Melbourne-pm