[PATCH 1/2] mingw.h: permit arguments with side effects for is_dir_sep

2017-05-19 Thread Johannes Sixt
The implementation of is_dir_sep in git-compat-util.h uses an inline function. Use one also for the implementation in compat/mingw.h to support non-trivial argument expressions. Signed-off-by: Johannes Sixt --- compat/mingw.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 1/2] mingw.h: permit arguments with side effects for is_dir_sep

2017-05-22 Thread Johannes Schindelin
Hi Hannes, On Sat, 20 May 2017, Johannes Sixt wrote: > The implementation of is_dir_sep in git-compat-util.h uses an inline > function. Use one also for the implementation in compat/mingw.h to support > non-trivial argument expressions. > > Signed-off-by: Johannes Sixt I was a bit confused by