X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcross.cc;h=7436dbf26a9b4582edcfb8e1702638b2e91d3416;hb=2d5b8cdde08044d323aa7193dfac6c9f8bca7131;hp=9aa8454c989444dd04532a4b9ef995c36c279b20;hpb=a9dd3d27bc52f853309885b1be02d6efd2d2af48;p=dcpomatic.git diff --git a/src/lib/cross.cc b/src/lib/cross.cc index 9aa8454c9..7436dbf26 100644 --- a/src/lib/cross.cc +++ b/src/lib/cross.cc @@ -70,6 +70,9 @@ cpu_info () string info; #ifdef DCPOMATIC_LINUX + /* This use of ifstream is ok; the filename can never + be non-Latin + */ ifstream f ("/proc/cpuinfo"); while (f.good ()) { string l;