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.basename #3451

Closed
vicuna opened this issue Jan 28, 2005 · 1 comment
Closed

Filename.basename #3451

vicuna opened this issue Jan 28, 2005 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Jan 28, 2005

Original bug ID: 3451
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Didier Remy
Version: 3.08
OS: linux
Submission from: raspail-7-82-229-153-115.fbx.proxad.net (82.229.153.115)

Filename.basename "/" returns "", which is not a relative name as the
documentation suggests. Hence,

Unix.lstat name

is not equivalent to

Sys.chdir (Filename.dirname name); Unix.lstat (Filename.basename name)

Didier

@vicuna
Copy link
Author

vicuna commented Jan 31, 2005

Comment author: administrator

fixed DD 2005-01-31

@vicuna vicuna closed this as completed Jan 31, 2005
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant