On 03.05.2013 15:49, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> To correctly handle errors from readdir() you must set 'errno'
> to zero before invoking it & check its value afterwards to
> distinguish error from EOF.
>
> Signed-off-by: Daniel P. Berrange
> ---
> src/util/virfi
From: "Daniel P. Berrange"
To correctly handle errors from readdir() you must set 'errno'
to zero before invoking it & check its value afterwards to
distinguish error from EOF.
Signed-off-by: Daniel P. Berrange
---
src/util/virfile.c | 10 --
1 file changed, 8 insertions(+), 2 deletion