Added the --no-ignore-case option to allow overriding the option
authorWayne Davison <wayned@samba.org>
Sat, 28 Apr 2007 23:35:19 +0000 (23:35 +0000)
committerWayne Davison <wayned@samba.org>
Sat, 28 Apr 2007 23:35:19 +0000 (23:35 +0000)
if someone makes it default to being enabled.

ignore-case.diff

index 1eea18b..c473809 100644 (file)
@@ -179,15 +179,16 @@ To use this patch, run these commands for a successful build:
    rprintf(F,"     --address=ADDRESS       bind address for outgoing socket to daemon\n");
    rprintf(F,"     --port=PORT             specify double-colon alternate port number\n");
    rprintf(F,"     --sockopts=OPTIONS      specify custom TCP options\n");
-@@ -567,6 +569,7 @@ static struct poptOption long_options[] 
+@@ -567,6 +569,8 @@ static struct poptOption long_options[] 
    {"only-write-batch", 0,  POPT_ARG_STRING, &batch_name, OPT_ONLY_WRITE_BATCH, 0, 0 },
    {"files-from",       0,  POPT_ARG_STRING, &files_from, 0, 0, 0 },
    {"from0",           '0', POPT_ARG_NONE,   &eol_nulls, 0, 0, 0},
-+  {"ignore-case",      0,  POPT_ARG_NONE,   &ignore_case, 0, 0, 0 },
++  {"ignore-case",      0,  POPT_ARG_VAL,    &ignore_case, 1, 0, 0 },
++  {"no-ignore-case",   0,  POPT_ARG_VAL,    &ignore_case, 0, 0, 0 },
    {"numeric-ids",      0,  POPT_ARG_NONE,   &numeric_ids, 0, 0, 0 },
    {"timeout",          0,  POPT_ARG_INT,    &io_timeout, 0, 0, 0 },
    {"rsh",             'e', POPT_ARG_STRING, &shell_cmd, 0, 0, 0 },
-@@ -1834,6 +1837,9 @@ void server_options(char **args,int *arg
+@@ -1834,6 +1838,9 @@ void server_options(char **args,int *arg
                args[ac++] = arg;
        }