subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <...@daniel.shahaf.name>
Subject Re: Issue with binaries generated(subversion 1.10.2) after compilation on AiX 7.2
Date Thu, 27 Dec 2018 15:04:09 GMT
Prannoy K.v wrote on Thu, 27 Dec 2018 13:35 +0000:
> Hi Team, 
> I tried compiling subversion 1.10.2 on AiX 7.2 machine .

Note that 1.10.3 has been released.

> After "make" command generated binaries work well in the folder where it 
> is generated, whereas if we move binaries to a different location I get 
> the error :- 
> 
> svnadmin: E000009: Can't write '/temp1110/home/Repo_test/db/current' atomically 
> 
> svnadmin: E000009: Can't flush file '/temp1110/home/Repo_test/db' to 
> disk: Bad file number  

In subversion/libsvn_subr/io.c, in svn_io_file_flush_to_disk(), there's
an APR_STATUS_IS_EINVAL() check.  Try making it check
APR_STATUS_IS_EBADF() as well and handle it the same way (assuming "Bad
file number" is strerror(3) of EBADF) --- read the comment there while
you're at it.  For context, creating new revisions relies on being able
to flush the revision files to disk.

Cheers,

Daniel

Mime
View raw message