source file of the Flower Library
- (c) 1997--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
Jan Nieuwenhuizen <janneke@gnu.org>
*/
bool
File_name::is_absolute () const
{
- return (dir_[0] == DIRSEP);
+ /*
+ Hmm. Is c:foo absolute?
+ */
+ return (dir_.length () && dir_[0] == DIRSEP) || root_.length ();
}