* path.cc (fillout_mntent): Append backslash to drive-only paths before

calling fs_info::update.
	* path.h (fs_info::clear): Simplify.
	(fs_info::fs_info): Add constructor.
This commit is contained in:
Corinna Vinschen
2007-08-19 15:55:06 +00:00
parent fcc5fef0b0
commit decbb5d387
3 changed files with 14 additions and 14 deletions

View File

@ -110,20 +110,9 @@ struct fs_info
unsigned is_cdrom : 1;
} status;
public:
void clear ()
{
flags () = 0;
is_remote_drive (false);
has_buggy_open (false);
has_acls (false);
hasgood_inode (false);
is_fat (false);
is_ntfs (false);
is_samba (false);
is_nfs (false);
is_netapp (false);
is_cdrom (false);
}
void clear () { memset (this, 0 , sizeof *this); }
fs_info () { clear (); }
inline DWORD& flags () {return status.flags;};
IMPLEMENT_STATUS_FLAG (bool, is_remote_drive)