<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/18169">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Drop old BSC references in fd check configure option<br><br>Change-Id: I053c2bfe461aa82085e7dac1cdcc95dd77219949<br>---<br>M configure.ac<br>M src/select.c<br>2 files changed, 3 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/69/18169/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/configure.ac b/configure.ac</span><br><span>index cba0a41..ac887a0 100644</span><br><span>--- a/configure.ac</span><br><span>+++ b/configure.ac</span><br><span>@@ -227,12 +227,12 @@</span><br><span> AC_ARG_ENABLE(bsc_fd_check,</span><br><span>      [AS_HELP_STRING(</span><br><span>             [--enable-bsc-fd-check],</span><br><span style="color: hsl(0, 100%, 40%);">-                [Instrument bsc_register_fd to check that the fd is registered]</span><br><span style="color: hsl(120, 100%, 40%);">+               [Instrument osmo_fd_register to check that the fd is registered]</span><br><span>     )],</span><br><span>  [fd_check=$enableval], [fd_check="no"])</span><br><span> if test x"$fd_check" = x"no"</span><br><span> then</span><br><span style="color: hsl(0, 100%, 40%);">-   AC_DEFINE([BSC_FD_CHECK],[1],[Instrument the bsc_register_fd])</span><br><span style="color: hsl(120, 100%, 40%);">+        AC_DEFINE([OSMO_FD_CHECK],[1],[Instrument the osmo_fd_register])</span><br><span> fi</span><br><span> </span><br><span> AC_ARG_ENABLE(msgfile,</span><br><span>diff --git a/src/select.c b/src/select.c</span><br><span>index 774056a..496beea 100644</span><br><span>--- a/src/select.c</span><br><span>+++ b/src/select.c</span><br><span>@@ -121,7 +121,7 @@</span><br><span>      if (fd->fd > maxfd)</span><br><span>            maxfd = fd->fd;</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-#ifdef BSC_FD_CHECK</span><br><span style="color: hsl(120, 100%, 40%);">+#ifdef OSMO_FD_CHECK</span><br><span>      if (osmo_fd_is_registered(fd)) {</span><br><span>             fprintf(stderr, "Adding a osmo_fd that is already in the list.\n");</span><br><span>                return 0;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/18169">change 18169</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/libosmocore/+/18169"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I053c2bfe461aa82085e7dac1cdcc95dd77219949 </div>
<div style="display:none"> Gerrit-Change-Number: 18169 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>