[cfe-dev] Windows Lit problems again. What should we do?
Francois Pichet
pichet2000 at gmail.com
Sun Sep 19 11:07:10 PDT 2010
Implementing rename as a copy+delete fixes the problem... I think we
should go with that on windows.
On Sun, Sep 19, 2010 at 12:48 PM, Argyrios Kyrtzidis
<kyrtzidis at apple.com> wrote:
> On Sep 19, 2010, at 4:11 PM, Francois Pichet wrote:
>
>>> Wait, we can create a new %t (before r114187) but not move a file to it ?
>> strangely yes.
>>
>> none of your 2 patches make any difference. Your second patch doesn't
>> make sense. It delete the source file before renaming it.
>
> Oops!
>
>> I suppose
>> you wanted to delete the destination file.
>
> Yup :-)
>
>> I tried that, also doesn't
>> work.
>>
>>> Can you try the attached move_fix1.diff and, if it doesn't work, move_fix2.diff ?
>>
>> The only way I found to make it work is to try to rename, then if it
>> fail, Sleep(50), then try again. Repeat 3-4 times. then it works.. But
>> clearly this is not a correct solution.
>>
>> I just learned that lit has it own Shell parser/interpreter. The
>> problem might be fixed there I hope.
>>
>> I am using Process Monitor
>> (http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx) to
>> watch all filesystem activities during a lit python run. I see strange
>> things.. I'll have more later.
>
> Can you verify whether this can occur outside of lit ?
>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
More information about the cfe-dev
mailing list