• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythongamewindowsbathyscaphephpguic翻訳omegattwitterframeworktestbtronarduinovb.net計画中(planning stage)directxpreviewerゲームエンジンdom

hanzubon2


Commit MetaInfo

修订版ad6eecd999524359e984cd5ddb4f939e14d888ba (tree)
时间2009-10-21 23:35:50
作者matusita <matusita@d141...>
Commitermatusita

Log Message

Call has_forked to inform POE kernel that keitairc is running in the
child process.

Closes #19079.

git-svn-id: file:///home/ishikawa/tmp/TEST/SVN/keitairc/trunk@330 d1410196-9ac4-404c-8836-01155b1afb10

更改概述

差异

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
1+2009-10-21 Makoto Matsushita <matusita@jp.FreeBSD.org>
2+ * keitairc: call $poe_kernel->has_forked to tell POE::Kernel
3+ keitairc now runs on a child process (ticket #19079).
4+
15 2009-10-16 ISHIKAWA Mutsumi <ishikawa@hanzubon.jp>
26
37 * Makefile.PL, lib/keitairc/Config.pm:
--- a/keitairc
+++ b/keitairc
@@ -1,7 +1,7 @@
11 #!/usr/bin/perl
22 # -*- mode: perl; coding: utf-8 -*-
33 # keitairc
4-# $Id: keitairc,v 1.74 2009-09-24 15:13:31 morimoto Exp $
4+# $Id: keitairc,v 1.75 2009-10-21 14:35:50 matusita Exp $
55 # $Source: /home/ishikawa/tmp/TEST/CVS/keitairc/keitairc,v $
66 #
77 # Copyright (c) 2003-2008 Jun Morimoto <morimoto@mrmt.net>
@@ -15,7 +15,7 @@
1515 # Depends: libxml-simple-perl
1616
1717 use Encode;
18-use POE;
18+use POE 1.007;
1919 use POE::Filter::HTTPD;
2020 use POE::Component::IRC;
2121 use POE::Component::Server::TCP;
@@ -52,6 +52,7 @@ if($cf->daemonize()){
5252 close(PID);
5353 }
5454 }
55+ $poe_kernel->has_forked;
5556 }
5657
5758 # create irc component