Skip to content

Commit bb46b5a

Browse files
committed
2025.01.06:
* fixed: __init__: accidental code page change in an external `__init__.bat` script call
1 parent d0673eb commit bb46b5a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

__init__/__init__.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ if not defined CONTOOLS_PROJECT_EXTERNALS_ROOT call "%%~dp0canonica
3939
rem init external projects
4040

4141
if exist "%TACKLELIB_PROJECT_EXTERNALS_ROOT%/contools/__init__/__init__.bat" (
42+
rem disable code page change in nested __init__
43+
set /A NO_CHCP+=1
4244
call "%%TACKLELIB_PROJECT_EXTERNALS_ROOT%%/contools/__init__/__init__.bat" %%* || exit /b
45+
set /A NO_CHCP-=1
4346
)
4447

4548
if %NO_GEN%0 EQU 0 (

changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025.01.06:
2+
* fixed: __init__: accidental code page change in an external `__init__.bat` script call
3+
14
2024.10.28:
25
* changed: *.bat: removed all `EOT` and `SOH` control characters as EOL characters in all `for /F "... eol= ..."` statements (https://github.com/andry81/contools/issues/3 : `Batch FOR-Loops EOL relies on a rare character`)
36

0 commit comments

Comments
 (0)