The NetBSD Project

CVS log for src/lib/libc/gen/fnmatch.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: HEAD


Revision 1.26 / (download) - annotate - [select for diffs], Sun Oct 12 22:32:33 2014 UTC (2 months ago) by christos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.25: +15 -6 lines
Diff to previous 1.25 (colored)

Fix fnmatch issues according to POSIX.
http://pubs.opengroup.org/onlinepubs/009695399/utilities/\
xcu_chap02.html#tag_02_13_01
1. A [...] pattern containing a slash is not a pattern; the [ ]'s become regular
   characters
2. A [] or a [!] is not an empty pattern, why would it? The first would never
   match and the second would always match which makes it equivalent to ?
   In those cases the ] is taken as a literal character and does not have
   special meaning.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>