[llvm-commits] CVS: llvm/lib/System/Unix/Process.inc

Chris Lattner lattner at cs.uiuc.edu
Fri May 12 11:13:24 PDT 2006



Changes in directory llvm/lib/System/Unix:

Process.inc updated: 1.13 -> 1.14
---
Log message:

Fix iterator invalidation bug, identified by Coverity.


---
Diffs of the changes:  (+1 -1)

 Process.inc |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/System/Unix/Process.inc
diff -u llvm/lib/System/Unix/Process.inc:1.13 llvm/lib/System/Unix/Process.inc:1.14
--- llvm/lib/System/Unix/Process.inc:1.13	Mon Nov 14 01:27:56 2005
+++ llvm/lib/System/Unix/Process.inc	Fri May 12 13:13:11 2006
@@ -95,7 +95,7 @@
                       TimeValue& sys_time)
 {
   elapsed = TimeValue::now();
-#if defined(HAVE_GETRUSAGE)
+#if 0 // defined(HAVE_GETRUSAGE)
   struct rusage usage;
   ::getrusage(RUSAGE_SELF, &usage);
   user_time = TimeValue( 






More information about the llvm-commits mailing list