Debian Patches

Status for mig/1.8+git20200618-5

Patch Description Author Forwarded Bugs Origin Last update
const_string_t commit b147427aa16309657856bd9ec6ef50c60b241e18

Make string_t always use const_string_t

This will allow to relieve constraints in callers, e.g. dir_lookup("") would
otherwise produce a warning with gcc-11 since char[1024] would mean that
dir_lookup would read all 1024 characters while it is not.

* utils.c (UserVarQualifier): Also use const_ qualifier when type is
string_t.
* tests/includes/types.h (const_string_t): New type.

diff --git a/tests/includes/types.h b/tests/includes/types.h
index 0bb914c..c8c3afd 100644
Samuel Thibault <samuel.thibault@ens-lyon.org> no 2020-11-30

All known versions for source package 'mig'

Links