[llvm-commits] CVS: llvm/lib/System/Win32/Path.cpp

Reid Spencer reid at x10sys.com
Mon Dec 13 12:00:01 PST 2004



Changes in directory llvm/lib/System/Win32:

Path.cpp updated: 1.12 -> 1.13
---
Log message:

For PR351: http://llvm.cs.uiuc.edu/PR351 :
Implement three new functions to allow setting access/permission bits on 
the file referenced by a path. The makeReadable and makeExecutable methods
replace the FileUtilities MakeFileReadable and MakeFileExecutable 
functions. The makeWritable function is new and provided for consistency
since Path has a writable() method.


---
Diffs of the changes:  (+9 -0)

Index: llvm/lib/System/Win32/Path.cpp
diff -u llvm/lib/System/Win32/Path.cpp:1.12 llvm/lib/System/Win32/Path.cpp:1.13
--- llvm/lib/System/Win32/Path.cpp:1.12	Mon Dec 13 12:41:28 2004
+++ llvm/lib/System/Win32/Path.cpp	Mon Dec 13 13:59:50 2004
@@ -287,6 +287,15 @@
   return path.substr(pos+1);
 }
 
+void Path::makeReadable() {
+}
+
+void Path::makeWriteable() {
+}
+
+void Path::makeExecutable() {
+}
+
 bool
 Path::setDirectory(const std::string& a_path) {
   if (a_path.size() == 0)






More information about the llvm-commits mailing list