Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] using open_out_gen, output_string and close_out
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Johann Spies <jspies@m...>
Subject: Re: [Caml-list] using open_out_gen, output_string and close_out
Xavier Leroy <Xavier.Leroy@inria.fr> writes:

> The Open_append flag does not imply write access, it's just a modifier
> saying "whatever writes you do, do them at the end of the file".  So
> you need to specify Open_wronly as well.  (Agreed, the documentation
> should state this.)

Thanks Xavier.  That solved it.


Johann
-- 
Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

     "If ye be reproached for the name of Christ, happy are 
      ye; for the spirit of glory and of God resteth upon 
      you; on their part He is spoken evil of, but on your 
      part He is glorified."                 I Peter 4:14 
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr