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

Re: [Fwd: Re: [b-d]hurd-i386 myproxy]



tis 2012-07-03 klockan 13:28 +0200 skrev Pino Toscano:
> Hi,
> 
> Alle martedì 3 luglio 2012, Mattias Ellert ha scritto:
> > The problem is that a call to rename() fails (returns negative value)
> > and errno is set to EAGAIN. This does not happen on the other
> > architectures. If I insert a loop that repeats the call to rename()
> > until it would succeed that does not work - that only results in that
> > the execution get stuck in the loop.
> 
> What are the exact C strings passed as arguments to rename()?

The strings are like:

/tmp/D_RiobUAO6/.globus/certificates.test.23341.23511/
/tmp/D_RiobUAO6/.globus/certificates.test.23341/ 

The name of the directory in /tmp and the numbers at the end differ
between attempts, but it fails the same way consistently every time.

As you can see these end with a slash and it is a rename of a directory
that fails. Renaming regular files works fine - it is done without
problem a few lines above where the rename of the directory fails.

	Mattias

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: