This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MIG".
The branch, master has been updated
via b147427aa16309657856bd9ec6ef50c60b241e18 (commit)
from 88b859c0d1a377d584bda4fb74846ec19a7b958f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b147427aa16309657856bd9ec6ef50c60b241e18
Author: Samuel Thibault <[email protected]>
Date: Mon Nov 30 23:57:11 2020 +0100
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.
-----------------------------------------------------------------------
Summary of changes:
tests/includes/types.h | 1 +
utils.c | 10 +++++++---
2 files changed, 8 insertions(+), 3 deletions(-)
hooks/post-receive
--
MIG