summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2010-06-22 15:17:44 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2010-06-24 16:52:37 (GMT)
commit5850b8b79a813dbe8ad380c88878260cae3d7cbc (patch)
tree4312198e30e8b84c2a521c7be2cf5fedc310c1af /.gitattributes
parentec10d005ce038281e634357697dcf223674fae77 (diff)
downloadCMake-5850b8b79a813dbe8ad380c88878260cae3d7cbc.zip
CMake-5850b8b79a813dbe8ad380c88878260cae3d7cbc.tar.gz
CMake-5850b8b79a813dbe8ad380c88878260cae3d7cbc.tar.bz2
Fix performance issue with getting version from zlib.h
Some zlib.h files have ZLIB_VERSION "1.2.3.3" with 4 numbers instead of 3. The regex is changed to grab the first 3 numbers. It was slow because if it failed to find that string near the top of the file, where it usually is, it would read the entire file.
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions