hashtbl.mli: changé "unpredictable" en "unspecified"

header.c: supprimé l'appel à strlen (qui planterait sur big endian 64 bits)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@958 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Damien Doligez 1996-09-05 17:35:43 +00:00
parent bdebe32659
commit b98d994046
2 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ val iter : ('a -> 'b -> 'c) -> ('a, 'b) t -> unit
discarding all the results.
[f] receives the key as first argument, and the associated value
as second argument. The order in which the bindings are passed to
[f] is unpredictable. Each binding is presented exactly once
[f] is unspecified. Each binding is presented exactly once
to [f]. *)
(*** The polymorphic hash primitive *)

View File

@ -12,13 +12,13 @@
/* $Id$ */
char * runtime_name = "ocamlrun";
char * errmsg = "Cannot exec ocamlrun.\n";
char errmsg [] = "Cannot exec ocamlrun.\n";
int main(argc, argv)
int argc;
char ** argv;
{
execvp(runtime_name, argv);
write(2, errmsg, strlen(errmsg));
write(2, errmsg, sizeof(errmsg)-1);
return 2;
}