[PATCH] Allow . to end a filename, use real unicode for fnmatch().

Andrew Bartlett abartlet at samba.org
Sun Jul 27 22:43:43 GMT 2003


On Mon, 2003-07-28 at 08:38, Jeremy Allison wrote:
> On Mon, Jul 28, 2003 at 08:34:31AM +1000, Andrew Bartlett wrote:
> > 
> > So the fact that 'a windows client can't do this' is a reason do deviate
> > from the behaviour of a windows server?
> 
> Yes. It is a case that they have simply never had to deal with
> which allows us a broader interpretation of the spec. The implementation
> of strip dot was a horrible mess - the mangling of filenames ending
> in dot is a much cleaner way of dealing with this problem - that's
> what I mean by historical context.

Given all that, I think it's a reasonable approach  (and that's the
reason I raised it on the list).  And I would never have disagreed with
it if masktest hadn't tripped over it - I'm much more worried about the
fnmatch code...

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20030727/578adf7f/attachment.bin


More information about the samba-technical mailing list