Skip to content

Commit

Permalink
When comparing filename, use their (unique) string representation ins…
Browse files Browse the repository at this point in the history
…tead of their (not unique) representation of dirname/basename
  • Loading branch information
samoht committed Aug 24, 2012
1 parent 66a0501 commit deb6e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ml
Expand Up @@ -392,7 +392,7 @@ end = struct
module O = struct
type tmp = t
type t = tmp
let compare = compare
let compare x y = compare (to_string x) (to_string y)
let to_string = to_string
end
module Map = Map.Make(O)
Expand Down

0 comments on commit deb6e21

Please sign in to comment.