Re: Xcode fails to write source files that have hard links or if the folder has a symbolic link
Re: Xcode fails to write source files that have hard links or if the folder has a symbolic link
- Subject: Re: Xcode fails to write source files that have hard links or if the folder has a symbolic link
- From: Walter <email@hidden>
- Date: Sat, 09 Jun 2007 21:08:23 -0400
- Thread-topic: Xcode fails to write source files that have hard links or if the folder has a symbolic link
I would also think the files would be indistinguishable, but for some reason
Xcode refuses to save any file with a st_nlink count greater than one.
stat -s <my_filename>
Reports: st_nlink=3
Xcode & gcc read the files without any issues.
Can someone else try it and let me know if its something on my machine or if
its broken for everyone?
Walter
On 6/9/07 7:35 PM, "Markus Hitter" <email@hidden> wrote:
>
> Am 10.06.2007 um 00:02 schrieb Walter:
>
>> When I attempt to link a source file to another location using ln,
>> Xcode
>> refuses to save to that file any longer. The error message isn't real
>> useful either:
>> The document <filename> could not be saved.
>>
>> Does anyone know of a good reason why Xcode prevents saving these
>> files?
>
> No. Hard links (created with "ln") should be indistinguishable from
> the original.
>
>> Is there a workaround besides copying the files?
>
> gcc and companions should accept symbolic links ("ln -s") as well.
>
>
> Markus
>
> - - - - - - - - - - - - - - - - - - -
> Dipl. Ing. Markus Hitter
> http://www.jump-ing.de/
>
>
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden