Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tools/catalog-lists-test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@
#define CATALOG_LINE_MAX 8000
#define CATALOG_FLAGS (HTS_LINE_DROP_TAB | HTS_LINE_DROP_FF | HTS_LINE_DROP_NUL)

/* Here for the linker alone, because this harness opens the catalogs itself and reaches
no path that calls fconv(). The engine's own one needs the coucal submodule CI skips. */
extern "C" char *fconv(char *catbuff, size_t size, const char *a) {
snprintf(catbuff, size, "%s", a);
return catbuff;
}

typedef std::map<std::string, std::string> Catalog;

/* LANGINTKEY() and LANGSEL() both answer "" for a key they do not hold. */
Expand Down
Loading