7846: limit fnmatch pattern cache to _MAXCACHE=100 entries.

Patch by Andrew Clegg.
4 files changed