Constantise as much as possible so that it reduces COW usage.
This commit is contained in:
@@ -161,7 +161,7 @@ static int parse_owner (struct passwd **user, struct group **group,
|
||||
#include "_usage.h"
|
||||
#define extraopts "path1 path2 ..."
|
||||
#define getoptstring "dfm:o:" getoptstring_COMMON
|
||||
static struct option longopts[] = {
|
||||
static const struct option longopts[] = {
|
||||
{ "directory", 0, NULL, 'd'},
|
||||
{ "file", 0, NULL, 'f'},
|
||||
{ "mode", 1, NULL, 'm'},
|
||||
|
||||
Reference in New Issue
Block a user