diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2007-02-25 14:38:11 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2007-02-25 14:38:11 +0000 |
commit | efbf67e517d799bb62454de08617dfec7848a36c (patch) | |
tree | f66f15313e271211ba3bc0d54f1a70d8ca640644 /otherlibs/win32unix | |
parent | 4fd5cfb53969bb64c7156491637549458d25b75e (diff) |
Tentative fix for PR#3927. To be tested.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7921 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/win32unix')
-rw-r--r-- | otherlibs/win32unix/unix.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/win32unix/unix.ml b/otherlibs/win32unix/unix.ml index acb12d695..2ae4a61a0 100644 --- a/otherlibs/win32unix/unix.ml +++ b/otherlibs/win32unix/unix.ml @@ -326,7 +326,7 @@ external findnext : int -> string= "win_findnext" let opendir dirname = try - let (first_entry, handle) = findfirst (dirname ^ "\\*.*") in + let (first_entry, handle) = findfirst (Filename.concat dirname "*.*") in { dirname = dirname; handle = handle; entry_read = Dir_read first_entry } with End_of_file -> { dirname = dirname; handle = 0; entry_read = Dir_empty } |