<div class="__aliyun_email_body_block"><div  style="font-family: Tahoma, Arial, STHeitiSC-Light, SimSun"><div  style="clear: both; font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;"><span  style="font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;"><br ></span></div><div  style="clear: both; font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;"><span  style="font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;"><br ></span></div><div  class="alimail-quote"><div  style="clear: both;">------------------------------------------------------------------</div><div  style="clear: both;">From:Jinser Kafka &lt;aimer@purejs.icu&gt;</div><div  style="clear: both;">Send Time:2025 Sep. 17 (Wed.) 17:34</div><div  style="clear: both;">To:cmdist&lt;cmdist@ccrma.stanford.edu&gt;</div><div  style="clear: both;">CC:"沈达"&lt;da@liii.pro&gt;; Jinser Kafka&lt;aimer@purejs.icu&gt;</div><div  style="clear: both;">Subject:[PATCH] Fix conditional compilation bug in file_display function</div><div  style="clear: both;"><br ></div>The bug was introduced in commit bed4a92230c3c81a5f43f537399fa847471eb689<br >which changed the parameter name from 's' to 'str' but failed to update<br >the conditional compilation branch under WITH_WARNINGS, causing a<br >compilation error when WITH_WARNINGS is defined.<br ><br >Fixes the fputs() call in the WITH_WARNINGS section to use the correct<br >parameter name 'str' instead of the old 's'.<br >---<br > s7.c | 2 +-<br > 1 file changed, 1 insertion(+), 1 deletion(-)<br ><br >diff --git a/s7.c b/s7.c<br >index 273f6d1..de0a33e 100644<br >--- a/s7.c<br >+++ b/s7.c<br >@@ -30183,7 +30183,7 @@ static void file_display(s7_scheme *sc, const char *str, s7_pointer port)<br >&nbsp; &nbsp; port_position(port) = 0;<br >&nbsp; }<br > #if WITH_WARNINGS<br >-&nbsp; &nbsp; &nbsp; if (fputs(s, port_file(port)) == EOF)<br >+&nbsp; &nbsp; &nbsp; if (fputs(str, port_file(port)) == EOF)<br >&nbsp; s7_warn(sc, 64, "write to %s: %s\n", port_filename(port), strerror(errno));<br > #else<br > &nbsp; &nbsp; &nbsp; fputs(str, port_file(port));<br >-- <br >2.51.0</div><div  style="line-height: 20px; clear: both;"><br ></div></div></div>