Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Force tcl files to have lf line endings inside tclkit. #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wtschueller
Copy link

Otherwise, fcopy would produce crlf if on Windows.

Files may be read directly using mk4tcl/uplevel commands without automatic <newline> substitution.
<newline> occur inside mk4vfs.tcl. The resulting error is silently suppressed, but leads to a not
functional access to the vfs like the one decribed here http://kitcreator.rkeene.org/fossil/tktview?name=3428b6ae06

…py would produce crlf if on Windows.

Files may be read directly using mk4tcl/uplevel commands without automatic \<newline> substitution.
\<newline> occur inside mk4vfs.tcl. The resulting error is silently suppressed, but leads to a not
functional access to the vfs like the one decribed here http://kitcreator.rkeene.org/fossil/tktview?name=3428b6ae06
@mayd
Copy link

mayd commented Jul 28, 2023

I had this exact problem building Tclkits with MSYS2/MINGW on Windows. This patch worked for me.

@bandoti
Copy link

bandoti commented Dec 14, 2023

This fix worked for me as well using MSYS2 UCRT64.

@rkeene please merge this in when you are able. Or if you'd like another approach on Fossil please let me know and I'd be happy to submit a patch there. Thank you!

@wtschueller Thank you for fixing this issue it would have taken a while for me to track it down otherwise.

@bandoti
Copy link

bandoti commented Dec 15, 2023

@rkeene I have included the fix with the drive-by patch associated with the issue TclKits with Tk targetting Windows blurry due to improper high-dpi scaling:
https://kitcreator.rkeene.org/fossil/tktview/90ea2a3a93

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants