Skip to content

Commit

Permalink
1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
stevieb9 committed Oct 12, 2022
1 parent 7d571b3 commit ceb208f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,6 +1,6 @@
Revision history for Perl extension IPC::Shareable.

1.13 UNREL
1.13 2022-10-11
- In singleton(), do a check whether class was sent in. There was a shifting
issue if called with IPC::Shareable::singleton() as opposed to
IPC::Shareable->singleton()
Expand Down
2 changes: 2 additions & 0 deletions MANIFEST
Expand Up @@ -9,6 +9,7 @@ CREDITS
DISCLAIMER
'docs/Shared Memory Configuration.txt'
examples/new.pl
ipc.pl
lib/IPC/Shareable.pm
lib/IPC/Shareable/SharedMem.pm
Makefile.PL
Expand Down Expand Up @@ -45,6 +46,7 @@ t/67-exhaust_shm_slots.t
t/75-graceful.t
t/76-singleton.t
t/77-singleton_warn.t
t/78-singleton_class.t
t/80-exceptions.t
t/81-fork_dup_rand_keys.t
t/82-sig_child_ignore.t
Expand Down
2 changes: 1 addition & 1 deletion lib/IPC/Shareable.pm
Expand Up @@ -726,7 +726,7 @@ sub _tie {

if (! defined $exclusive) {
if ($knot->attributes('warn')) {
my $key = sprintf("0x%X", $knot->_shm_key);
my $key = lc(sprintf("0x%X", $knot->_shm_key));

warn "Process ID $$ exited due to exclusive shared memory collision at segment/semaphore key '$key'\n";
}
Expand Down

0 comments on commit ceb208f

Please sign in to comment.