unix_gethostbyname: using a variable outside of its scope.
unix_gethostbyname: using a variable outside of its scope.

In the case HAS_GETHOSTBYNAME_R == 6, hp may point into h or into buffer,
so don't end the scope of h and buffer before hp is used.



git-svn-id: e7e61699ce1738538ffebb75374fbea0924bc775@16327 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02

msprotz/ocaml,yunxing/ocaml,msprotz/ocaml,yunxing/ocaml,yunxing/ocaml,gerdstolpmann/ocaml,yunxing/ocaml,msprotz/ocaml,eliberis/ocaml,gerdstolpmann/ocaml,gerdstolpmann/ocaml,gerdstolpmann/ocaml,msprotz/ocaml,yunxing/ocaml,eliberis/ocaml,msprotz/ocaml,eliberis/ocaml,eliberis/ocaml,gerdstolpmann/ocaml,eliberis/ocaml