Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jan 2013 21:23:00 -0500
From:      Fbsd8 <fbsd8@a1poweruser.com>
To:        Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
Cc:        FreeBSD questions <questions@freebsd.org>
Subject:   Re: sh script problem with capturing return code
Message-ID:  <50EE2604.4020809@a1poweruser.com>
In-Reply-To: <44r4ltu8zp.fsf@lowell-desk.lan>
References:  <50EC9009.3030305@a1poweruser.com> <20130108224626.8c2d89cd.freebsd@edvax.de> <50EC99F2.3020404@a1poweruser.com> <44d2xevlhb.fsf@lowell-desk.lan> <50ED88CF.7060308@a1poweruser.com> <448v82unxb.fsf@lowell-desk.lan> <444niqum7n.fsf@lowell-desk.lan> <44zk0it6t5.fsf@lowell-desk.lan> <44r4ltu8zp.fsf@lowell-desk.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
Lowell Gilbert wrote:
> Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> writes:
> 
>> I think it's a real bug, and the test cases don't cover "extra" elements
>> at all. Now I just have to figure out the right fix.
> 
> I'm pretty sure that the fix is just to set rval on jumping to the
> "extra" tag in vwalk() in src/usr.sbin/mtree/verify.c.
> 
> But my hot water heater just exploded, so I may not look at code for a
> few more days.

Hello Lowell,
Thank you very much.
I was going crazy trying different combinations of options and script 
logic. I want to thank you for taking my problem seriously and taking 
the time to do your own test cases to verify my findings. Now that I 
know it's a genuine bug in mtree, I can make my plans accordingly. Any 
fix to the mtree utility will take some time to filter down to a regular 
RELEASE. Maybe 9.2 or the big jump to 10.0 by the end of 2013. I will 
leave it up to you the file a PR on this and follow through.
Thanks again, people like you are what makes this questions list so 
valuable and FreeBSD such a great OS. You did outstanding work.

Joe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50EE2604.4020809>