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

Paul Fisher pfisher@REDACTED
Wed Mar 26 15:16:54 CET 2008


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}


-- 
paul




More information about the erlang-questions mailing list