From e4b2ebd80779a44d24fe87af26ef278c1e2d97d2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 6 Oct 2023 02:04:49 +0200 Subject: Add wrappers around boost::filesystem methods that handle the required mangling of long filenames on Windows. Also wrap lots of missing places (e.g. calls to asdcplib, libxml++, libcxml etc.) in dcp::filesystem::fix_long_path(). The idea is to keep paths un-mangled until they we call some filesystem-related API and mangle them at that point. Otherwise we end up serialising mangled names, which seems like it will not end well. Should fix DoM #2623. --- src/wscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/wscript') diff --git a/src/wscript b/src/wscript index a408d7cd..e6bee6f2 100644 --- a/src/wscript +++ b/src/wscript @@ -57,6 +57,7 @@ def build(bld): encrypted_kdm.cc exceptions.cc file.cc + filesystem.cc font_asset.cc fsk.cc gamma_transfer_function.cc @@ -156,6 +157,7 @@ def build(bld): equality_options.h exceptions.h file.h + filesystem.h font_asset.h frame.h fsk.h -- cgit v1.2.3