Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MinGW: Unix.stat works on "directory" but not on "directory/", works on Linux #4159

Closed
vicuna opened this issue Nov 12, 2006 · 3 comments
Closed

Comments

@vicuna
Copy link

vicuna commented Nov 12, 2006

Original bug ID: 4159
Reporter: spiralvoice
Assigned to: @mshinwell
Status: resolved (set by @mshinwell on 2017-03-10T17:11:04Z)
Resolution: duplicate
Priority: normal
Severity: minor
Version: 3.09.3
Target version: undecided
Category: otherlibs
Duplicate of: #5429

Bug description

Unix.stat "directory"
works on MinGW.

A binary using:
Unix.stat "directory/"
crashes with
Fatal error: exception Unix.Unix_error(20, "stat", "directory/")
but works on Linux.

@vicuna
Copy link
Author

vicuna commented Nov 15, 2006

Comment author: @damiendoligez

No crash here, it's only an exception with error ENOENT.
I'm not sure this should be considered an OCaml bug.

@vicuna
Copy link
Author

vicuna commented Jul 24, 2013

Comment author: @damiendoligez

See the discussion in #5429.

@vicuna
Copy link
Author

vicuna commented Mar 10, 2017

Comment author: @mshinwell

This is a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants