realworldocaml / examples

All the examples in Real World OCaml
The Unlicense
376 stars 81 forks source link

fixed recursion on non-directory-entries (FIFO, Dev, ..) #23

Open juergenhoetzel opened 10 years ago

juergenhoetzel commented 10 years ago

current implementation also does recursion on FIFOs and device files:

# ls_rec ".";;
Exception: (Sys_error "./fifo: Not a directory").