Re: [Toybox] [CLEANUP] stat: Some cleanup

2013-04-21 Thread Felix Janda
On 04/21/13 at 12:09am, Rob Landley wrote: On 04/19/2013 05:28:27 PM, Felix Janda wrote: [snip] The functionality of get_access_str() is also implemented in the ls toy (likely much better). Should something like it be in the library? Once code can be shared by a second command,

Re: [Toybox] [CLEANUP] stat: Some cleanup

2013-04-21 Thread Rob Landley
On 04/21/2013 04:40:16 PM, Felix Janda wrote: If you can come up with a clean way to share the code, go for it. Ok, actually I'd only put something like get_access_str() of stat into the lib. Cool. Although a quick glance at the one in stat implies it doesn't handle the fun combinations of