GPR#143: fix getsockopt behaviour for boolean socket options

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15837 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Damien Doligez 2015-02-10 22:48:16 +00:00
parent c984a1414d
commit 4c1b09cdc4
3 changed files with 4 additions and 1 deletions

View File

@ -154,6 +154,8 @@ Bug fixes:
(Mark Shinwell and Jérémie Dimino)
- PR#6763: #show with -short-paths doesn't select shortest type paths
- PR#6768: Typechecker overflow the stack on cyclic type
- GPR#143: fix getsockopt behaviour for boolean socket options
(Anil Madhavapeddy and Andrew Ray)
- ocamlbuild on cygwin cannot find ocamlfind
(user 'algoriddle')
- allow android build with pthreads support (since SDK r10c)

View File

@ -1,4 +1,4 @@
4.03.0+dev6-2015-01-20
4.03.0+dev7-2015-02-08
# The version string is the first line of this file.
# It must be in the format described in stdlib/sys.mli

View File

@ -194,6 +194,7 @@ unix_getsockopt_aux(char * name,
switch (ty) {
case TYPE_BOOL:
return Val_bool(optval.i);
case TYPE_INT:
return Val_int(optval.i);
case TYPE_LINGER: