Attention is currently required from: falconia.
fixeria has posted comments on this change by falconia. ( https://gerrit.osmocom.org/c/libosmo-netif/+/39278?usp=email )
Change subject: include/osmocom/netif/Makefile.am cosmetic: make it easier to extend
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/39278?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I05ecbdb44286b842e158278fb07479846cd66806
Gerrit-Change-Number: 39278
Gerrit-PatchSet: 1
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: falconia <falcon(a)freecalypso.org>
Gerrit-Comment-Date: Fri, 10 Jan 2025 07:29:59 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
falconia has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-netif/+/39278?usp=email )
Change subject: include/osmocom/netif/Makefile.am cosmetic: make it easier to extend
......................................................................
include/osmocom/netif/Makefile.am cosmetic: make it easier to extend
To make it easier to add new headers to osmonetif_HEADERS list,
make two cosmetic changes to it:
* List all currently exported headers in alphabetical order;
* Use $(NULL) construct so that every header-naming line ends
with a backslash.
Change-Id: I05ecbdb44286b842e158278fb07479846cd66806
---
M include/osmocom/netif/Makefile.am
1 file changed, 4 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/78/39278/1
diff --git a/include/osmocom/netif/Makefile.am b/include/osmocom/netif/Makefile.am
index 3d8a56b..d518edb 100644
--- a/include/osmocom/netif/Makefile.am
+++ b/include/osmocom/netif/Makefile.am
@@ -4,14 +4,15 @@
osmonetif_HEADERS = amr.h \
datagram.h \
- jibuf.h \
- osmux.h \
ipa.h \
ipa_unit.h \
+ jibuf.h \
+ osmux.h \
prim.h \
rs232.h \
rtp.h \
- stream.h
+ stream.h \
+ $(NULL)
if ENABLE_LIBSCTP
osmonetif_HEADERS += sctp.h
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/39278?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I05ecbdb44286b842e158278fb07479846cd66806
Gerrit-Change-Number: 39278
Gerrit-PatchSet: 1
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
falconia has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-netif/+/39279?usp=email )
Change subject: src/Makefile.am cosmetic: make it easier to extend
......................................................................
src/Makefile.am cosmetic: make it easier to extend
To make it easier to add new source files to libosmonetif_la_SOURCES
list, make two cosmetic changes to it:
* List stream.c before stream_{cli,srv}.c, matching the order
that is used in other similar instances;
* Use $(NULL) construct so that every source-naming line ends
with a backslash.
Change-Id: I98cf6d592fb66d5f22d486358ccdab06306ae3b0
---
M src/Makefile.am
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/79/39279/1
diff --git a/src/Makefile.am b/src/Makefile.am
index bd3f272..e3634be 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -23,9 +23,10 @@
prim.c \
rs232.c \
rtp.c \
+ stream.c \
stream_cli.c \
stream_srv.c \
- stream.c
+ $(NULL)
if ENABLE_LIBSCTP
libosmonetif_la_SOURCES += sctp.c
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/39279?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I98cf6d592fb66d5f22d486358ccdab06306ae3b0
Gerrit-Change-Number: 39279
Gerrit-PatchSet: 1
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Attention is currently required from: pespin.
falconia has posted comments on this change by falconia. ( https://gerrit.osmocom.org/c/libosmocore/+/39276?usp=email )
Change subject: osmo_iofd_register: fix the case of changing fd
......................................................................
Patch Set 2:
(1 comment)
File src/core/osmo_io.c:
https://gerrit.osmocom.org/c/libosmocore/+/39276/comment/42fc86fb_945358ce?… :
PS2, Line 759: if (fd >= 0)
> I think you don't even need this "if" line, you can do "iofd->fd = fd;" directly.
No, the conditional is still needed. Users are allowed to set fd earlier and pass -1 to `osmo_iofd_register()`; removing the `if` like you propose would break that case.
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/39276?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: If8b8486ad7934afa203dfe1e996c9217373a017b
Gerrit-Change-Number: 39276
Gerrit-PatchSet: 2
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 10 Jan 2025 02:26:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Attention is currently required from: falconia.
pespin has posted comments on this change by falconia. ( https://gerrit.osmocom.org/c/libosmocore/+/39276?usp=email )
Change subject: osmo_iofd_register: fix the case of changing fd
......................................................................
Patch Set 2:
(1 comment)
File src/core/osmo_io.c:
https://gerrit.osmocom.org/c/libosmocore/+/39276/comment/cb5f5c12_0433c467?… :
PS1, Line 756: else if (iofd->fd < 0)
> Please look at the new version of my patch. […]
Done
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/39276?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: If8b8486ad7934afa203dfe1e996c9217373a017b
Gerrit-Change-Number: 39276
Gerrit-PatchSet: 2
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: falconia <falcon(a)freecalypso.org>
Gerrit-Comment-Date: Thu, 09 Jan 2025 23:46:05 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: falconia <falcon(a)freecalypso.org>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>