Re: Build failed in Jenkins: 3.HEAD-i386-FreeBSD-6.4 #1041

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Tue, 09 Aug 2011 12:56:09 -0600

On 08/09/2011 02:13 AM, Kinkie wrote:
>> ./cf_gen cf.data ../../src/cf.data.depend
>> error while opening input file 'cf.data': Unknown error: 0
>
> Now this puzzles me.
> ifstream fp.bad() reports badbits set, but errno is OK. On FreeBSD 6.4 only.

Perhaps the errno is reset by subsequent system calls? How close is your
bad() detection to the errno use?

BTW, I am surprised you use bad(). IIRC, we should use fail() or the !
operator in most cases.

Cheers,

Alex.
Received on Tue Aug 09 2011 - 18:56:31 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 10 2011 - 12:00:03 MDT