diff options
author | Wayne Davison <wayned@samba.org> | 2013-06-11 13:28:45 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2013-06-11 13:28:45 -0700 |
commit | fc2d6fabe7ef7543caa0cb36231c8234dd6b6eeb (patch) | |
tree | d8fb90444fa2a52a98f59f35f8e878805a2fe77a /options.c | |
parent | a508e88fcf9797e796fb4c3d5a91d24323c477ea (diff) | |
download | rsync-fc2d6fabe7ef7543caa0cb36231c8234dd6b6eeb.tar.gz |
Set number_separator the first time it gets used.
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -123,7 +123,6 @@ int checksum_seed = 0; int inplace = 0; int delay_updates = 0; long block_size = 0; /* "long" because popt can't set an int32. */ -char number_separator; char *skip_compress = NULL; item_list dparam_list = EMPTY_ITEM_LIST; @@ -1870,15 +1869,6 @@ int parse_arguments(int *argc_p, const char ***argv_p) verbose > 1 ? "stats3" : "stats2", DEFAULT_PRIORITY); } - if (human_readable) { - char buf[32]; - snprintf(buf, sizeof buf, "%f", 3.14); - if (strchr(buf, '.') != NULL) - number_separator = ','; - else - number_separator = '.'; - } - #ifdef ICONV_OPTION if (iconv_opt && protect_args != 2) { if (!am_server && strcmp(iconv_opt, "-") == 0) |