projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
387e5ec
)
Actually define PreventCoreFiles in the sys namespace.
author
Reid Spencer
<rspencer@reidspencer.com>
Tue, 31 Aug 2004 17:53:41 +0000
(17:53 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Tue, 31 Aug 2004 17:53:41 +0000
(17:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16125
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/Unix/SysConfig.cpp
patch
|
blob
|
history
diff --git
a/lib/System/Unix/SysConfig.cpp
b/lib/System/Unix/SysConfig.cpp
index a1c037639b0f5e3ea64e5a6752f9ac034c97ffa6..45b1f7d6f05a51953c5f29af4e4dbfa0e90a6d93 100644
(file)
--- a/
lib/System/Unix/SysConfig.cpp
+++ b/
lib/System/Unix/SysConfig.cpp
@@
-16,13
+16,11
@@
#include <sys/resource.h>
namespace llvm {
-using namespace sys;
-
// 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.
-void PreventCoreFiles() {
+void
sys::
PreventCoreFiles() {
struct rlimit rlim;
rlim.rlim_cur = rlim.rlim_max = 0;
int res = setrlimit(RLIMIT_CORE, &rlim);