Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ep/do-not-feed-a-pointer-to-array-size' into maint
author
Junio C Hamano
<gitster@pobox.com>
Tue, 16 Jun 2015 21:33:41 +0000
(14:33 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 16 Jun 2015 21:33:41 +0000
(14:33 -0700)
Catch a programmer mistake to feed a pointer not an array to
ARRAY_SIZE() macro, by using a couple of GCC extensions.
* ep/do-not-feed-a-pointer-to-array-size:
git-compat-util.h: implement a different ARRAY_SIZE macro for for safely deriving the size of array
1
2
git-compat-util.h
patch
|
diff1
|
diff2
|
blob
|
history
raw
|
combined
(merge:
2c185f0
89c855e
)
diff --cc
git-compat-util.h
Simple merge