[llvm-commits] CVS: llvm/lib/System/Win32/Process.inc
Reid Spencer
reid at x10sys.com
Thu Apr 21 09:13:08 PDT 2005
Changes in directory llvm/lib/System/Win32:
Process.inc updated: 1.10 -> 1.11
---
Log message:
Provide an implementation of the GetCurrentUserId and GetCurrentGroupId
methods that were recently added to the interface.
---
Diffs of the changes: (+10 -0)
Process.inc | 10 ++++++++++
1 files changed, 10 insertions(+)
Index: llvm/lib/System/Win32/Process.inc
diff -u llvm/lib/System/Win32/Process.inc:1.10 llvm/lib/System/Win32/Process.inc:1.11
--- llvm/lib/System/Win32/Process.inc:1.10 Fri Feb 18 21:01:13 2005
+++ llvm/lib/System/Win32/Process.inc Thu Apr 21 11:12:57 2005
@@ -91,6 +91,16 @@
sys_time.nanoseconds( unsigned(KernelTime % 10000000) * 100 );
}
+int Process::GetCurrentUserId()
+{
+ return 65536;
+}
+
+int Process::GetCurrentGroupId()
+{
+ return 65536;
+}
+
// Some LLVM programs such as bugpoint produce core files as a normal part of
// their operation. To prevent the disk from filling up, this configuration item
// does what's necessary to prevent their generation.
More information about the llvm-commits
mailing list