mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
- Add USE_LDCONFIG when SHARED is enabled. - Use OPTIONS_SUB. - Use {opt}_FOO wherever possible. - Normalize patch files. - Take maintainership.
13 lines
500 B
C++
13 lines
500 B
C++
--- policy/configuration.cc.orig 2012-01-11 17:56:10 UTC
|
|
+++ policy/configuration.cc
|
|
@@ -766,7 +766,9 @@ IEMap::link_code(const string& proto, Co
|
|
POLICY* p = find_policy(proto);
|
|
XLOG_ASSERT(p);
|
|
|
|
- for (POLICY::reverse_iterator i = p->rbegin(); i != p->rend(); ++i) {
|
|
+// for (POLICY::reverse_iterator i = p->rbegin(); i != p->rend(); ++i) {
|
|
+ if (! p->empty())
|
|
+ for (POLICY::iterator i = p->end(); --i != p->begin(); ) {
|
|
PolicyList* pl = i->second;
|
|
|
|
pl->link_code(code);
|