import gdb-19990504 snapshot
[deliverable/binutils-gdb.git] / gdb / source.c
index 8b330dee13154a73a886cbd16173a54bd27a4dab..2ee51b6a2b8160ab8a2d1ead1f3d3c5ba31be8ba 100644 (file)
@@ -529,7 +529,7 @@ openp (path, try_cwd_first, string, mode, prot, filename_opened)
   mode |= O_BINARY;
 #endif
 
-  if (try_cwd_first || SLASH_P (string[0]))
+  if (try_cwd_first || ROOTED_P (string))
     {
       int i;
       filename = string;
This page took 0.022559 seconds and 4 git commands to generate.