]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r322368, r322371:
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 10 Oct 2017 21:04:40 +0000 (21:04 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 10 Oct 2017 21:04:40 +0000 (21:04 +0000)
commit063ead34ac0773b00d1f16e53df07c77a08ec370
tree1233fcf4c5da521a360142646b2c0d76990d6688
parent8b276b874162801763b42f7f908cba2ecf279fbb
MFC r322368, r322371:
fnmatch(3): improve POSIX conformance.

In a recent interpretation[1], "\\" shall return a non-zero value
(indicating either no match or an error).

The fix involves a change over r254091 and now the behavior matches the
Sun/IBM/HP closed source implementations and also likely musl libc.

Submitted by: Joerg Schilling <joerg at schily.net>

[1] http://austingroupbugs.net/view.php?id=806

git-svn-id: svn://svn.freebsd.org/base/stable/10@324505 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/gen/fnmatch.c
lib/libc/tests/gen/fnmatch_testcases.h