# HG changeset patch # User jwe # Date 822512524 0 # Node ID 6109184b054fdc76d08cf048f2658bf9f8042f7e # Parent 28b9e76f773600541a08ae941b85571d777c3421 [project @ 1996-01-24 19:42:04 by jwe] diff --git a/src/dirfns.cc b/src/dirfns.cc --- 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;