You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Marvin Humphrey (JIRA)" <ji...@apache.org> on 2011/06/26 06:43:47 UTC

[lucy-issues] [jira] [Commented] (LUCY-161) Always use CreateHardLink() on Windows.

    [ https://issues.apache.org/jira/browse/LUCY-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055014#comment-13055014 ] 

Marvin Humphrey commented on LUCY-161:
--------------------------------------

Committed to trunk as r1139711 (which went in without a commit message
thanks to a hasty TortoiseSVN).  Still needs merging to the 0.1 branch.

> Always use CreateHardLink() on Windows.
> ---------------------------------------
>
>                 Key: LUCY-161
>                 URL: https://issues.apache.org/jira/browse/LUCY-161
>             Project: Lucy
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 0.1.0 (incubating)
>            Reporter: Marvin Humphrey
>            Priority: Minor
>             Fix For: 0.1.1 (incubating)
>
>
> FSFolder's Hard_Link() method has been set to prefer link() from
> unistd.h, but this causes problems under Strawberry Perl where GCC 
> provides unistd.h without link().  The solution is to always prefer
> CreateHardLink() when windows.h is available.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira