[jira] [Created] (SVN-4815) Svnadmin fails on AIX

"Reshma V Kumar (JIRA)" <[email protected]>
Newsgroups gmane.comp.version-control.subversion.issues
Message-ID <[email protected]>
Reshma V Kumar created SVN-4815:
-----------------------------------

             Summary: Svnadmin fails on AIX
                 Key: SVN-4815
                 URL: https://issues.apache.org/jira/browse/SVN-4815
             Project: Subversion
          Issue Type: Bug
          Components: libsvn_subr
    Affects Versions: 1.10.x
         Environment: OS- AIX 7.2
            Reporter: Reshma V Kumar
         Attachments: subversion-1.10.4-io.patch

I am testing subversion 1.10.4 on AIX 7.2

# oslevel -s
7200-03-00-0000

While executing the following command , it gives error.

# svnadmin create --fs-type fsfs /reshma/svn
svnadmin: E000009: Can't write '/reshma/svn/db/current' atomically
svnadmin: E000009: Can't flush file '/reshma/svn/db' to disk: A file descriptor does not refer to an open file.

This is because in AIX, fsync called on a directory returns errno=EBADF which makes subversions/libsvn_subr/io.c:svn_io_flush_to_disk {{}}fail.

To fix this, I created a patch. Here I am checking if the platform is AIX.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.