By default, the database redo uses to store file state returns filenames as Unicode strings, and if redo tries to run a build-script whose fully-qualified path contains non-ASCII characters then redo crashes when trying to promote the path to a Unicode string. This patch ensures that the database always returns byte-strings, not Unicode strings. That way, the fully-qualified path and the target name are both byte-strings and can be joined without issue. (Fixes a bug reported by Zoran Zaric.)
7 lines
253 B
Text
7 lines
253 B
Text
redo-ifchange all
|
|
./hello >&2
|
|
redo nonshelltest shelltest \
|
|
deltest deltest2 test.args test2.args passfailtest chdirtest \
|
|
curse/test deps/test "space dir/test" modetest makedir2 \
|
|
silencetest touchtest stamp/test alwaystest ifcreate-test \
|
|
unicode
|