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

Filename.is_implicit and Filename.is_relative treat quoted paths as relative #5828

Closed
vicuna opened this issue Nov 15, 2012 · 2 comments
Closed

Comments

@vicuna
Copy link

vicuna commented Nov 15, 2012

Original bug ID: 5828
Reporter: prevosto
Status: closed (set by @xavierleroy on 2012-11-17T14:32:47Z)
Resolution: not a bug
Priority: normal
Severity: minor
Platform: x86_64
OS: Linux
Version: 4.00.0
Category: standard library

Bug description

Filename.is_implicit ""/foo/bar"";;

  • : bool = true

Filename.is_relative ""/foo/bar"";;

  • : bool = true

Arguably, both should be false.

@vicuna
Copy link
Author

vicuna commented Nov 15, 2012

Comment author: prevosto

Sorry for the noise, '"' is a perfectly valid name for a directory. This report can be closed.

@vicuna
Copy link
Author

vicuna commented Nov 17, 2012

Comment author: @xavierleroy

Indeed, quotes in filenames have no special meaning for Unix system calls and I'm pretty sure for Windows's as well.

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

1 participant