Bug#588978: ocaml-nox: ocamlbuild cannot handle symlink loops
On 07/14/2010 12:38 AM, Eric Cooper wrote:
> Package: ocaml-nox Version: 3.11.2-1 Severity: normal
>
> ocamlbuild enters an infinite loop if a symlink creates a cycle in
> the source directory.
>
> To produce the problem:
>
> 1. cd to the source directory of a project using ocamlbuild
>
> 2. do "ln -s . loop"
>
> 3. run ocamlbuild
>
> Ironically, I discovered this while trying to prevent *my* OCaml code
> from exhibiting this same problem. When I created a cycle to test
> it, I couldn't build the program any more :-)
>
Is this really a bug?
Regards,
--
Mehdi Dogguy مهدي الدڤي
http://dogguy.org/
Reply to: