Re: [patch] libc: wordexp support

2010-04-06 Thread Matthew Haub
Hello, On Tue, Apr 06, 2010 at 02:34:03PM -0600, Theo de Raadt wrote: > > On Tue, Apr 06, 2010 at 11:55:21AM -0400, Ted Unangst wrote: > > I'm sorry, but this is terrible. (Not your effort, which is > > appreciated, but the whole function.) I do not like the idea of > > adding a "be extra carefu

Re: [patch] libc: wordexp support

2010-04-06 Thread Bob Beck
> If I continue to have say in this, wordexp() will never be in > OpenBSD's libc. Perhaps if there is one open source project which > refuses to have it, coders will continue avoiding use of wordexp(). Other than we know by the example of strlc* that doesnt' work ;) Even though there are real re

Re: [patch] libc: wordexp support

2010-04-06 Thread Theo de Raadt
> On Tue, Apr 6, 2010 at 1:53 AM, Matthew Haub > wrote: > > This patch adds support for wordexp(3) and wordfree(3) to libc. These > > functions conform to IEEE Std 1003.1-2001 (POSIX). The implementation > > comes from NetBSD and uses a shell builtin, "wordexp", to perform the > > expansion in lin

Re: [patch] libc: wordexp support

2010-04-06 Thread Theo de Raadt
I think we should stand up to crap and not ever impliment it. > On Tue, Apr 6, 2010 at 1:53 AM, Matthew Haub > wrote: > > This patch adds support for wordexp(3) and wordfree(3) to libc. These > > functions conform to IEEE Std 1003.1-2001 (POSIX). The implementation > > comes from NetBSD and uses

Re: [patch] libc: wordexp support

2010-04-06 Thread Ted Unangst
On Tue, Apr 6, 2010 at 1:53 AM, Matthew Haub wrote: > This patch adds support for wordexp(3) and wordfree(3) to libc. These > functions conform to IEEE Std 1003.1-2001 (POSIX). The implementation > comes from NetBSD and uses a shell builtin, "wordexp", to perform the > expansion in line with the m