Changeset 1388
- Timestamp:
- Jul 12, 2011, 3:16:10 AM (11 years ago)
- Location:
- branches/0.9-stable
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.9-stable/lib/CopyrightVisitor.cc
r1239 r1388 221 221 222 222 // finally rename file 223 struct stat nodestat; 224 stat(path.c_str(), &nodestat); 223 225 rename(tmpname, path); 226 chmod(path, nodestat.st_mode); 224 227 } 225 228 -
branches/0.9-stable/lib/utility.cc
r1253 r1388 77 77 78 78 79 void chmod(const std::string& filename, mode_t mode) 80 { 81 if (::chmod(filename.c_str(), mode)) 82 throw yat::utility::errno_error("chmod: "); 83 } 84 85 79 86 std::string concatenate_path(std::string dir, std::string base) 80 87 { -
branches/0.9-stable/lib/utility.h
r1203 r1388 59 59 60 60 /** 61 */ 62 void chmod(const std::string& filename, mode_t mode); 63 64 /** 61 65 wrapper around GNU C Library function chdir 62 66 -
branches/0.9-stable/test/Makefile.am
r1387 r1388 58 58 59 59 # tests not yet passing are listed here 60 XFAIL_TESTS = permission_test.sh60 XFAIL_TESTS = 61 61 62 62 noinst_HEADERS = Suite.h
Note: See TracChangeset
for help on using the changeset viewer.