Make 'user' and 'group' const as to not discard the qualifier from the
functions we use to assign them. Doesn't seem to be anything else that relies on these being non-const.
This commit is contained in:
parent
ff5e253326
commit
0928a7f16f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96649
@ -486,7 +486,8 @@ display(FTSENT *p, FTSENT *list)
|
||||
size_t flen, ulen, glen;
|
||||
char *initmax;
|
||||
int entries, needstats;
|
||||
char *user, *group, *flags, *lattr = NULL;
|
||||
const char *user, *group;
|
||||
char *flags, *lattr = NULL;
|
||||
char buf[STRBUF_SIZEOF(u_quad_t) + 1];
|
||||
char ngroup[STRBUF_SIZEOF(uid_t) + 1];
|
||||
char nuser[STRBUF_SIZEOF(gid_t) + 1];
|
||||
|
Loading…
Reference in New Issue
Block a user