看板 DFBSD_bugs 關於我們 聯絡資訊
Stathis Kamperis (via DragonFly issue tracker) wrote: > Suppose that we supply fnmatch(3) with a pattern of the form "\" (that is '\' > followed by '0') without setting the FNM_NOESCAPE flag. Wouldn't the normal > thing to do is escape the terminating character and return just '0' ? Instead > '\' is returned. As if one has provided a pattern "\\". I guess that also happens for any other trailing \. In this case I'd keep the current behavior, because I'd expect more the \ to be used, than it to just disappear. cheers simon -- <3 the future +++ RENT this banner advert +++ ASCII Ribbon /"\ rock the past +++ space for low CHF NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \