[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Fix symbolic C stack backtrace in WIN64 builds. (65d9d81)
notifications at github.com
Fri Oct 1 06:21:21 UTC 2021
> 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
This works like a charm and as expected:
/* File name is hello_world.c */
pFile = fopen("crash.dmp","a+t");
fprintf(pFile, "%s", "Hello!");
PLEASE! Update your Cygwin installation. :-)
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev