Created
February 10, 2014 22:59
-
-
Save pooya/8925959 to your computer and use it in GitHub Desktop.
freebsd_binary_sort.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/sort.c b/sort.c | |
index d811a86..664b214 100644 | |
--- a/sort.c | |
+++ b/sort.c | |
@@ -1060,10 +1060,6 @@ main(int argc, char **argv) | |
} | |
sort_opts_vals.tflag = true; | |
sort_opts_vals.field_sep = btowc(optarg[0]); | |
- if (sort_opts_vals.field_sep == WEOF) { | |
- errno = EINVAL; | |
- err(2, NULL); | |
- } | |
if (!gnusort_numeric_compatibility) { | |
if (symbol_decimal_point == sort_opts_vals.field_sep) | |
symbol_decimal_point = WEOF; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment