summaryrefslogtreecommitdiff
path: root/include/arch/unix/locks.h
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2001-09-24 05:41:57 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2001-09-24 05:41:57 +0000
commit3f30404584064f4837a5cf06459ef504232b5617 (patch)
treee34e93e845eb991ef8372608a36a01fc2d0dc206 /include/arch/unix/locks.h
parent048270c5f60e0c1b6ae9ceded824da40f46d3be8 (diff)
downloadlibapr-3f30404584064f4837a5cf06459ef504232b5617.tar.gz
Add the apr_file_mktemp function. This creates and opens a
temporary file, for use by the program. This file is created delete_on_close. The initial implementation only works on Unix, but Windows is coming soon. This also modifies all of the process lock functions that need a temporary file to use the new apr_file_mktemp function. Submitted by: Ryan Bloom git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62368 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/arch/unix/locks.h')
-rw-r--r--include/arch/unix/locks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/arch/unix/locks.h b/include/arch/unix/locks.h
index c83e8d09c..47f089c14 100644
--- a/include/arch/unix/locks.h
+++ b/include/arch/unix/locks.h
@@ -139,7 +139,7 @@ struct apr_lock_t {
int curr_locked;
char *fname;
#if APR_HAS_SYSVSEM_SERIALIZE || APR_HAS_FCNTL_SERIALIZE || APR_HAS_FLOCK_SERIALIZE
- int interproc;
+ apr_file_t *interproc;
#endif
#if APR_HAS_PROC_PTHREAD_SERIALIZE
pthread_mutex_t *pthread_interproc;