- Corrected typo and missing ; for Solaris builds.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
Owen Clarke 2011-06-27 22:40:45 -04:00 committed by Paul Beckingham
parent e4c173771f
commit 8fbce0288e
3 changed files with 4 additions and 3 deletions

View file

@ -157,7 +157,7 @@ const std::string DOM::get (const std::string& name)
#elif defined (LINUX)
return /*_cache[name] =*/ "Linux";
#else
return /*_cache[name] =*/ STRING_DOM_UNKNOWN
return /*_cache[name] =*/ STRING_DOM_UNKNOWN;
#endif
else

View file

@ -109,7 +109,7 @@ bool Directory::remove_directory (const std::string& dir)
struct stat s;
stat (de->d_name, &s);
if (s.st_mode & S_IFDIR)
remove_directory (dir + "/" + de->de_name);
remove_directory (dir + "/" + de->d_name);
else
unlink ((dir + "/" + de->d_name).c_str ());
#else