This file is indexed.

/usr/include/libfilezilla/glue/wx.hpp is in libfilezilla-dev 0.11.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef LIBFILEZILLA_GLUE_WX_HEADER
#define LIBFILEZILLA_GLUE_WX_HEADER

#include <wx/string.h>

#include "../format.hpp"
#include "../string.hpp"

inline std::wstring to_wstring(wxString const& s) { return s.ToStdWstring(); }

namespace fz {
template<>
inline wxString str_tolower_ascii(wxString const& s)
{
	wxString ret = s;
	// wxString is just broken, can't even use range-based for loops with it.
	for (auto it = ret.begin(); it != ret.end(); ++it) {
		*it = tolower_ascii(static_cast<wxChar>(*it));
	}
	return ret;
}

inline native_string to_native(wxString const& in)
{
	return to_native(in.ToStdWstring());
}

inline std::string to_utf8(wxString const& s)
{
	return to_utf8(s.ToStdWstring());
}

template<typename... Args>
std::wstring sprintf(wxString const& fmt, Args&&... args)
{
	return sprintf(fmt.ToStdWstring(), std::forward<Args>(args)...);
}

}

#endif