https://bugs.freedesktop.org/show_bug.cgi?id=75467

--- Comment #58 from David H. Gutteridge <[email protected]> ---
>A search for CFURLCreateBookmarkDataFromFile turned up 
>>http://www.opensource.apple.com/source/CF/CF-635/CFURL.h,
>which says that this function overwrites files by adding
>bookmark and alias data.

Peter, I think you're reading the wrong function description, the description
of CFURLWriteBookmarkDataToFile says that, but not
CFURLCreateBookmarkDataFromFile. (The documentation is above each function
definition, not below.) Unless we're somehow looking at different versions of
the same...

>From looking at the code, I can't understand why it would be causing the files
to be modified, but if you're saying that you backed out those two specific
change sets and the problem went away, then this must be the cause somehow.
(Perhaps a bug in Apple's implementation in older OS X releases.)

If that's indeed the case, the simplest solution would be to back out those two
change sets in the 4.3 branch only (leaving them as-is in newer branches which
don't claim to support OS X 10.6 or 10.7 anyway). If I've read Apple's
documentation correctly, up through OS X 10.10, the old functions that were
replaced are deprecated, not removed, so while this will cause a deprecation
warning during compilation (I assume), it shouldn't have any adverse affects on
users running 10.8+. (Someone would have to test this to confirm.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to