[Bug 291374] getopt(3) GNU extension wrong behavior
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 291374] getopt(3) GNU extension wrong behavior"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Jan 2026 21:03:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291374
--- Comment #10 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=4b2a8aab43ff747bcba6c28f5c0431141ec198a0
commit 4b2a8aab43ff747bcba6c28f5c0431141ec198a0
Author: Simon Wollwage <rootnode+freebsd@wollwage.com>
AuthorDate: 2025-12-12 05:11:40 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2026-01-09 21:02:23 +0000
getopt(3): be more explicit about :: extension
Make it possible to search for literal two colons (::) and actually
find something. Make the "x"/"x:"/"x::" examples more explicit and
more visibile.
Signed-off-by: Simon Wollwage <rootnode+freebsd@wollwage.com>
Obtained from: NetBSD, nbuwe <uwe@stderr.spb.ru>, 856d5b6
PR: 291374
Reviewed by: imp, jlduran
Pull Request: https://github.com/freebsd/freebsd-src/pull/1923
lib/libc/stdlib/getopt.3 | 49 +++++++++++++++++++++++++++++++++---------------
1 file changed, 34 insertions(+), 15 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.