Skip to content

Commit

Permalink
Merge branch 'pending'
Browse files Browse the repository at this point in the history
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12042 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information
Jonathan Protzenko authored and Jonathan Protzenko committed Jan 18, 2012
1 parent 48d5f48 commit fc3bfa6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion otherlibs/bigarray/bigarray.mli
Expand Up @@ -418,7 +418,13 @@ module Genarray :
than the big array, only the initial portion of the file is
mapped to the big array. If the file is smaller than the big
array, the file is automatically grown to the size of the big array.
This requires write permissions on [fd]. *)
This requires write permissions on [fd].
Array accesses are bounds-checked, but the bounds are determined by
the initial call to [map_file]. Therefore, you should make sure no
other process modifies the mapped file while you're accessing it,
or a SIGBUS signal may be raised. This happens, for instance, if the
file is shrinked. *)

end

Expand Down

0 comments on commit fc3bfa6

Please sign in to comment.