10 ms·
Wow,no kidding https://github.com/Yasushi/putty/blob/31a2ad775f393aad1c31a983b0baea205d48e219/ssh.c#L414 https://github.com/Yasushi/putty/blob/31a2ad775f393aad1
by O5vYtytb 11y ago
Wow,no kidding https://github.com/Yasushi/putty/blob/31a2ad775f393aad1c31a983b0baea205d48e219/ssh.c#L414 https://github.com/Yasushi/putty/blob/31a2ad775f393aad1c31a9...
It's beautiful and incredibly scary at the same time.
- majke 11y agojust wow, from the snippet you linked: * - right-click ssh.c in the FileView * - click Settings * - select the C/C++ tab and the General category * - under `Debug info:', select anything _other_ than `Program * Database for Edit and Continue'. Right, so in order to compile the thing you need to click "something other than". That doesn't sound deterministic.
- becauseICan 11y agoThat's ensuring the compiler obeys some behaviors of an ANSI C compiler when debugging in MS Visual Studio. That strikes me as the kind of practice that would improve determinism. The explanation is given on the line before your quote. That said, I can't believe this exists in the wild.