diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-10-29 07:40:16 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-10-29 07:40:16 +0000 |
commit | 5036e0a0f727dd809b932b41dda3989c0f47e2fd (patch) | |
tree | af7834a0f9e9046c65f6260a03a8a58cca7c7f5b /ace/Memory_Pool.cpp | |
parent | 60aa7663705dd9338f66fb28384e8b31900434bb (diff) | |
download | ATCD-5036e0a0f727dd809b932b41dda3989c0f47e2fd.tar.gz |
Jamming
Diffstat (limited to 'ace/Memory_Pool.cpp')
-rw-r--r-- | ace/Memory_Pool.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/Memory_Pool.cpp b/ace/Memory_Pool.cpp index 34ffb0c5f7b..7148c4c7a5f 100644 --- a/ace/Memory_Pool.cpp +++ b/ace/Memory_Pool.cpp @@ -235,7 +235,7 @@ ACE_MMAP_Memory_Pool::init_acquire (size_t nbytes, if (this->mmap_.open (this->backing_store_, O_RDWR | O_CREAT | O_TRUNC | O_EXCL, - ACE_DEFAULT_PERMS) != -1) + ACE_DEFAULT_FILE_PERMS) != -1) { // First time in, so need to acquire memory. first_time = 1; @@ -248,7 +248,7 @@ ACE_MMAP_Memory_Pool::init_acquire (size_t nbytes, if (this->mmap_.map (this->backing_store_, -1, O_RDWR, - ACE_DEFAULT_PERMS, + ACE_DEFAULT_FILE_PERMS, PROT_RDWR, this->flags_, this->base_addr_) == -1) @@ -427,7 +427,7 @@ ACE_Shared_Memory_Pool::commit_backing_store (size_t rounded_bytes, { int shmid = ACE_OS::shmget (st[counter].key, rounded_bytes, - ACE_DEFAULT_PERMS | IPC_CREAT | IPC_EXCL); + ACE_DEFAULT_FILE_PERMS | IPC_CREAT | IPC_EXCL); if (shmid == -1) ACE_ERROR_RETURN ((LM_ERROR, "(%P|%t) %p\n", "shmget"), 0); @@ -525,7 +525,7 @@ ACE_Shared_Memory_Pool::init_acquire (size_t nbytes, int shmid = ACE_OS::shmget (ACE_DEFAULT_SHM_KEY, rounded_bytes + shm_table_offset, - ACE_DEFAULT_PERMS | IPC_CREAT | IPC_EXCL); + ACE_DEFAULT_FILE_PERMS | IPC_CREAT | IPC_EXCL); if (shmid == -1) { if (errno != EEXIST) |