]> git.ipfire.org Git - thirdparty/util-linux.git/commit
text-utils: correctly detect ASan under clang
authorFrantisek Sumsal <frantisek@sumsal.cz>
Sat, 30 Jan 2021 12:12:42 +0000 (13:12 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 1 Feb 2021 10:59:47 +0000 (11:59 +0100)
commitc40b3cd03d963286f0f21f3299bd33b7ceaea3b1
tree53942858cabe60bd927f1071dbd7ee87ce2d6eb8
parent0388289e3aedf554ee795f0b641ca01a903a0304
text-utils: correctly detect ASan under clang

__SANITIZE_ADDRESS__ is not defined when compiling with clang, so cover
both use cases with a special set of macros
include/c.h
include/closestream.h
text-utils/col.c