php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59222 Error message function modifications
Submitted: 2010-05-20 05:46 UTC Modified: 2010-05-25 08:57 UTC
From: dragoonis@php.net Assigned:
Status: Closed Package: APC (PECL)
PHP Version: 5.2.10 OS: Ubuntu
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dragoonis@php.net
New email:
PHP Version: OS:

 

 [2010-05-20 05:46 UTC] dragoonis@php.net
Description:
------------
1) We used to have my_log() which was doing manual output to 'stderr'. This function no longer exists.

2) The apc_eprint()..etc functions that used to call my_log() now directly invoke a php_error_docref().

3) apc_dprint() was #ifdef for APC_DEBUG, where it should have been doing APC_DBG

4) The enum{} for APC_ERROR, APC_WARNING..etc are no longer needed. Now only APC_DBG exists.

Reproduce code:
---------------
The existing functions calling apc_eprint, nprint, dprint are all still in place, this is backwards compatible.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-20 05:51 UTC] dragoonis at gmail dot com
Enum change for apc.h
http://digiflexdev.com/php/apc.h.diff

Function changes for apc.c
http://digiflexdev.com/php/apc.c.diff
 [2010-05-24 09:18 UTC] dragoonis at gmail dot com
changed #ifdef APC_DBG back to APC_DEBUG

Merged the apc.h and apc.c changes into one .patch diff file

http://digiflexdev.com/php/apc_error_functions.patch
 [2010-05-24 11:04 UTC] dragoonis at gmail dot com
Removed the enum and had apc_eprint() throw E_ERROR instead of E_NOTICE

http://digiflexdev.com/php/apc_error_functions.patch
 [2010-05-25 08:57 UTC] gopalv82 at yahoo dot com
Merged into trunk.

http://news.php.net/php.pecl.cvs/14189
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 21:01:27 2024 UTC