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'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 11 May 2015 21:24:00 +0000
(14:24 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 11 May 2015 21:24:00 +0000
(14:24 -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:
051086b
89c855e
)
diff --cc
git-compat-util.h
Simple merge