[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH] Fix missing backslashify fix due to git mistak

From: Peter Bex
Subject: [Chicken-hackers] [PATCH] Fix missing backslashify fix due to git mistake(?)
Date: Sat, 6 May 2017 14:55:16 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

Hi all,

When testing on Windows with mingw (but without msys), I got an error from
the C compiler that we've already fixed!  Namely, the compiler was emitting
calls to C_trace like C_trace(".\user-pass.scm:123"), which caused compiler
errors because it tries to interpret \u as a unicode literal.

This is because (string-translate "x" "x" "yy") doesn't replace "x" by "yy",
but by "y", since it does a char-by-char replacement.  It should use
string-translate*, which we already fixed in master, but sneakily that's
part of the commit that introduces the statistical profiler, not a
separate commit - maybe that's the real issue here.

I had a hard time figuring out what exactly went wrong, but I think the
commit message explains it.


Attachment: 0001-Fix-backslashify-again-to-correctly-double-any-backs.patch
Description: Text Data

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]