<p dir="ltr">Both with an without link resolve sounds useful. I think this should be controlled by a flag to Resolve. This will also prevent you from introducing any unintentional bugs.</p>
<div class="gmail_quote">On Feb 23, 2015 6:30 AM, "Pavel Labath" <<a href="mailto:labath@google.com">labath@google.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Greetings,<div><br></div><div>I need to determine whether two filenames refer to the same file. The description on FileSpec::Resolve reads "Resolves user name and links in path, and overwrites the input</div><div>argument with the resolved path.", which would seem to indicate that it already does symlink resolution. However, this is not the case.</div><div><br></div><div>My question is what is correct. Is it the comment (and then the function should be extended to do symlink resolution), or the implementation (and then we should change the comment to reflect that)?</div><div><br></div><div>I volunteer to do the work, but I am unsure what to do. Does anyone know what is the desired behavior?</div><div><br></div><div>regards,</div><div>pl</div></div>
<br>_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
<br></blockquote></div>