Changeset 1245
- Timestamp:
- Oct 25, 2010, 5:43:30 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/utility.cc
r1186 r1245 227 227 char buffer[MAXPATHLEN]; 228 228 if (!getcwd(buffer, MAXPATHLEN)) 229 throw std::runtime_error("Failed to get current working directory");229 throw yat::utility::errno_error("pwd: "); 230 230 return std::string(buffer); 231 231 }
Note: See TracChangeset
for help on using the changeset viewer.