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: trailing [!LP].

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 r...@landley.net wrote: On 09/05/2012 11:11:09 PM, David Seikel wrote: But as I mentioned, not interested in a bug hunt right

[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 felix.ja...@posteo.de # Date 1356627134 -3600 # Node ID

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. When

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