[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Fix symbolic C stack backtrace in WIN64 builds. (65d9d81)

Eliot Miranda notifications at github.com
Sat Oct 2 00:13:09 UTC 2021



> On Sep 30, 2021, at 11:21 PM, Marcel Taeumel ***@***.***> wrote:
> 
> 
> N.B. As of cygwin 1.5.25 fopen("crash.dmp","a") DOES NOT WORK! crash.dmp
> contains garbled output as if the file pointer gets set to the start of the
> file, not the end. So we synthesize our own append mode.
> 
> 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.
> 
> $ cygcheck -c cygwin
> Cygwin Package Information
> Package              Version        Status
> cygwin               3.2.0-1        OK
> $ cygcheck -f /usr/include/stdio.h
> cygwin-devel-3.2.0-1
> This works like a charm and as expected:
> 
> /* File name is hello_world.c */
> #include <stdio.h>
> 
> int main(void)
> {
> 	FILE *pFile;
> 	pFile = fopen("crash.dmp","a+t");
> 	fprintf(pFile, "%s", "Hello!");
> 	fclose(pFile);
> }
> PLEASE! Update your Cygwin installation. :-)
> 

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.

>> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub, or unsubscribe.
> Triage notifications on the go with GitHub Mobile for iOS or Android. 


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/65d9d814015f68f472966bdd6ee0263bd4d1c9e0#commitcomment-57389008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20211001/44364900/attachment-0001.html>


More information about the Vm-dev mailing list