Author: ablack
Date: Tue Sep 25 09:29:26 2007
New Revision: 579307
URL: http://svn.apache.org/viewvc?rev=579307&view=rev
Log:
2007-09-25 Andrew Black <[EMAIL PROTECTED]>
STDCXX-440
* exec.cpp (limit_process): Stop itteration over limits structure
when name element is null, not limit element. Old behavior
incorrectly aborted loop when encountering the first limit that
didn't need to be set.
Modified:
incubator/stdcxx/trunk/util/exec.cpp
Modified: incubator/stdcxx/trunk/util/exec.cpp
URL:
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/util/exec.cpp?rev=579307&r1=579306&r2=579307&view=diff
==============================================================================
--- incubator/stdcxx/trunk/util/exec.cpp (original)
+++ incubator/stdcxx/trunk/util/exec.cpp Tue Sep 25 09:29:26 2007
@@ -717,7 +717,7 @@
{ 0, 0, 0 }
};
- for (size_t i = 0; limits [i].limit; ++i) {
+ for (size_t i = 0; limits [i].name; ++i) {
struct rlimit local;
if (!limits [i].limit)