[erlang-questions] file:open/2 append w/compress invalid?

Bengt Kleberg bengt.kleberg@REDACTED
Thu Mar 27 10:13:55 CET 2008


One possible explanation is that compress needs the whole file when


On Wed, 2008-03-26 at 09:16 -0500, Paul Fisher wrote:
> Is there are reason why the combination of 'append' and 'compressed' in
> the Mode parameter of file:open/2 is considered invalid?  This would
> seem the natural way to support it:
> Erlang (BEAM) emulator version 5.6.1 [source] [smp:2] [async-threads:0]
> [hipe] [kernel-poll:false]
> Eshell V5.6.1  (abort with ^G)
> (emacs@REDACTED)1> file:open( "/tmp/foo", [append, compressed] ).
> {error,einval}

More information about the erlang-questions mailing list