diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-08-20 09:57:32 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-20 09:57:38 -0700 |
commit | 8b54c23437834b36bbb5f6de2f577400385da770 (patch) | |
tree | 1be1514c35a099216b33574ba10cc51f845f0acc /t/t1502-rev-parse-parseopt.sh | |
parent | Git 2.4.8 (diff) | |
download | tgif-8b54c23437834b36bbb5f6de2f577400385da770.tar.xz |
ps_matched: xcalloc() takes nmemb and then element size
Even though multiplication is commutative, the order of arguments
should be xcalloc(nmemb, size). ps_matched is an array of 1-byte
element whose size is the same as the number of pathspec elements.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1502-rev-parse-parseopt.sh')
0 files changed, 0 insertions, 0 deletions