X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f NNTP-Posting-Date: Wed, 29 Nov 2006 03:31:02 -0600 From: "Alexei A. Frounze" Newsgroups: comp.os.msdos.djgpp References: Subject: Re: fnmatch("\\\\", "\\", 0) == 1 ??? Date: Wed, 29 Nov 2006 01:30:06 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="koi8-r"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Message-ID: Lines: 12 NNTP-Posting-Host: 24.18.54.10 X-Trace: sv3-MQCBRZJo73xU2w3HzFpfo2q0jCeKzkqfEnwEHzsgWgQ64GNfAG2tnuoV9AQZenHTqhnHIodWm8U6u0Q!tnVGvAbmfVUambey0mKfrwW0GlfchoK/V9pW4vxHVKpglTpwnbvymrNOSTZJdzrgKlt/hsIT7jqe!CC42erE+Hw== X-Complaints-To: abuse AT comcast DOT net X-DMCA-Complaints-To: dmca AT comcast DOT net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Alexei A. Frounze wrote: > FYI fnmatch("\\\\", "\", 0) in DJGPP returns 1(no match) -- the obvious correction (missed one slash): fnmatch("\\\\", "\\", 0) > escaping functionality seems to be broken. > The same function call returns 0 (match) in Linux (Red Hat 9 kernel > 2.4.20) -- what it should be. Alex