We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This bug has been migrated from artifact #668 on forge.ocamlcore.org. It was assigned to user102.
Objective Caml version 3.11.0
: unit = () Findlib has been successfully loaded. Additional directives:
: unit = ()
C:\my\ocaml\lib: added to search path C:/my/ocaml/lib\unix.cma: loaded c:\my\ocaml-3.11.0\lib\site-lib\fileutils: added to search path c:\my\ocaml-3.11.0\lib\site-lib\fileutils\fileutils.cma: loaded
Exception: FilePath.EmptyFilename.
Hence mkdir "a\b" will also raise this exception.
all_upper_dir should not be used -- though I don't enforce it through a .mli file. Something that should be done ;-)
Here are the step to reproduce your bug:
No such package: fileutil
/usr/lib/ocaml/unix.cma: loaded /usr/lib/ocaml/fileutils: added to search path /usr/lib/ocaml/fileutils/fileutils.cma: loaded
Thanks for the bug report.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This bug has been migrated from artifact #668 on forge.ocamlcore.org. It was assigned to user102.
user116 posted on 2010-06-18 08:39:43:
#use "topfind";;
: unit = ()
Findlib has been successfully loaded. Additional directives:
: unit = ()
#require "fileutils";;
C:\my\ocaml\lib: added to search path
C:/my/ocaml/lib\unix.cma: loaded
c:\my\ocaml-3.11.0\lib\site-lib\fileutils: added to search path
c:\my\ocaml-3.11.0\lib\site-lib\fileutils\fileutils.cma: loaded
FileUtil.all_upper_dir "a\b";;
Exception: FilePath.EmptyFilename.
^Z
Hence mkdir "a\b" will also raise this exception.
user102 replied on 2010-06-18 09:08:48:
all_upper_dir should not be used -- though I don't enforce it through a .mli file. Something that should be done ;-)
Here are the step to reproduce your bug:
#require "fileutil";;
No such package: fileutil
#require "fileutils";;
/usr/lib/ocaml/unix.cma: loaded
/usr/lib/ocaml/fileutils: added to search path
/usr/lib/ocaml/fileutils/fileutils.cma: loaded
FilePath.Win32Path.dirname "a\b";;
FilePath.Win32Path.dirname "a";;
FilePath.Win32Path.dirname "";;
Exception: FilePath.EmptyFilename.
Thanks for the bug report.
The text was updated successfully, but these errors were encountered: