subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bailey, Mark" <>
Subject RE: HPUX : E000002 - libapr
Date Wed, 21 Jan 2015 15:14:52 GMT
Thanks Philip,

Your solution worked fine.

It reverted to using mktemp on the HPUX platform so we changed the libapr source as suggested
which indeed fixed the issue and used the internal mkstemp......

The fix was as below if anybody else comes access this issue on HPUX.....


Insert the following lines (comment as you please !)

* Force the use of internal temporary filename creation.
* Do not use mktemp() of mkstemp() due to  restriction of
* 26 filenames on HP-UX

before line 56, which is currently...


You should end up with a section like this

#include "apr_portable.h" /* for apr_os_file_put() */
#include "apr_arch_inherit.h"


#if defined(SVR4) || defined(WIN32) || defined(NETWARE)
#ifdef SVR4

Thanks, Mark....

Visit the repository server here for Subversion help and support ;

-----Original Message-----
From: Philip Martin [] 
Sent: 10 December 2014 15:32
To: Bailey, Mark
Subject: Re: HPUX : E000002 - libapr

Stefan Sperling <> writes:

> Have you asked HP about this? From this problem description it looks 
> as if their mktemp was seriously broken.

APR uses mkstemp() rather than mktemp() but that probably makes no difference.  APR also has
custom code that can be used when mkstemp() is not available so rebuilding APR to to use that
would be a workaround.

Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
This e-mail (including any attachments) is intended for the above-named person(s).  If you
are not the intended recipient, notify the sender immediately, delete this email from your
system and do not disclose or use for any purpose.  
We may monitor all incoming and outgoing emails in line with current legislation. We have
taken steps to ensure that this email and attachments are free from any virus, but it remains
your responsibility to ensure that viruses do not adversely affect you. 

EE Limited
Registered in England and Wales
Company Registered Number: 02382161
Registered Office Address: Trident Place, Mosquito Way, Hatfield, Hertfordshire, AL10 9BW.

View raw message