From: Jim Meyering Date: Sun, 30 Aug 1998 03:02:21 +0000 (+0000) Subject: (long_options): Replace 12 with CHAR_MAX + 1. X-Git-Tag: FILEUTILS-3_16v~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce0ba9e9d9764e6af5d8d77bc231b711c89d983c;p=thirdparty%2Fcoreutils.git (long_options): Replace 12 with CHAR_MAX + 1. --- diff --git a/src/chmod.c b/src/chmod.c index aa07e6cac4..b06484785f 100644 --- a/src/chmod.c +++ b/src/chmod.c @@ -82,7 +82,7 @@ static struct option const long_options[] = {"changes", no_argument, 0, 'c'}, {"silent", no_argument, 0, 'f'}, {"quiet", no_argument, 0, 'f'}, - {"reference", required_argument, 0, 12}, + {"reference", required_argument, 0, CHAR_MAX + 1}, {"verbose", no_argument, 0, 'v'}, {"help", no_argument, &show_help, 1}, {"version", no_argument, &show_version, 1}, @@ -311,7 +311,7 @@ main (int argc, char **argv) error (1, 0, _("invalid mode")); modeind = thisind; break; - case 12: + case CHAR_MAX + 1: reference_file = optarg; break; case 'R':