<p> Attention is currently required from: Sean Bright. </p>
<p><a href="https://gerrit.asterisk.org/c/asterisk/+/16548">View Change</a></p><p>3 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="null">File apps/app_read.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/16548/comment/71e33e96_8ae9f6f4">Patch Set #1, Line 157:</a> <code style="font-family:monospace,monospace">   char *terminator = NULL; /* use default terminator # by default */</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Change this to: […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">The # is defaulted in app.c, so this would break that abstraction. If the default were changed, now it would need to be changed in multiple places.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/16548/comment/42d7ed49_460d965f">Patch Set #1, Line 216:</a> <code style="font-family:monospace,monospace">           if (!ast_strlen_zero(arglist.filename)) {</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Why are we checking arglist. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">That is a separate bug, thanks for pointing that out. Copy/paste error.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/16548/comment/58f0bbdb_de81530a">Patch Set #1, Line 253:</a> <code style="font-family:monospace,monospace">                                   if (terminator && strchr(terminator, tmp[x-1])) {</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">This change is no longer necessary if you set terminator to # at declaration time.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Right, but I think that would break the abstraction which was already designed in. So then we'd need to go back and modify app.c. It should've been checking terminator in the first place, I just forgot about that at the time.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/16548">change 16548</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.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.asterisk.org/c/asterisk/+/16548"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: Ie941833e123c3dbfb88371b5de5edbbe065514ac </div>
<div style="display:none"> Gerrit-Change-Number: 16548 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean@seanbright.com> </div>
<div style="display:none"> Gerrit-Attention: Sean Bright <sean@seanbright.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 29 Sep 2021 18:32:27 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: Sean Bright <sean@seanbright.com> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>