changeset 1785:6109184b054f

[project @ 1996-01-24 19:42:04 by jwe]
author jwe
date Wed, 24 Jan 1996 19:42:04 +0000
parents 28b9e76f7736
children b9e8c73e154e
files src/dirfns.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dirfns.cc
+++ b/src/dirfns.cc
@@ -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;