FreeBSD Bugzilla – Attachment 185141 Details for
Bug 181129
fnmatch doesn't translate "\\"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Variant of Joerg's patch
fnmatch.diff (text/plain), 492 bytes, created by
Pedro F. Giffuni
on 2017-08-08 02:16:28 UTC
(
hide
)
Description:
Variant of Joerg's patch
Filename:
MIME Type:
Creator:
Pedro F. Giffuni
Created:
2017-08-08 02:16:28 UTC
Size:
492 bytes
patch
obsolete
>Index: lib/libc/gen/fnmatch.c >=================================================================== >--- lib/libc/gen/fnmatch.c (revision 322210) >+++ lib/libc/gen/fnmatch.c (working copy) >@@ -184,7 +184,8 @@ > if (!(flags & FNM_NOESCAPE)) { > pclen = mbrtowc(&pc, pattern, MB_LEN_MAX, > &patmbs); >- if (pclen == (size_t)-1 || pclen == (size_t)-2) >+ if (pclen == 0 || pclen == (size_t)-1 || >+ pclen == (size_t)-2) > return (FNM_NOMATCH); > pattern += pclen; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 181129
: 185141