GPR#143: fix getsockopt behaviour for boolean socket options
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15837 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
c984a1414d
commit
4c1b09cdc4
2
Changes
2
Changes
|
@ -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)
|
||||
|
|
2
VERSION
2
VERSION
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue