https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241714
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #3 from [email protected] --- tabsize is set to have an optional argument. I can't explain why as it seems to me it always require an argument. This patch here makes tabsize require an argument which also solves the problem of the SEGfault as line 255 of diff.c is expecting optarg to be something. --- diff.c.orig 2019-11-20 01:16:41.377456000 -0500 +++ diff.c 2019-11-20 01:16:51.176400000 -0500 @@ -90,7 +90,7 @@ { "no-ignore-file-name-case", no_argument, NULL, OPT_NO_IGN_FN_CASE }, { "normal", no_argument, NULL, OPT_NORMAL }, { "strip-trailing-cr", no_argument, NULL, OPT_STRIPCR }, - { "tabsize", optional_argument, NULL, OPT_TSIZE }, + { "tabsize", required_argument, NULL, OPT_TSIZE }, { "changed-group-format", required_argument, NULL, OPT_CHANGED_GROUP_FORMAT}, { NULL, 0, 0, '\0'} }; -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
