]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r288309: fnmatch(): Remove exponential behaviour as in sh r229201.
authorjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 25 Oct 2015 21:39:23 +0000 (21:39 +0000)
committerjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 25 Oct 2015 21:39:23 +0000 (21:39 +0000)
commit5facabcea704a3574eaa41d760008310e5b7bc99
tree2ffe8b4424462da40227d81685a89b9da04d2ee2
parent65a5d64955a8d0f7bae65d4267106cc88bcac0e7
MFC r288309: fnmatch(): Remove exponential behaviour as in sh r229201.

The old code was exponential in the number of asterisks in the pattern.
However, once a match has been found upto the next asterisk, the previous
asterisks are no longer relevant.

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