From 6a28966e5717e3e5c02925a152aa7057118de952 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 9 Jan 2003 08:22:51 +0000 Subject: . --- winsup/cygwin/fhandler_disk_file.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/fhandler_disk_file.cc b/winsup/cygwin/fhandler_disk_file.cc index 9c6aadb..f25df3d 100644 --- a/winsup/cygwin/fhandler_disk_file.cc +++ b/winsup/cygwin/fhandler_disk_file.cc @@ -617,7 +617,7 @@ fhandler_disk_file::opendir (path_conv& real_name) dir->__d_u.__d_data.__fh = this; /* FindFirstFile doesn't seem to like duplicate /'s. */ len = strlen (dir->__d_dirname); - if (len == 0 || SLASH_P (dir->__d_dirname[len - 1])) + if (len == 0 || isdirsep (dir->__d_dirname[len - 1])) strcat (dir->__d_dirname, "*"); else strcat (dir->__d_dirname, "\\*"); /**/ -- cgit v1.1