<p></p>
<br>
<br>
> On Sep 30, 2021, at 11:21 PM, Marcel Taeumel ***@***.***> wrote:<br>
> <br>
> <br>
> N.B. As of cygwin 1.5.25 fopen("crash.dmp","a") DOES NOT WORK! crash.dmp<br>
> contains garbled output as if the file pointer gets set to the start of the<br>
> file, not the end. So we synthesize our own append mode.<br>
> <br>
> Hi Eliot. Please update your Cygwin ASAP! It's hardly believeable that the append-mode in fopen is broken in a fairly recent Cygwin installation.<br>
> <br>
> $ cygcheck -c cygwin<br>
> Cygwin Package Information<br>
> Package              Version        Status<br>
> cygwin               3.2.0-1        OK<br>
> $ cygcheck -f /usr/include/stdio.h<br>
> cygwin-devel-3.2.0-1<br>
> This works like a charm and as expected:<br>
> <br>
> /* File name is hello_world.c */<br>
> #include <stdio.h><br>
> <br>
> int main(void)<br>
> {<br>
>    FILE *pFile;<br>
>    pFile = fopen("crash.dmp","a+t");<br>
>    fprintf(pFile, "%s", "Hello!");<br>
>    fclose(pFile);<br>
> }<br>
> PLEASE! Update your Cygwin installation. :-)<br>
> <br>
<br>
I don’t use Cygwin; or rather, I don’t use Cygwin to build.  I use gmake, MSVC & clang.  Thanks an old comment. I’m not in a position to, nor am I interested in spending the time to, verify if it is still current.<br>
<br>
> —<br>
> You are receiving this because you authored the thread.<br>
> Reply to this email directly, view it on GitHub, or unsubscribe.<br>
> Triage notifications on the go with GitHub Mobile for iOS or Android. <br>


<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/65d9d814015f68f472966bdd6ee0263bd4d1c9e0#commitcomment-57389008">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW5A2NRZLT6EINO2CGDUEZFBLANCNFSM5FD5ZFPA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AIJPEW2HANKIQSRZE2ARAFDUEZFBLA5CNFSM5FD5ZFPKYY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBWXL6Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/65d9d814015f68f472966bdd6ee0263bd4d1c9e0#commitcomment-57389008",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/65d9d814015f68f472966bdd6ee0263bd4d1c9e0#commitcomment-57389008",
"name": "View Commit"
},
"description": "View this Commit on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>