[libapp-daemon-perl] 01/01: Imported Upstream version 0.19

Salvatore Bonaccorso carnil at debian.org
Thu Aug 1 15:13:22 UTC 2013


This is an automated email from the git hooks/post-receive script.

carnil pushed a commit to annotated tag upstream/0.19
in repository libapp-daemon-perl.

commit 7d75ebd8218d33d15c44c30d68e1ceaa38aef14b
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Thu Aug 1 17:03:33 2013 +0200

    Imported Upstream version 0.19
---
 Changes   |    4 ++++
 Daemon.pm |    4 ++--
 META.json |    2 +-
 META.yml  |    2 +-
 README    |    2 +-
 5 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/Changes b/Changes
index dad6224..5b25d09 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
 Revision history for Perl extension App::Daemon.
 
+0.19 (07/07/2013)
+   (ms) [rt.cpan.org #86762] Peter noticed that App::Daemon's fork()
+        check was incorrect. Fixed.
+
 0.18 (10/31/2012)
    (ms) [rt.cpan.org #75931] Fixed previous release to actually work with
         Proc::ProcessTable missing.
diff --git a/Daemon.pm b/Daemon.pm
index 63c18e9..b8b9fa5 100644
--- a/Daemon.pm
+++ b/Daemon.pm
@@ -2,7 +2,7 @@ package App::Daemon;
 use strict;
 use warnings;
 
-our $VERSION = '0.18';
+our $VERSION = '0.19';
 
 use Getopt::Std;
 use Pod::Usage;
@@ -220,7 +220,7 @@ sub detach {
  
     my $child = fork();
  
-    if($child < 0) {
+    if(! defined $child ) {
         LOGDIE "Fork failed ($!)";
     }
  
diff --git a/META.json b/META.json
index b28dceb..1d81dd8 100644
--- a/META.json
+++ b/META.json
@@ -49,5 +49,5 @@
          "url" : "http://github.com/mschilli/app-daemon"
       }
    },
-   "version" : "0.18"
+   "version" : "0.19"
 }
diff --git a/META.yml b/META.yml
index 16d1682..78c2796 100644
--- a/META.yml
+++ b/META.yml
@@ -28,4 +28,4 @@ requires:
   Test::More: 0
 resources:
   repository: http://github.com/mschilli/app-daemon
-version: 0.18
+version: 0.19
diff --git a/README b/README
index 59ba8d1..01594c0 100644
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
 ######################################################################
-    App::Daemon 0.18
+    App::Daemon 0.19
 ######################################################################
 
 NAME

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libapp-daemon-perl.git



More information about the Pkg-perl-cvs-commits mailing list