[PHP-DEV] PATCH for bug #47199

2010-02-09 Thread Соколов Евгений
Index: tests/27_bug47199.phpt === --- tests/27_bug47199.phpt (revision 0) +++ tests/27_bug47199.phpt (revision 0) @@ -0,0 +1,23 @@ +--TEST-- +Bug #47199 pg_delete fails on NULL +--SKIPIF-- + +--FILE-- + NULL, 'not_null_field

Re: [PHP-DEV] PATCH for bug #47199

2010-02-09 Thread Johannes Schlüter
Евгений, thanks for the patch.I didn't fully review it but I wonder about a thing: On Tue, 2010-02-09 at 16:27 +0500, Соколов Евгений wrote: > Index: tests/27_bug47199.phpt > === > --- tests/27_bug47199.phpt(revision 0) > +++ tes

Re: [PHP-DEV] PHP continuations

2010-02-09 Thread mathieu.suen
Sebastian Bergmann wrote: Am 08.02.2010 14:38, schrieb mathieu.suen: I am wondering if there is some effort for having continuation in php. Or is there already some construction for continuation? There is http://phpcontinuation.sourceforge.net/ which I never got around to actually tr

Re: [PHP-DEV] PATCH for bug #47199

2010-02-09 Thread Sokolov Evgeniy
> did you really run this test and was it successful? - doesn't looklike > for me. I just run "php tests/27_bug47199.phpt" and check the result output. Is this correct way? >> Property changes on: tests/27_bug47199.phpt > This isn't needed. Okey, I just use previous test in this dir as example.

Re: [PHP-DEV] PATCH for bug #47199

2010-02-09 Thread Johannes Schlüter
Hi, On Tue, 2010-02-09 at 20:11 +0500, Sokolov Evgeniy wrote: > > did you really run this test and was it successful? - doesn't looklike > > for me. > I just run "php tests/27_bug47199.phpt" and check the result output. > Is this correct way? The easy way to run it using the test Framework is by

Re: [PHP-DEV] PATCH for bug #47199

2010-02-09 Thread Joey Smith
If anyone ever needs me to host a patch, there's more than enough room at patch.joeysmith.com, just email me the patch as an attachment off-list. It'd probably be better than relying on a pastebin. On Tue, Feb 09, 2010 at 04:38:44PM +0100, Johannes Schlüter wrote: > Hi, > > On Tue, 2010-02-09 at

Re: [PHP-DEV] PATCH for bug #47199

2010-02-09 Thread Daniel Convissor
Hi Skolov: > I just run "php tests/27_bug47199.phpt" and check the result output. > Is this correct way? Use an EXPECT or EXPECTF section. See http://qa.php.net/phpt_details.php for more information. Thanks, --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y

[PHP-DEV] Issue with safe mode check in tempnam()

2010-02-09 Thread Martin Jansen
Recently we've experienced an issue regarding the safe mode check in tempnam() which was introduced in r288945 4 months ago. When calling tempnam("/tmp/foo"), with /tmp/foo being a directory, it turned out that the safe mode UID check was performed on /tmp instead of /tmp/foo. When calling tempnam