Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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 <> 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 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:  FAQ:
To unsubscribe, mail  Archives: