apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44841] New: New function: apr_file_link()
Date Fri, 18 Apr 2008 23:05:55 GMT

           Summary: New function: apr_file_link()
           Product: APR
           Version: HEAD
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: PatchAvailable
          Severity: enhancement
          Priority: P2
         Component: APR
        AssignedTo: bugs@apr.apache.org
        ReportedBy: mark@heily.com

Created an attachment (id=21829)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21829)
new function: apr_file_link() 

I propose adding a new function to APR file_io module: apr_file_link(). 

This function creates a hard link from one file to another file and is a core
POSIX system call. The attached patch includes a Unix and Win32 implementation,
along with a unit test named 'testfilelink'.

See the POSIX documentation for link(2) for more information about the system
call. Windows implements this for NTFS filesystems using the CreateHardLink()

Thank you, and my ASF contributor agreement was sent to the Foundation via US
Postal service yesterday.


  - Mark Heily

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org

View raw message