[llvm-commits] CVS: llvm/include/Support/FileUtilities.h

John Criswell criswell at cs.uiuc.edu
Tue Sep 2 16:18:08 PDT 2003


Changes in directory llvm/include/Support:

FileUtilities.h updated: 1.3 -> 1.4

---
Log message:

Added the MakeFileReadable() method.



---
Diffs of the changes:

Index: llvm/include/Support/FileUtilities.h
diff -u llvm/include/Support/FileUtilities.h:1.3 llvm/include/Support/FileUtilities.h:1.4
--- llvm/include/Support/FileUtilities.h:1.3	Tue Sep  2 15:14:57 2003
+++ llvm/include/Support/FileUtilities.h	Tue Sep  2 16:09:30 2003
@@ -51,4 +51,21 @@
 ///	In case of failure, the file's access attributes are unspecified.
 ///
 bool MakeFileExecutable (const std::string & Filename);
+
+///
+/// Method: MakeFileReadable()
+///
+/// Description:
+///	This method turns on whatever access attributes are needed to make the
+///	specified file readable.
+///
+/// Return value:
+///	True  - The operation succeeded.
+///	False - The operation failed.
+///
+/// Notes:
+///	In case of failure, the file's access attributes are unspecified.
+///
+bool MakeFileReadable (const std::string & Filename);
+
 #endif





More information about the llvm-commits mailing list