Skip to content

Commit

Permalink
new release 0.6
Browse files Browse the repository at this point in the history
fixed compilation with OCaml 4.06
now requires OCaml >= 4.02
  • Loading branch information
backtracking committed Mar 23, 2018
1 parent 340a292 commit cd45cde
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@

version 0.6, March 23, 2018
---------------------------
o fixed compilation with OCaml 4.06 (using Bytes instead of String)
(contributed by haselwarter@github)

Expand Down
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ test.byte: $(CMA) $(TCMO)
test.opt: $(CMXA) $(TCMX)
$(OCAMLOPT) $(INCLUDES) -o $@ unix.cmxa $^

VERSION=0.5
VERSION=0.6

version.ml: Makefile
echo "let version = \""$(VERSION)"\"" > version.ml
Expand Down
4 changes: 2 additions & 2 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ OCAMLLIB=`$OCAMLC -v | tail -1 | cut -f 4 -d " "`
echo "ocaml library path is $OCAMLLIB"

case $OCAMLVERSION in
0.*|1.*|2.*|3.0**)
AC_MSG_ERROR(Functory requires Ocaml version 3.10.0 or higher);;
0.*|1.*|2.*|3.*|4.00*|4.01*)
AC_MSG_ERROR(You need OCaml 4.02 or higher);;
esac


Expand Down
2 changes: 1 addition & 1 deletion network.ml
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ let create_sock_addr name port =
let addr =
try
inet_addr_of_string name
with Failure "inet_addr_of_string" ->
with Failure _ ->
try
(gethostbyname name).h_addr_list.(0)
with Not_found ->
Expand Down

0 comments on commit cd45cde

Please sign in to comment.