Re: svn commit: r305952 - head/lib/libc/gen

2016-09-19 Thread John Baldwin
On Monday, September 19, 2016 07:34:54 PM Ed Schouten wrote: > 2016-09-19 18:06 GMT+02:00 John Baldwin : > > Don't you need the _Generic hack we have for basename now? > > The _Generic() hack that we have in place is for dirname() right now. > I'll extend it to also cover

Re: svn commit: r305952 - head/lib/libc/gen

2016-09-19 Thread Ed Schouten
2016-09-19 18:06 GMT+02:00 John Baldwin : > Don't you need the _Generic hack we have for basename now? The _Generic() hack that we have in place is for dirname() right now. I'll extend it to also cover basename() when replacing that function as well. While we're on the subject,

Re: svn commit: r305952 - head/lib/libc/gen

2016-09-19 Thread John Baldwin
On Sunday, September 18, 2016 08:47:55 PM Ed Schouten wrote: > Author: ed > Date: Sun Sep 18 20:47:55 2016 > New Revision: 305952 > URL: https://svnweb.freebsd.org/changeset/base/305952 > > Log: > Replace dirname(3) by a copy that complies to POSIX. > > It turns out that the path