Revision c8db708d5d865a2085230687689868520863abe1 authored by René Scharfe on 30 September 2014, 17:42:03 UTC, committed by Junio C Hamano on 30 September 2014, 18:53:23 UTC
FreeBSD's printf(1) doesn't accept empty strings for numerical format
specifiers:

	$ printf "%d\n" "" >/dev/null; echo $?
	printf: : expected numeric value
	1

Initialize the AWK variable c to make sure the shell variable
subtree_count always contains a numerical value, in order to keep the
subsequently called printf happy.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 4ed115e
History
File Mode Size
LICENSE -rw-r--r-- 1.5 KB
fast_export.c -rw-r--r-- 8.9 KB
fast_export.h -rw-r--r-- 1.2 KB
line_buffer.c -rw-r--r-- 2.8 KB
line_buffer.h -rw-r--r-- 980 bytes
line_buffer.txt -rw-r--r-- 2.4 KB
repo_tree.c -rw-r--r-- 1.0 KB
repo_tree.h -rw-r--r-- 692 bytes
sliding_window.c -rw-r--r-- 2.1 KB
sliding_window.h -rw-r--r-- 376 bytes
svndiff.c -rw-r--r-- 8.0 KB
svndiff.h -rw-r--r-- 210 bytes
svndump.c -rw-r--r-- 13.4 KB
svndump.h -rw-r--r-- 267 bytes

back to top