gnustep-dev
[Top][All Lists]
Advanced

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

Re: Two NSFileManager questions


From: Enrico Sersale
Subject: Re: Two NSFileManager questions
Date: Fri, 10 Mar 2006 02:42:13 +0200

On 2006-03-09 10:55:20 +0200 Richard Frith-Macdonald <address@hidden> wrote:


On 8 Mar 2006, at 13:32, Enrico Sersale wrote:

2) I can't find a way to remove broken symlinks; - removeFileAtPath:: doesn't work in this case.

I can't see why this shouldn't work for you ... the code looks OK and the method works fine for me.

This was a GWorkspace bug; fixed. I was assuming that -fileExistsAtPath: 
doesn't traverse the link but refers to the symbolic link itself.

However, when I tried using GWorkspace to delete a symbolic link (or indeed any file) ... something I don't ever normally do, the file deletion itsself works fine but GWorkspace immediately crashes during a thread exit. Does anyone else get this, or is it just me? I guess it could be a problem with running 64bit code, since my system is unusual in that respect.

This should not happen... Does GWorkspace crash only deleting or with all the 
file operations?
Perhaps a gdb backtrace could help me.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]