Overview
Comment: | Fixed Tcl I/O to be binary |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
9ad4b6efea8c04827d1a6e4ad179a4bb |
User & Date: | rkeene on 2014-05-22 16:59:26 |
Other Links: | manifest | tags |
Context
2014-05-22
| ||
16:59 | Corrected path seperator on Windows check-in: a6d7a98041 user: rkeene tags: trunk | |
16:59 | Fixed Tcl I/O to be binary check-in: 9ad4b6efea user: rkeene tags: trunk | |
05:12 | tcc4tcl 0.13 check-in: bdab5f40e3 user: rkeene tags: trunk, 0.13 | |
Changes
Modified build/tcc-patches/0.9.26/tcc-0.9.26-tclio.diff from [8fe78dd24b] to [3b7b96df23].
1 2 | 1 2 3 4 5 6 7 8 9 10 | - + | diff -uNr tcc-0.9.26.orig/libtcc.c tcc-0.9.26-1tclio/libtcc.c --- tcc-0.9.26.orig/libtcc.c 2013-02-15 08:24:00.000000000 -0600 |
︙ | |||
39 40 41 42 43 44 45 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | - + | + + if (strcmp(filename, "-") == 0) { + fd = Tcl_GetStdChannel(TCL_STDIN); + filename = "stdin"; + } else { + path = Tcl_NewStringObj(filename,-1); + Tcl_IncrRefCount(path); |
︙ |