Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jan 2026 21:03:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 291374] getopt(3) GNU extension wrong behavior
Message-ID:  <bug-291374-227-qm8vu1l2i0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-291374-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291374-227-qm8vu1l2i0>