[PATCH] tests: stat-free-color: accommodate stat of /selinux on rawhide

2011-06-01 Thread Jim Meyering
This test started to fail on rawhide, due to some new start-up code that is run when selinux is enabled. That code includes a stat of /selinux: statfs("/sys/fs/selinux", 0x7fffbb8f1de0) = -1 ENOENT (No such file or directory) statfs("/selinux", {f_type=0xf97cff8c, f_bsize=4096, f_blocks=0, f

Re: [PATCH] yes.c: do not use exit after error

2011-06-01 Thread Eric Blake
On 05/27/2011 01:25 AM, Marek Polacek wrote: > I think it would be better to exit through the error() and not > to call the exit() after the error(). This way we can get rid of > one function call (and curly brackets). > > * src/yes.c (main): Exit through the error(), remove exit() call > after

[PATCH] tail: fix an inconsequential bug spotted by coverity

2011-06-01 Thread Jim Meyering
FYI, as far as I can see this really is inconsequential. I reviewed the code and also ran strace before and after, exercising the affected code. There was no difference in syscalls, and there was no difference in output when I used this as input to the tail'd fifo "f": (seq 10; sleep 1; echo foo)