Displaying 1 result from an estimated 1 matches for "stringccbprintf".
2024 Jun 30
0
Making use of win32_segv
...ore cautious manner:
- Only set up the crash handler in Rterm, because this is mostly for
the benefit of the people reading the R CMD check output
- Compare GetCurrentThreadId() against a saved value and don't call
R_Traceback() if it doesn't match
- Rewrite win32_segv in terms of StringCcbPrintf to static storage and
WriteFile(GetStdHandle(STD_ERROR_HANDLE), ...), which may be too much
Attached is a crude first draft to see if the approach is viable. If it
turns out to be a good idea, I can add the Rterm or thread ID checks, a
reentrancy guard, declare and export a special struct win32...