Just curious. What does their pragma do?
Andi
At 03:16 AM 4/10/2001 +, Jason Greene wrote:
jason Mon Apr 9 20:16:06 2001 EDT
Modified files:
/php4/ext/sockets sockets.c
Log:
Fix for PR #9729, 9664, 9656, 8667.
All compilers on Solaris should build this
tmans" [EMAIL PROTECTED]
To: "Jason Greene" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, April 11, 2001 5:21 PM
Subject: Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c
Just curious. What does their pragma do?
Andi
At 03:16 AM 4/10/2001 +, Jason Greene wrote:
jason
Have you tested it on Linux, FreeBSD, OpenBSD... ? :)
If you know for sure it will work on these, go ahead.
--Jani
On Mon, 9 Apr 2001, Jason Greene wrote:
Everyone,
Can I merge this into the current RC? This should not cause
any problems.
-Jason
- Original Message -
From: "Jason
Everyone,
Can I merge this into the current RC? This should not cause
any problems.
What are we doing with the current release right now?
who is having problems and which problems are outstanding??
We have two possible MFH's that people want to do which shouldnt really be
included at this
kinen" [EMAIL PROTECTED]
To: "Jason Greene" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, April 10, 2001 5:01 AM
Subject: Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c
Have you tested it on Linux, FreeBSD, OpenBSD... ? :)
If you know for sure it will work on these,
On Tue, 10 Apr 2001, Jason Greene wrote:
Out of those platforms you listed, I have tested this on Linux. I will test FreeBSD
today.
However, I do not have an OpenBSD box, does anyone out there want to try and
build the latest cvs with --enable-sockets on OpenBSD?
I can test to build it...
Thanks,
-Jason
- Original Message -
From: "Derick Rethans" [EMAIL PROTECTED]
To: "Jason Greene" [EMAIL PROTECTED]
Cc: "Jani Taskinen" [EMAIL PROTECTED]; "Jason Greene" [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, April 10, 2001 11:32
PROTECTED]
To: "Jason Greene" [EMAIL PROTECTED]
Cc: "Jani Taskinen" [EMAIL PROTECTED]; "Sascha Schumann" [EMAIL PROTECTED]; "PHP
Quality Assurance Team Mailing List"
[EMAIL PROTECTED]
Sent: Tuesday, April 10, 2001 12:40 PM
Subject: Re: [PHP-CVS] cvs: php4 /e
Everyone,
Can I merge this into the current RC? This should not cause
any problems.
-Jason
- Original Message -
From: "Jason Greene" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 09, 2001 10:16 PM
Subject: [PHP-CVS] cvs: php4 /ext/sockets sockets.c
jason Mon Apr 9
hi,
What do you mean, switch() is expensive?
Well, isn't it slower?
perhapse in php switch is slower. in c it sometimes is much faster than
bunch of if statements. i mean the compiler makes jump tables for
consequitive values and there are less comparisons etc. just a range check
and jump.
By the way, often compilers change switch() to if()/else() if they know
that it would be faster (if you only have like 2 cases) so if the code is
much nicer you don't need to be too afraid of switch() :)
Andi
At 03:44 PM 2/3/2001 +0200, Boian Bonev wrote:
hi,
What do you mean, switch()
On Fri, 02 Feb 2001, Colin Viebrock wrote:
cmv Fri Feb 2 12:55:27 2001 EDT
Modified files:
/php4/ext/sockets sockets.c
Log:
Fix for http://bugs.php.net/bugs.php?id=9082
I know switch() is expensive, so someone rewrite this "properly" if you
On Fri, 02 Feb 2001, Colin Viebrock wrote:
Well, isn't it slower?
No, not really.
The goal is to make getpeername() not seg-fault and core dump when
I only call it with 2 args. :)
What should the value of 'port' be by default, then?
-Andrei
* Who is Ray and why would we want to selectively
Well, isn't it slower?
No, not really.
Ok.
The goal is to make getpeername() not seg-fault and core dump when
I only call it with 2 args. :)
What should the value of 'port' be by default, then?
I dunno. If I call the function with:
? getpeername($fd, $host); ?
I guess
On Fri, 02 Feb 2001, Colin Viebrock wrote:
I dunno. If I call the function with:
? getpeername($fd, $host); ?
I guess it doesn't matter what the port *is* ... it just won't return it.
Maybe just put if statements around any of the code that references port?
Ok, I fixed it.
Ok, I fixed it.
Thanks ... although "bogus patch" is kinda harsh, don't you think? :)
- Colin
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
On Fri, 02 Feb 2001, Colin Viebrock wrote:
Ok, I fixed it.
Thanks ... although "bogus patch" is kinda harsh, don't you think? :)
Well, sorry if it seemed harsh, but you tried to fix one problem and
introduced another without really understanding what needed to be done.
-Andrei
Give a man
Well, sorry if it seemed harsh, but you tried to fix one problem and
introduced another without really understanding what needed to be done.
True. I was relying on a fix somebody suggested. This is also why I
noted in the CVS comments that somebody else should look at this. I'll
be the
18 matches
Mail list logo