Daniel Bünzli
Daniel Bünzli
Busy yielding occurs both in `Fiber.{first,either}` and during fiber termination while waiting for the spawns to finish. It is, of course, inefficient. We need to introduce a form of waiter...
This has been c&p too much times. ```ocaml (** {1:suggesting Suggesting} *) val edit_distance : string -> string -> int (** [edit_distance s0 s1] is the number of single byte...
That binds to [`realpath(3)`](http://pubs.opengroup.org/onlinepubs/9699919799/functions/realpath.html) on POSIX. On Windows @bobatkey suggests using [`GetFullPathName`](https://msdn.microsoft.com/en-us/library/windows/desktop/aa364963%28v=vs.85%29.aspx).
W.r.t. races, see https://github.com/dbuenzli/bos/issues/50#issuecomment-223592710 and discussion in #50.
The problem is that we [simply](https://github.com/dbuenzli/bos/blob/master/src/bos_os_path.ml#L446) `Fpath.normalize` the initially provided paths and consult its basename. Of course this won't work e.g. if the directory pointed by an initial path like...
Windows needs to know whether you link to a directory or a file. See https://github.com/ocaml/ocaml/pull/462
The implementation introduced in 8d15b141a0c903fedacf61e is vulnerable to that [kind](https://bugs.python.org/issue4489) of attack.
[spec](https://www.w3.org/TR/IndexedDB/) and [MDN docs](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API).