summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff-tree_--cc_--stat_--summary_master
diff options
context:
space:
mode:
authorLibravatar Michal Rokos <michal.rokos@nextsoft.cz>2008-03-05 16:46:13 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-03-05 13:12:07 -0800
commitc4582f93a263bea534288e7f7ad8937405964cd4 (patch)
tree0347f5c0606376d6ebd8e35dd4636139711fd8ac /t/t4013/diff.diff-tree_--cc_--stat_--summary_master
parentbash: git-branch -d and -m lists only local branches (diff)
downloadtgif-c4582f93a263bea534288e7f7ad8937405964cd4.tar.xz
Add compat/snprintf.c for systems that return bogus
Some systems (namely HPUX and Windows) return -1 when maxsize in snprintf() and in vsnprintf() is reached. So replace snprintf() and vsnprintf() functions with our own ones that return correct value upon overflow. [jc: verified that review comments by J6t have been incorporated, and tightened the check to verify the resulting buffer contents, suggested by Wayne Davison] Signed-off-by: Michal Rokos <michal.rokos@nextsoft.cz> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_--cc_--stat_--summary_master')
0 files changed, 0 insertions, 0 deletions