[Toybox] [PATCH] Fix file.c build and fix sense of fstat test.

Rob Landley rob at landley.net
Mon Feb 29 13:15:12 PST 2016


Already checked these two in before I saw this. (I checked in the
architecture name list redo last night because the changes to file were
turning into a rathole, but "I tested this and it worked" only means
something if you haven't changed it since. Sigh...)

It should be working now. And I can make test cases that check /dev is a
directory, /dev/zero is a char device, /dev/loop0 is a block device (as
standard of one as we're likely to get anyway), mkfifo a fifo, ln -s
makes a symlink...

Huh,

$ file /usr/lib/firefox/firefox.sh
/usr/lib/firefox/firefox.sh: POSIX shell script, ASCII text executable

According to posix that should reply "commands text". Once again, posix
is completely ignored in practice.

Sigh,

Rob

 1456780512.0


More information about the Toybox mailing list