<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-legacy-support.
</pre>
<p><a href="https://github.com/macports/macports-legacy-support/commit/8f3977e23805fd518408657a4380897d001029ea">https://github.com/macports/macports-legacy-support/commit/8f3977e23805fd518408657a4380897d001029ea</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 8f3977e23805fd518408657a4380897d001029ea
</span>Author: Marcus Calhoun-Lopez <marcuscalhounlopez@gmail.com>
AuthorDate: Sat Apr 16 18:38:03 2022 -0700
<span style='display:block; white-space:pre;color:#404040;'> avoid unnecessary macports_legacy_sysconf call
</span>---
src/macports_legacy_sysconf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/macports_legacy_sysconf.c b/src/macports_legacy_sysconf.c
</span><span style='display:block; white-space:pre;color:#808080;'>index bb470a7..343df66 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/macports_legacy_sysconf.c
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/macports_legacy_sysconf.c
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,7 +45,7 @@ long sysconf(int name) {
</span>
if (ret < 0 || count < 1) {
/* try again with _SC_NPROCESSORS_CONF */
<span style='display:block; white-space:pre;background:#ffe0e0;'>- return __MP_LEGACY_WRAPPER(sysconf)(_SC_NPROCESSORS_CONF);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return sysconf(_SC_NPROCESSORS_CONF);
</span> } else {
return (long)count;
}
</pre><pre style='margin:0'>
</pre>