Strings pointed to by these variables are actually modified. They point
to modifiable data areas (own stack arrays or argv arguments), so the
code does not erroneously modify them. Instead, clarify that they are
modifiable by removing the qualifier.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
assertEqualInt(ARCHIVE_OK, archive_write_free(a));
if (use_set) {
- const char *p;
+ char *p;
buff[used] = '\0';
assert(NULL != (p = strstr(buff, "\n/set ")));
assertEqualInt(ARCHIVE_OK, archive_write_free(a));
if (use_set) {
- const char *p;
+ char *p;
buff[used] = '\0';
assert(NULL != (p = strstr(buff, "\n/set ")));
/* Miscellaneous state information */
int argc;
char **argv;
- const char *argument;
+ char *argument;
size_t gs_width; /* For 'list_item' in read.c */
size_t u_width; /* for 'list_item' in read.c */
uid_t user_uid; /* UID running this program */