Re: Bug in storage.c

Christian Grothoff <[email protected]> Sat, 26 Feb 2005 15:47:30 -0500
Newsgroups gmane.network.gnunet.bugs
Message-ID <[email protected]>
You are of course right.  I've fixed this now.

Christian

On Thursday 24 February 2005 15:47, [email protected] wrote:
> I believe there may be a bug in storage.c at line 416.
>
> 00416       if (! isDirectory(dir))
>
> should be
>
> 00416       if (! isDirectory(rdir))
>
>
> Though you subsequently handle the resultant EEXIST error, I believe the
> parameter should be "rdir" instead of "dir" because otherwise you get
> the EEXIST error far more often than you should.
>
> Please tell me if I am wrong.
>
> Thank you.
>
> Mike Palmer
> [email protected]