From: Johannes Schindelin Date: Sat, 09 Jan 2016 14:53:54 GMT Subject: Re: [PATCH v2 2/4] compat/basename: make basename() conform to POSIX Message-ID: In-Reply-To: Hi Junio, On Fri, 8 Jan 2016, Junio C Hamano wrote: > Johannes Schindelin writes: > > > According to POSIX, basename("/path/") should return "path", not > > "path/". Likewise, basename(NULL) and basename("abc") should both > > return ".". > > Did you mean basename("abc"), not basename(""), here? I don't understand: I wrote basename("abc")... ;-) Ciao, Dscho