diff src/dirfns.cc @ 1785:6109184b054f

[project @ 1996-01-24 19:42:04 by jwe]
author jwe
date Wed, 24 Jan 1996 19:42:04 +0000
parents e090f89bf2f5
children 3a16afafc2ee
line wrap: on
line diff
--- a/src/dirfns.cc	Wed Jan 24 08:49:29 1996 +0000
+++ b/src/dirfns.cc	Wed Jan 24 19:42:04 1996 +0000
@@ -180,7 +180,7 @@
 string
 make_absolute (const string& s, const string& dot_path)
 {
-  if (dot_path.empty () || s[0] == '/')
+  if (dot_path.empty () || s[0] == '/' || s.empty ())
     return s;
 
   string current_path = dot_path;