summaryrefslogtreecommitdiff
path: root/t/t4051
diff options
context:
space:
mode:
authorLibravatar Johannes Sixt <j6t@kdbg.org>2017-05-22 20:58:32 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-05-23 21:42:14 +0900
commite20b5b59099a960d59f20276ae37353870e714de (patch)
tree9b7d7408f9963b5f952141f97205f144e2990999 /t/t4051
parentGit 2.10.3 (diff)
downloadtgif-e20b5b59099a960d59f20276ae37353870e714de.tar.xz
mingw.h: permit arguments with side effects for is_dir_sep
Taking git-compat-util.h's cue (which uses an inline function to back is_dir_sep()), let's use an inline function to back also the Windows version of is_dir_sep(). This avoids problems when calling the function with arguments that do more than just provide a single character, e.g. incrementing a pointer. Example: is_dir_sep(*p++) Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4051')
0 files changed, 0 insertions, 0 deletions