[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: a few questions about file-options

This page is part of the web mail archives of SRFI 68 from before July 7th, 2015. The new archives for SRFI 68 contain all messages, not just those from before July 7th, 2015.



Alex Shinn <alexshinn@xxxxxxxxx> writes:

> Is there a particular reason FILE-OPTIONS is a macro?

Yes; to allow future (keyworded) extensions. See Sebastian Egner's
posts on the matter.

> Should there be a FILE-OPTIONS-DIFFERENCE in addition to
> FILE-OPTIONS-UNION?

Maybe.  You want to make a case for it?

> The option "append" is described as
>
>   writes are appended to existing contents
>
> What happens if we then seek to the begining of the file and write?
> Does it perform a seek to the end before every write as in POSIX,
> or on some platforms may this simply start the output at the end
> of the file?

Erh, good point, I didn't realize POSIX behaves that way.  What would
you suggest it should be?

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla