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

Re: [PATCH 6/6] Check return value of chdir()



On Mon, 26 Jul 2010, David Cantrell wrote:

On Mon, 26 Jul 2010, Brian C. Lane wrote:

On 07/26/2010 09:15 PM, David Cantrell wrote:
If chdir() does not return 0, display an error of some sort and don't do
what we were about to do.
---


Ack.

Do you have any idea why those suddenly started causing problems? I ran into that today mysel. A mockbuild of 14.12 from cvs built fine. Doing a mock (not in cvs) of master was failing with the 'warnings are now errors' error on those return values.


No idea, but this happens from time to time when the toolchain changes.

Scratch that, we have -Werror in our CFLAGS.

--
David Cantrell <dcantrell redhat com>
Red Hat / Honolulu, HI


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