<div dir="ltr"><div style><div>Dear Maintainer,</div><div><br></div><div>The patch that I have submitted on Friday seems to works well just as a temporary fix to bug 700088 but, as Charles Plessy said, there are still problems concerning the selection of the default options. Also this is due to the Gets function declared in bx_read.c. Please consider the new version of the patch that you will found attached to this mail, as a fix for both bug 700088 and for the selection of default options.</div>
<div><br></div><div>All my best,</div>Giorgio Maccari.</div><div style><br></div><div style>####################PATCH#########################</div><div style><div>Description: Removes trailing newlines from standard inputs.</div>
<div>Author: Giorgio Maccari <<a href="mailto:giorgio.maccari@gmail.com">giorgio.maccari@gmail.com</a>></div><div>Bug-Debian: <a href="http://bugs.debian.org/700088">http://bugs.debian.org/700088</a></div><div>--- boxshade-3.3.1.old/bx_read.c<span class="" style="white-space:pre"> </span>2013-02-08 15:20:14.000000000 +0100</div>
<div>+++ boxshade-3.3.1/bx_read.c<span class="" style="white-space:pre"> </span>2013-02-11 10:21:04.575015837 +0100</div><div>@@ -4,7 +4,11 @@</div><div> </div><div> char *Gets(char *s, size_t length) {</div><div> fflush(stdout);</div>
<div>- return fgets(s,length,stdin);</div><div>+ fgets(s,length,stdin);</div><div>+ char *pos;</div><div>+ if ((pos=strchr(s, '\n')) != NULL)</div><div>+ *pos = '\0';</div><div>+ return s;</div><div>
}</div><div> </div><div> /*</div><div>####################################################</div></div></div>