[Toybox] Fixes to mkdir, chown, env

Rob Landley rob at landley.net
Tue Sep 10 00:29:38 PDT 2013


On 09/05/2013 02:20:10 PM, Felix Janda wrote:
> > Becuase we've implemented stat and are no longer using the host's
> > version, and our stat -a is saying 0775 where the host one was  
> saying
> > 775.
> >
> > Sigh. And of course there's no spec for stat. Ok, try it on gentoo,
> > ubuntu 8.04, and Red Hat 9 from a decade ago... not padding. We're
> > padding to 4 digits, and should stop that.
> 
> Maybe you have already fixed this. It is a matter of changing a 4 to
> a 3 in the corresponding format string.

Actually I yanked the padding entirely, because if you chmod 007 the  
other stat implementatinos say just "7", so in the absence of a spec, I  
made it do that.

Possibly there should be a stat test suite entry for this. Possibly  
there should be a stat test script... at all. :)

Rob

 1378798178.0


More information about the Toybox mailing list