Re: [Toybox] [groups] : ! More than one in group is error

2012-12-27 Thread Ashwini Sharma
Hi Rob, With your fix, it doesn't segfault now. But does it matter, to give the proper option name in error message. If yes, then the fix fails in that. e.g. when running *./toybox touch -d 12 -r f2 f1* it throws the error message as *touch: No 'r' with 't'*. I feel the error message is not exp

Re: [Toybox] [groups] : ! More than one in group is error

2012-12-27 Thread Rob Landley
On 12/27/2012 11:06:37 AM, Felix Janda wrote: When trying to implement the remaining options for "pwd" I could also test toybox's group option handling. The option string I wanted to use is: ">0LP[!LP]" (It's the same for "LP[!LP]".) With the current argparsing I get a segfault for "pwd -L -P

[Toybox] Tests for mkfifo

2012-12-27 Thread Felix Janda
Similar patches for mkfifo. "mkfifo -m" was actually already implemented although the comments in mkfifo.c said it still had to be done. The tests are very similar to the mkdir ones. Felix # HG changeset patch # User Felix Janda # Date 1356627134 -3600 # Node ID 6554a8b33e82310673e775845beee9eb2c

Re: [Toybox] Editors and such.

2012-12-27 Thread David Seikel
Wasn't getting to sleep, and this discussion should be here rather than the Aboriginal Linux list like earlier today. On Thu, 25 Oct 2012 20:16:15 -0500 Rob Landley wrote: > On 09/05/2012 11:11:09 PM, David Seikel wrote: > > > But as I mentioned, not interested in a bug hunt right now. That >

Re: [Toybox] [groups] : ! More than one in group is error

2012-12-27 Thread Felix Janda
When trying to implement the remaining options for "pwd" I could also test toybox's group option handling. The option string I wanted to use is: ">0LP[!LP]" (It's the same for "LP[!LP]".) With the current argparsing I get a segfault for "pwd -L -P". When enabling TOYBOX_DEBUG it says "pwd: traili

Re: [Toybox] [groups] : ! More than one in group is error

2012-12-27 Thread Rob Landley
On 12/26/2012 10:24:53 PM, Ashwini Sharma wrote: Hey Rob, Options mutual exclusion handling is having a Seg Fault in function gotflag. I think that means you referenced an option that doesn't exist. (If you enable TOYBOX_DEBUG in the config, it's supposed to catch this and spit out an "un