File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
2
+ version 0.6, March 23, 2018
3
+ ---------------------------
2
4
o fixed compilation with OCaml 4.06 (using Bytes instead of String)
3
5
(contributed by haselwarter@github)
4
6
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ test.byte: $(CMA) $(TCMO)
117
117
test.opt : $(CMXA ) $(TCMX )
118
118
$(OCAMLOPT ) $(INCLUDES ) -o $@ unix.cmxa $^
119
119
120
- VERSION =0.5
120
+ VERSION =0.6
121
121
122
122
version.ml : Makefile
123
123
echo " let version = \" " $(VERSION ) " \" " > version.ml
Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ OCAMLLIB=`$OCAMLC -v | tail -1 | cut -f 4 -d " "`
65
65
echo "ocaml library path is $OCAMLLIB"
66
66
67
67
case $OCAMLVERSION in
68
- 0.*|1.*|2.*|3.0* *)
69
- AC_MSG_ERROR(Functory requires Ocaml version 3.10.0 or higher);;
68
+ 0.*|1.*|2.*|3.*|4.00*|4.01 *)
69
+ AC_MSG_ERROR(You need OCaml 4.02 or higher);;
70
70
esac
71
71
72
72
Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ let create_sock_addr name port =
404
404
let addr =
405
405
try
406
406
inet_addr_of_string name
407
- with Failure "inet_addr_of_string" ->
407
+ with Failure _ ->
408
408
try
409
409
(gethostbyname name).h_addr_list.(0 )
410
410
with Not_found ->
You can’t perform that action at this time.
0 commit comments