FreeBSD Bugzilla – Attachment 92887 Details for
Bug 130647
devel/p5-File-Pid: uninitialized value warning if you call running without an existing pid file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 664 bytes, created by
Alexander Kriventsov
on 2009-01-17 10:00:05 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Alexander Kriventsov
Created:
2009-01-17 10:00:05 UTC
Size:
664 bytes
patch
obsolete
>diff -r -u -B -N p5-File-Pid.orig/files/patch-lib-File-Pid.pm p5-File-Pid/files/patch-lib-File-Pid.pm >--- p5-File-Pid.orig/files/patch-lib-File-Pid.pm 1970-01-01 00:00:00.000000000 +0000 >+++ p5-File-Pid/files/patch-lib-File-Pid.pm 2009-01-17 09:47:41.267318225 +0000 >@@ -0,0 +1,11 @@ >+--- File-Pid-1.01/lib/File/Pid.pm.orig 2009-01-17 09:44:31.653906918 +0000 >++++ File-Pid-1.01/lib/File/Pid.pm 2009-01-17 09:44:01.397399415 +0000 >+@@ -119,7 +119,7 @@ >+ >+ sub running { >+ my $self = shift; >+- my $pid = $self->_get_pid_from_file; >++ my $pid = $self->_get_pid_from_file or return undef; >+ >+ return kill(0, $pid) >+ ? $pid
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 130647
:
92886
| 92887