From: "cron2 (Code Review)" Date: Wed, 4 Mar 2026 10:48:41 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <0d8f41b3812dcf418e017c8e896662975170d268-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="IuEcmldaT+4="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: buffer: Add BLENZ macro that returns size_t and use it where required List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld Cc: plaisthos , openvpn-devel --IuEcmldaT+4= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos. cron2 has posted comments on this change by flichtenheld. ( http://gerrit.o= penvpn.net/c/openvpn/+/1132?usp=3Demail ) Change subject: buffer: Add BLENZ macro that returns size_t and use it wher= e required ...................................................................... Patch Set 9: Code-Review-1 (1 comment) File src/openvpn/buffer.c: http://gerrit.openvpn.net/c/openvpn/+/1132/comment/d33181c9_2675b0e7?usp=3D= email : PS9, Line 311: const ssize_t size =3D write(fd, BPTR(buf), (unsigned in= t)BLEN(buf)); This confuses me. Why not `BLENZ()` here? Is this something-windows-compa= t again? -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1132?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: comment Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I4e75ba1dbc6d9a0f75298bc900f713b67e60d096 Gerrit-Change-Number: 1132 Gerrit-PatchSet: 9 Gerrit-Owner: flichtenheld Gerrit-Reviewer: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Wed, 04 Mar 2026 10:48:41 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes --IuEcmldaT+4= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: flichtenheld, plaisthos.

Patch set 9:Code-Review -1=

V= iew Change

1 comment:

  • File src/openvpn/buffer.c:

    <= ul style=3D"list-style: none; padding: 0;">
  • Patch Set = #9, Line 311: const= ssize_t size =3D write(fd, BPTR(buf), (unsigned int)BLEN(buf));

    =

    This confuses me. Why not `BLENZ()` here? Is this something-windows-comp= at again?

To view, visit change 1132. To unsubscribe,= or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I4e75ba1dbc6d9a0f75298bc900f= 713b67e60d096
Gerrit-Change-Number: 1132
Gerrit-PatchSet: 9
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Comment-Date: Wed, 04 Mar 2026 10:48:41= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
= --IuEcmldaT+4=--