Date: Sat, 08 Feb 2020 09:44:40 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 243974] diff(1) generates core dump when --tabsize is used Message-ID: <bug-243974-227-TrzzWo7RSn@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-243974-227@https.bugs.freebsd.org/bugzilla/> References: <bug-243974-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243974 --- Comment #1 from fehmi noyan isi <fnoyanisi@yahoo.com> --- duplicate of=20 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241714 The resolution mentioned in the above bug report is to pass the argument following --tabsize after an equal sign, e,g, --tabsize=3DNUMBER as opposed= to --tabsize NUMBER. In diff.c, the argument to tabsize is classified as "optional_argument" whe= reas it should be "required_argument".=20 We either should; - update the man page and indicate the argument following --tabsize is opti= onal - make the argument to --tabsize required.=20 I am more keen to go with the second option (i.e. making the argument manda= tory for the --tabsize). It does not make much sense to use only --tabsize --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243974-227-TrzzWo7RSn>