[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: please build test (new version): spiped-1.2.2f



On Wed, Nov 07, 2012 at 08:38:55PM -0800, Colin Percival wrote:
> On 11/07/12 19:43, James Turner wrote:
> > After further testing it looks like posix-l.sh is overriding /dev/null, 
> > which is causing permission issues on OpenBSD when other programs try to 
> > access it. The below line seems to be the issue:
> > 
> > if ${CC} -o /dev/null -l${LIB} posix-l.c 2>/dev/null; then
> > 
> > Normally /dev/null is crw-rw-rw-. After posix-1.sh is ran it becomes 
> > -rw-r--r--.
> 
> Wow, that's unexpected and scary.  I've replaced that with a more standard
> "build a.out and then delete it" approach.
> 
> Time to see if my new approach works.  Everybody please test
> http://www.tarsnap.com/spiped/spiped-1.2.2f.tgz, with SHA256 hash
> bbada9984939adddf4dd92ea459cf50e1ba392e4b9fe60de510297c0d6673513. :-)
> 

Everything still builds just fine on Mac OS X 10.6.8 and recent OpenBSD
snapshot. The new posix-l.sh looks good and /dev/null is left untouched
on OpenBSD. Thanks!

-- 
James Turner
james@calminferno.net