notmuch/util
Đoàn Trần Công Danh 441a327051 compat: rename {,notmuch_}canonicalize_file_name
When compat canonicalize_file_name was introduced, it was limited to
C code only because it was used by C code only during that time.

>From 5ec6fd4d, (lib/open: check for split configuration when creating
database., 2021-02-16), lib/open.cc, which is C++, relies on the
existent of canonicalize_file_name.

However, we can't blindly enable canonicalize_file_name for C++ code,
because different implementation has different additional signature for
C++ and users can arbitrarily add -DHAVE_CANONICALIZE_FILE_NAME=0 to
{C,CXX}FLAGS.

Let's move our implementation into a util library.

Helped-by: Tomi Ollila <tomi.ollila@iki.fi>
Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
2021-04-24 08:07:00 -03:00
..
crypto.c util: run uncrustify 2021-03-13 08:45:34 -04:00
crypto.h util: run uncrustify 2021-03-13 08:45:34 -04:00
error_util.c cppcheck: call va_end in _internal_error 2017-08-30 07:12:13 -03:00
error_util.h util: run uncrustify 2019-06-14 07:41:27 -03:00
gmime-extra.c util: run uncrustify 2021-03-13 08:45:34 -04:00
gmime-extra.h util: run uncrustify 2019-06-14 07:41:27 -03:00
hex-escape.c util: run uncrustify 2019-06-14 07:41:27 -03:00
hex-escape.h util: run uncrustify 2019-06-14 07:41:27 -03:00
Makefile
Makefile.local compat: rename {,notmuch_}canonicalize_file_name 2021-04-24 08:07:00 -03:00
path-util.c compat: rename {,notmuch_}canonicalize_file_name 2021-04-24 08:07:00 -03:00
path-util.h compat: rename {,notmuch_}canonicalize_file_name 2021-04-24 08:07:00 -03:00
repair.c util: run uncrustify 2021-03-13 08:45:34 -04:00
repair.h util/repair: identify and repair "Mixed Up" mangled messages 2019-09-15 19:06:31 -04:00
string-util.c util: run uncrustify 2021-03-13 08:45:34 -04:00
string-util.h util: add strsplit_len: simplified strtok with delimiter escaping 2021-02-06 19:06:49 -04:00
talloc-extra.c
talloc-extra.h util: make remaining headers includable from C++ 2019-03-11 22:26:50 -03:00
unicode-util.c util: run uncrustify 2019-06-14 07:41:27 -03:00
unicode-util.h util: add unicode_word_utf8 2019-05-25 06:51:12 -03:00
util.c util: run uncrustify 2019-06-14 07:41:27 -03:00
util.h fix typos 2018-01-04 20:35:58 -04:00
xutil.c util: run uncrustify 2019-06-14 07:41:27 -03:00
xutil.h util: make remaining headers includable from C++ 2019-03-11 22:26:50 -03:00
zlib-extra.c util: run uncrustify 2021-03-13 08:45:34 -04:00
zlib-extra.h util: run uncrustify 2021-03-13 08:45:34 -04:00