FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=17729&edit=1

ID: 17729
Updated by: daniel.oconnor@gmail.com
Reported By: olle dot jonsson at gmail dot com
Summary: patch: Removed define_syslog_variables and avoided
warning for socket blocking
Status: Open
Type: Bug
Package: Net_SmartIRC
Package Version: SVN
PHP Version: 5.3.1
Roadmap Versions:
New Comment:

r302734 applies the stream_set_blocking bit.

If memory serves, removing define_syslog_variables() will... well, leave
the syslog variables undefined in old php versions.

I don't suppose you can do some kind of ...

if (!defined()) {
// raise an error, pester user to ini_set define_syslog_variables ?
}


Previous Comments:
------------------------------------------------------------------------

[2010-08-17 22:23:30] olleolleolle

Added #patch
bug:17729;patch:avoid_deprecated.patch;revision:1282083810;.

------------------------------------------------------------------------

[2010-08-17 22:23:07] olleolleolle

Description:
------------
Removed the define_syslog_variables() call, which is not
needed to use the syslog constants. This avoids a deprecation
warning.

A new syntax has been invented for socket_set_blocking(), too.

The attached patch takes care of these two warnings.

------------------------------------------------------------------------

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedAug 24, '10 at 1:19a
activeAug 24, '10 at 2:48a
posts2
users1
websitepear.php.net

1 user in discussion

Daniel Oconnor: 2 posts

People

Translate

site design / logo © 2022 Grokbase