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.....

file_io/unix/mktemp.c


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
*/
#undef HAVE_MKSTEMP

before line 56, which is currently...

#ifndef HAVE_MKSTEMP


You should end up with a section like this

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

#undef HAVE_MKSTEMP
#ifndef HAVE_MKSTEMP

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







Thanks, Mark....

Visit the repository server here for Subversion help and support ;
https://repository.eead.eeint.co.uk:19443/blog/

-----Original Message-----
From: Philip Martin [mailto:philip.mar...@wandisco.com] 
Sent: 10 December 2014 15:32
To: Bailey, Mark
Cc: users@subversion.apache.org
Subject: Re: HPUX : E000002 - libapr

Stefan Sperling <s...@elego.de> 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*
NOTICE AND DISCLAIMER
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.

Reply via email to