iv.vfs: don't turn "w+" mode to "r+" mode, lol
[iv.d.git] / fucktrace.d
blobed77012c2c59737d3596522f77509de590625f53
1 /* Invisible Vector Library
2 * coded by Ketmar // Invisible Vector <ketmar@ketmar.no-ip.org>
3 * Understanding is not required. Only obedience.
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 module iv.fucktrace /*is aliced*/;
21 // this needs to be `static` due to bug in druntime, or
22 // each thread creation will reset it back to default handler
23 static this () {
24 import core.runtime;
25 Runtime.traceHandler = null; // fuck it off