Hi Matt,
Yes, there is a risk of overflow.
From my understanding, the id is signed, so you will hit overflow at 2G
rather than 4G resources.
This applies to any/all PHP/ZE resources.
I'm not sure what happens when it overflows; it seems like the query
would fail.
You could design your
On Sat, 15 Mar 2003, James Devenish wrote:
Regardless of what you personally understand (and what I personally
understand), my point would be that the problems are simply unfixed
by *anyone*.
This is the first time that anyone has brought this issue to my
attention.
Index: main/streams.c
Please coordinate with me on streams issues; if some 64bit oses declare
descriptors as longs rather than ints, then we could have a bigger job
on our hands (similar to the mess with socket types under win32).
--Wez.
On Fri, 14 Mar 2003, David Hill wrote:
CRIPES, people! I posted patches in
On Fri, 14 Mar 2003, David Hill wrote:
Please coordinate with me on streams issues; if some 64bit oses declare
descriptors as longs rather than ints, then we could have a bigger job
on our hands (similar to the mess with socket types under win32).
Tru64 HP-UX (and I would guess Solaris
Make sure that you are using the latest stable snapshot from
http://snaps.php.net; a number of 64bit issues have already been addressed.
--Wez.
On Thu, 13 Mar 2003, Chris Field wrote:
We have been attempting to run php on a brand new sun v880, and have had
a number of problems.
first
Of the PHP_4_3 branch?
Could you open a bug report for each of these three issues at
bugs.php.net?
--Wez.
On Thu, 13 Mar 2003, Chris Field wrote:
I am working off a checkout from about three days ago...
On Thu, 2003-03-13 at 11:21, Wez Furlong wrote:
Make sure that you are using
Even so, its a very good idea to use streams for this; you will
automatically make your extension safe_mode and open_basedir aware,
virtual cwd aware and be able to avoid crippling limitations of certain
OS (eg: Solaris can only fopen 256 files).
These things are particularly important in a web
Perhaps because he prefers to read most sites in his native language?
--Wez.
On Mon, 10 Mar 2003, Mincu Alexandru wrote:
why not set your browser accept language to english?
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Look at the function table in basic_functions.c:
{ PHP_FE(nameoffunc), NULL }
This NULL can be replaced with an array that specifies BYREF_FORCE for
the relevant arguments; look for first_and_second__args_force_ref for an
exmaple.
--Wez.
On Fri, 7 Mar 2003, l0t3k
It's not a bug; PHP is a case-IN-sensitive language when it comes to
function and class names.
Adding strtolower calls will only slow down the whole language.
Using lowercase function and class names is the best solution.
--Wez.
On Fri, 7 Mar 2003, Eric Lambart wrote:
On Fri, 2003-03-07 at
On Sat, 7 Mar 2003, Eric Lambart wrote:
Adding strtolower calls will only slow down the whole language.
but my
point is the overhead involved cannot possibly rival the amount already
created by the zend_str_tolower() calls within zend_execute.c, which is
surely encountered far more often
Hi marcus,
Moriyoshi is going to revert the HAVE_INET_NTOP part;
I have to go out now, so I won't be able to address the warnings right
away, but will look at them later.
--Wez.
On Sat, 1 Mar 2003, Marcus [iso-8859-1] Börger wrote:
Hi Wez,
i cannot compile current network.c. The following
Hi David,
user filters are in a little bit of flux atm.
However, the idea is that the param argument will be altered to be a
zval (rather than just a string).
In the oncreate() method, the following member variables are available
to the filter:
string $this-filtername; // name of the filter
If you don't have time to support your own patch, why should we commit
it to CVS!??
There is a reason for that doc being there; please read it.
--Wez.
On Thu, 27 Feb 2003, Dirkjan Ochtman wrote:
Didn't have time, but here's a new patch.
Regards,
Dirkjan
Wez Furlong [EMAIL PROTECTED
You don't need any of that stuff to read the guidelines for submitting a
patch - why don't you just read it and save everybody some time...
--Wez.
On Fri, 28 Feb 2003, Dirkjan Ochtman wrote:
Please! It's just a date() parameter, about 20 lines of code, mostly taken
from another date()
On Wed, 26 Feb 2003, Andi Gutmans wrote:
At 12:48 PM 2/26/2003 -0800, Rasmus Lerdorf wrote:
I think we can add %option never-interactive to the ini-scanner lexer to
^
Yes, this is a good idea - INI files are never
On Mon, 24 Feb 2003, Rasmus Lerdorf wrote:
if (stream) {
if (self-is_pipe) {
stream-flags |= PHP_STREAM_FLAG_NO_SEEK;
} else {
stream-position = ftell(file);
}
}
We should be able to skip that ftell() call on a script or include
With my ze-stream patch to PHP 5 (in HEAD now), this can be avoided as
all files opened on the behalf of the engine can be managed via a single
function, provided that they set the zend file handle to open via a
filename.
--Wez.
On Mon, 24 Feb 2003, Sander Roobol wrote:
On Sun, Feb 23, 2003 at
This double seeking is most probably due to the fact that the stdio
layer does one set of seeking, whereas streams needs to do another.
This can be solved by moving away from using stdio for streams, and just
using the raw descriptors instead. (already made a start on this in
PHP 5).
I'm a
Hi Andi (and James)
Andi: I'd appreciate your comments on this patch, specifically if there
are any concerns about it doing the right thing.
Most people here:
http://bugs.php.net/bug.php?id=21310edit=1
report that it fixes their problems with solaris.
I've held off from looking at this, as I
Look in the archives for that guys original patch; it allowed doing
something like this:
$foo = array();
$foo[] = some text;
$foo[] = more text;
file_put_contents(file.txt, $foo);
and also:
file_put_contents(file.txt, $foo, $bar, $baz);
I'm not 100%
Please read the README.SUBMITTING_PATCH file in the root of the php
source and re-submit your patch.
--Wez.
On Mon, 17 Feb 2003, Dirkjan Ochtman wrote:
begin 666 datetime.c
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
winsock2.h as one of the first things in php.h, so
the large majority of all other .c files probably don't even need to
include it explicitly anymore.
--Wez.
On Sun, 16 Feb 2003, Sebastian Bergmann wrote:
Wez Furlong wrote:
Log:
A add much more useful select(2) implementation than
I'll do this now.
On Mon, 17 Feb 2003, moshe doron wrote:
http://212.199.221.100/moshe/win32project-sunfuncs.patch.txt
--
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Eric,
It really just sounds like you have some bug in your code where your
pointers are misbehaving.
All I can suggest is that you look very carefully at each pointer in the
relevant code to make sure it is ok. Also, try stripping it down a
couple of lines at a time (by commenting them out)
Hi Eric,
return_value is already allocated for you in a PHP_FUNCTION() that is
called by the engine (or via call_user_fuction(_ex)), as you have
guessed.
PHP_FUNCTION(eo_table)
Looks correct.
/* call the constructor */
if ( call_user_function(NULL, object, ctor_fn, ctor_retval, 0, NULL)
No offense, but this is really quite a useless problem report.
You are not showing any of the zend API that you use to create the
object, so how can we help you?
Hints: make sure that your zvals are correctly initialized (there are
some big differences between ALLOC_ZVAL and MAKE_STD_ZVAL).
Hi Shane,
Looks good to me. I will test it later this week, but it doesn't look
like there will be any problems.
--Wez.
On Sun, 9 Feb 2003, Shane Caraveo wrote:
The attached patch adds 2 optional parameters to proc_open(). The
first, cwd, and the second is an array for executing with a
Hey Ilia,
Lets also have either an enum or some real #define'd constants for the
values used in the C code.
eg:
REGISTER_LONG_CONSTANT() and the code that checks for a number should
both be using a symbolic constant rather than a hard-coded number.
--Wez.
On Mon, 10 Feb 2003, Ilia A. wrote:
ChangeLog ChangeLog ChangeLog ChangeLog :)
Anyone want to look into kicking the script and archiving the 2002
entries as a .gz ?
--Wez.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Make sure you have the correct set of working files:
For PHP 5:
cvs co php5
For PHP 4.3-dev
cvs co -r PHP_4_3 php4
Checking out php4 HEAD is not supported.
--Wez.
On Sat, 8 Feb 2003, Lukas Schroeder wrote:
hi wez,
i'm currently trying to compile cvs head. there are quite a lot
It should not happen, and there is code in the http opener that *should*
avoid this, because it has negative implications for including files via
http.
I will take a look when I have more time...
--Wez.
On Wed, 5 Feb 2003, Sara Golemon wrote:
Wez,
After our short discussion in IRC today I
Hey,
Wouldn't it be nice/more useful to generate RDF/RSS on a per-bug basis?
Then you could just add the feed url to your favourite RSS client.
If you make it do that, then I will take a look and commit, provided
that there are no objections to this.
--Wez.
On Fri, 31 Jan 2003, Sara Golemon
The attached patch alters the var family of functions to be aware of the
get_class_name handler for overloaded objects.
It also checks that the object has a hash table for it's properties
before attempting to access it.
This patch is not 100% complete because it does not handle nested class
There are some additional libraries and tools that you need to be able to
build the win32 version. The manual has more details here:
http://www.php.net/manual/en/install.windows.php
Please note that the ActiveScript SAPI is by no means ready for
production use (I would call it pre-alpha), and
At the moment, what you are currently doing is one of the simplest ways
of doing it portably, provided that the stream is seekable.
The other way is to call php_stream_stat() which returns the size,
ctime, mtime etc. of the stream, and can theoretically work on virtual
filesystems and wrappers
Because it is now a part of the rpc extension, which currently does not
build under unix (but will do in the not too distant future).
--Wez.
On Thu, 23 Jan 2003, Seung Hwan Kang wrote:
Is a Java extension removed or intensionally left over from PHP 5.0.0-dev?
I have no error messge when I
On Tue, 14 Jan 2003, Mike Robinson wrote:
I'm assuming PHP5 will use _only_ ZE2 once it's forked?
s/will/does/
s/once/now/
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Magnus,
Please try changing file.c line 1485 so that it reads something like
this:
unsigned long len;
int type;
I would expect that to help reduce errors whenever the fscanf function
is called (used by the expectf section in tests?).
The other problem is within the url scanner in the
We still haven't fully decided about how to document PECL extensions,
and there is talk of some kind of grand unified documentation system to
hold the PHP manual, PEAR/PECL manual and PHP Extension Authors manual.
However, everyone has precious little time for this, so things are
likely to stay
This would be a nice thing to include in PECL (see http://pear.php.net).
--Wez.
On Wed, 8 Jan 2003, Nikolai Vladychevski wrote:
Hello,
I want to share the code (php-extension) I have included into php-4.2.2 to
support CDK widgets
Derick has requested the ability to be able to specify an array
parameter instead of/as well as a string.
What I plan to implement is an additional (optional) filter operation
that is given an opportunity to pre-process the zval and make it
available to the underlying implementation.
With the current model, the concept is that you can use either the
filter name or filter parameters to distinguish the ultimate behaviour.
Yes this is a possible headache.
I am thinking that two separate chains of filters (one for reading and
one for writing) might make this situation a little
the filter write functions should return the number of bytes of
the input buffer that they *consumed*, not how many were written.
(The read function should of course return the number read, but cannot
exceed the maximum buffer size).
However, there also seems to be a similar sounding problem with
#21330 actually sounds completely bogus after having looked at the
code...
--Wez.
PS: add diff -u to your .cvsrc
On Thu, 2 Jan 2003 [EMAIL PROTECTED] wrote:
This is the patch that fix the issue of socket_select that doesn't wait if
value for timeval is 0.
Tell me what you think.
Regards.
It's also broken as it will not allow for a null value to give an
infinite wait period.
--Wez.
On Thu, 2 Jan 2003, Tularis wrote:
if (sec != NULL || sec != 0) {
convert_to_long_ex(sec);
tv.tv_sec = Z_LVAL_P(sec);
tv.tv_usec = usec;
} else {
tv.tv_sec = 0;
tv.tv_usec
Make a backtrace and then we will have a clue about what is happening...
--Wez.
On Thu, 2 Jan 2003, Tobias Schlitt wrote:
Hi everyone!
Today i compiled 4.3.0 on my Laptop (Redhat 7.3). Compiling
works fine. Running Scripts works (until now) fine. Except,
that i'm getting the same error,
I hope you all had a joyous night last night and that it forms that
start of a great New Year!
Now, let's get our heads straight on what we are doing for 2003 :)
You may remember (especially if you read Derick's Look Back) that I said
something about building against ZE2 by default once we
% cvs -q up
cvs server: nothing known about netware/apachecore.imp
cvs server: nothing known about netware/bisonflexzend.bat
I can't find any trace of these files in my checkout (or in the CVS
files), so I presume that something has been munched on the server
side?
--Wez.
--
PHP Development
Is there some magic that needs to be done to rotate the ChangeLog?
By this I mean:
gzip ChangeLog
mv ChangeLog.gz ChangeLog2002.gz
touch ChangeLog
cvs add -kb ChangeLog2002.gz
cvs ci -m rotate changelog ChangeLog ChangeLog2002.gz
It seems the most recent entry in the log is from the 29th
This sounds like the same kind of problems we've encountered with PCRE
mbstring and openSSL extensions on windows and their use from other modules.
Isn't the solution as simple as changing the #ifdef to include
COMPILE_DL_ZLIB in the checks, or is this another situation where the
zlib extension
This needs one of you output guys to resolve it.
Andrei mentioned something about making the final release before 1st
Jan, so if you can, please get your coding-butts in gear :)
--Wez.
On 22 Dec 2002 [EMAIL PROTECTED] wrote:
ID: 21139
Updated by: [EMAIL PROTECTED]
Please ask these questions on the php-general list.
--Wez.
On Thu, 19 Dec 2002, electroteque wrote:
sorry about the false alarm , if you go here u will see a working example
http://galleries.dyndns.org:1023/progress.php
i had to add both flush functions together to work , obviosuly flsuh
Would this solve the problem?
Index: main/main.c
===
RCS file: /repository/php4/main/main.c,v
retrieving revision 1.520
diff -u -r1.520 main.c
--- main/main.c 16 Dec 2002 15:43:52 - 1.520
+++ main/main.c 19 Dec 2002 13:06:45
Actually, it does seem valid to me; streams based on FILE* are not
registered in the persistent list, so does it make sense to have the
associated resources registered as persistent resources when they will
get cleaned up by the engine at request shutdown?
--Wez.
On Wed, 18 Dec 2002, Andi
On Thu, 19 Dec 2002, Wez Furlong wrote:
Actually, it does seem valid to me; streams based on FILE* are not
registered in the persistent list, so does it make sense to have the
associated resources registered as persistent resources when
If my vote has enough Karma Power, then I'm +1 for this solution.
--Wez.
On Thu, 19 Dec 2002, Edin Kadribasic wrote:
After having consulted with Andrei, Derick and others on irc here is
a proposal for a compromise:
On Unix:
1. Both cgi and cli are built as 'php' in their respective sapi
[imagine large quantities of quoted text here]
On Wed, 11 Dec 2002, Edin Kadribasic wrote:
So i am -1 on renaming CLI
And +1 on keeing CGI as php-cgi and CLI as php
marcus
Just for the record: my vote is the same.
aolme too/aol
[imagine large quantities of quoted text here]
--
PHP
On Sun, 8 Dec 2002, Mike Robinson wrote:
Every system on the planet that uses php.exe as their CGI executable,
and I suggest there are quite a few, will have a broken setup with a
stock install of php-4.3.0, because typing php-cli.exe at the command
line is too long. And you expect putting
Because we are still finding and fixing bugs in the RCs.
--Wez.
On Mon, 9 Dec 2002, Andi Gutmans wrote:
Now that still leave my original question about 4.3. Why the hell aren't we
rolling it?
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit:
limit crash
--Wez.
On Mon, 9 Dec 2002, Andi Gutmans wrote:
Any idea how many more bugs are waiting to be addressed?
Andi
At 12:36 PM 12/9/2002 +, Wez Furlong wrote:
Because we are still finding and fixing bugs in the RCs.
--Wez.
On Mon, 9 Dec 2002, Andi Gutmans wrote:
Now
Sounds great, and sounds like it should be part of ext/openssl and it's
up-coming stream implementation (most of the code is in main/network.c
ATM).
I'd really appreciate your input on making most of your work use the new
streams architecture. (which really means that most of those calls will
go
IMO, the manual should include all of the maintstream PHP extensions.
The reasoning is that if someone downloads the PHP manual, they expect
to get the PHP manual and not have to hunt around for docs on extensions
X, Y, Z.
Remember that one of our goals is to move most of ext/* into PECL, but
On Fri, 29 Nov 2002, Sara Golemon wrote:
I'm not so much worried about the user in this case, a few explodes will
keep them happy. I'm more worried about the behavior of parse_url being
just plain lacking. mailto:[EMAIL PROTECTED]?subject=Bug+20308 should be
entitled to everybit as much
Hi Philip,
On Fri, 29 Nov 2002, Philip Olson wrote:
So mainstream is defined as which are bundled with the
PHP4 source, whether it's in PECL or not? Does anyone
know or have a list of what will go where and when? Is
the install, configure, and use process different for
PECL extensions?
Hi Piotr,
The short answer is that it will be ready when it is ready :)
We don't have a definite time frame for PHP 5 (we are not 100% sure what
features it will contain), and probably won't have a definite time frame
until we begin the release cycle (typically a month or more before we
release
If I wanted localized error messages, then this would be the way to do
it. Perhaps merging this with the php_error_docref might be slightly
better.
However, I'm personally -1000 on such things; there are many reasons,
most of them have already been raised here, so I won't repeat them now,
but
+1
Makes very much sense (almost too much sense!) to me.
--Wez.
On Mon, 25 Nov 2002, Michael Sisolak wrote:
While stess testing the recent threading fixes under the ISAPI module I
was seeing a lot of instability in IIS after the testing finished.
While the PHP pages would continue to load,
php.net/get_defined_functions and
php.net/get_class_methods not good enough for you? ;-)
What's the long term aim?
--Wez.
On Tue, 19 Nov 2002, Marcus [iso-8859-1] Börger wrote:
I have experimented with the code below.
The main thing is to introduce a function that can return a list of
all
Hi Mike,
I'm ironing out a few nasty bugs; I'm aiming to have it stable either in
time for 4.3 or very shortly afterwards.
(It's not bundled with the core any longer - it's now in PECL)
--Wez.
On Tue, 19 Nov 2002, Mike Hall wrote:
Is this going to be production stable in 4.3.0?
Cheers,
I just merged some streams fixes back from the branch, so
perhaps it was a streams problem after all?
--Wez.
On Mon, 18 Nov 2002, Marcus [iso-8859-1] Börger wrote:
At 11:20 18.11.2002, Derick Rethans wrote:
On Mon, 18 Nov 2002, Rasmus Lerdorf wrote:
getimagesize() works ok in the 4.3
Hey Moshe,
Could you resend your revised patch to Tal (and the list)?
--Wez.
smime.p7s
Description: application/pkcs7-signature
Plus we were using IRC to bounce ideas off each other at the same time :)
--Wez.
On 11/17/02, Andrei Zmievski [EMAIL PROTECTED] wrote:
Who says Xtreme Programming can't work over long distances.. :)
iliaa Sat Nov 16 19:07:33 2002 EDT
Modified files:
On 11/13/02, Derick Rethans [EMAIL PROTECTED] wrote:
On Wed, 13 Nov 2002, Marcus Börger wrote:
At 04:11 13.11.2002, Jani Taskinen wrote:
Since when have we started to use users as guinea-pigs
for testing EXPERIMENTAL extensions without them even
really knowing about
I'm a little concerned about #20274 (running out of file descriptors);
I'm not sure of the cause, but I suspect that there is some kind of
request shutdown issue with threaded servers.
The PR implies that this is a problem with iPlanet under Solaris, but it
really would be a good idea to make
What are your opinions for having some option to prevent the
loading/parsing of php.ini for the CLI version of PHP?
-n No Ini File - skips parsing php.ini on startup
At the moment, I'm using -c DOESNOTEXIST to achieve the same result,
but this is a bit hacky.
--Wez.
--
PHP
Hi Tony,
What kind of things are you planning to do?
proc_open seems ideal to extend for this purpose, and works on win32.
--Wez.
On 09/11/02, Tony Leake [EMAIL PROTECTED] wrote:
The whole picture is that i want to control a child process completely
from within php. A bit like popen or
I see the known-good codeset conversion implementation as a *very* good
reason to have mbstring enabled by default.
(Just look at all the problems with iconv and recode on different systems
out there).
I agree that the magic features for lazy programmers (function overloading
and transparent
Hello Sergey,
PHP 4.3 will/does have SSL and TLS support integrated into the fopen
and fsockopen functions. (see the online manual:
http://php.net/fopen and http://php.net/fsockopen).
The current implementation requires that the openssl extension
is built-in to php (rather than shared), and does
I agree with you that the codeset conversion functions should be there
by default (iconv and recode seem to have patchy/variable support on
different platforms; mbstring is reliable since we know exactly what is
supported in there).
I've been using the conversion functions of mbstring in
Hi Philip,
I think the idea is that you do this:
if (headers_sent($file, $line)) {
echo headers were sent by $file:$line;
}
Both $file and $line are optional.
--Wez.
On 06/11/02, Philip Olson [EMAIL PROTECTED] wrote:
Hello-
headers_sent() has two new parameters as of PHP
4.3.0, these
Hi Marcus,
I'm assuming that it's a warning about result being uninitialized; if
that is the case, lets just initialize it to zero in it's declaration.
The cleanup code in errexit: inspects the first byte of tmp_line before
attempting to use it; it might also be a good idea to initialize
Hi John,
It's for some funky stuff that won't really come into it's own until
version 5 of PHP.
ATM, you can use stream_context_XXX family of functions to do:
o Set notification callbacks. These can be used to implement progress
bars for event driven applications.
o Set parameters for the
Hi Bob,
I'm interested in this becoming more mainstream, although I personally
dislike mssql; the only current alternative that works in a similar way
is one of the packages that Dan mentioned (I forget which) - it was
difficult to configure as it required quite a large amount of fiddling
around
On 04/11/02, Darren McPhee [EMAIL PROTECTED] wrote:
I have spent the last 3 days trying to figure this out. And will probably
give up very soon. I have written 2 programs (which are very common PHP
Then please spend the extra couple of minutes to read php.net/support.php
and find the correct
Hi Dan,
http://php.net/create_function,
and see the ZE2 notes on __call/__get/__set handlers.
--Wez.
On 10/31/02, Dan Hardiker [EMAIL PROTECTED] wrote:
Hi All,
Just a thought, but while working reciently with a few ECMA scripting
languages (eg: ActionScript in Flash MX), I uncovered the
Derick: pine can't handle uuencoded attachments :/
moshe: Your mua appears to be MS Outlook Express; you can avoid these
strange problems with attachments by setting it to send base64 encoded
MIME attachments instead of uuencoded attachments.
As for the patch, can you explain in english what it
That would be ideal :)
On Tue, 29 Oct 2002, Derick Rethans wrote:
On Tue, 29 Oct 2002, Wez Furlong wrote:
If you need to comment on a commit, can you please change the To/Cc line
from php-cvs to php-dev.
I think we can instruct the listmanager to set a Reply-To header
instead, would
On 10/29/02, Marcus B?rger [EMAIL PROTECTED] wrote:
-Use // instead of /* ... */ comments
Why?
#this test fails for me. Very weired...
You changed the test.
Why not ask me first about it failing?
--Wez.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit:
...
The length of the lyrics added by me was only to test whether or not that
part of the script works.
marcus
At 15:25 29.10.2002, Wez Furlong wrote:
On 10/29/02, Marcus B?rger [EMAIL PROTECTED] wrote:
-Use // instead of /* ... */ comments
Why?
#this test fails for me. Very
On 10/29/02, Marcus Börger [EMAIL PROTECTED] wrote:
This test fails with adding
--INI--
output_buffering=0
output_handler=
zlib.output_compression=
implicit_flush=0
Works fine here.
and even when removing the three calls to ob_xxx89
Can you email me the output?
Also, could you strace it
OK, so how about a backtrace ?
--Wez.
On Tue, 29 Oct 2002, Marcus [iso-8859-1] Börger wrote:
At 16:36 29.10.2002, Wez Furlong wrote:
Also, could you strace it too? (just to be sure)
old_mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x407d5000
read(3, ...naq
)
At 19:02 29.10.2002, you wrote:
OK, so how about a backtrace ?
--Wez.
On Tue, 29 Oct 2002, Marcus [iso-8859-1] Börger wrote:
At 16:36 29.10.2002, Wez Furlong wrote:
Also, could you strace it too? (just to be sure)
old_mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE
Hey Ilia,
Does this prevent opening of things like block and character special files?
If yes, then let's change it to explicitly check for directories instead,
as there are bound to be people out there that want to open things like
/dev/hda1 (for example).
--Wez.
On 28/10/02, Ilia Alshanetsky
On 28/10/02, Zeev Suraski [EMAIL PROTECTED] wrote:
Thank you for the detailed explanation, I'm sure everybody understands it now.
Let's go for the voting phase. I vote we keep PHP-CLI with implicit_flush
on by default.
+1
--Wez.
--
PHP Development Mailing List http://www.php.net/
To
Get a math text book that explains gaussian elimination, learn it, then
ask your question on php-general.
This list is for development of php itself, not writing programs with PHP.
--Wez.
On 10/24/02, Diana Castillo [EMAIL PROTECTED] wrote:
does anyone know where I can get the code to solve
Hi Moriyoshi,
The code was taken from the ucdata package; I don't really know anything
about the internals at this stage.
It is probably best to talk to the ucdata guys - I don't have the URL to
hand, but I'm sure you can find them using google.
--Wez.
On Thu, 24 Oct 2002, Moriyoshi Koizumi
itself only offers character conversion facilities, not
string conversion ones. Is it our job to discuss how to implement those
string conversion functions? If you think so, I'll commit it because
I might be one of those who know the right way to handle it.
Moriyoshi
Wez Furlong [EMAIL
Hi Tony,
There's not much we can tell you about this unless you post the
rest of the lines of that function.
Perhaps you did not include php.h ?
Note: always prefer this:
read(fd, buf, sizeof(buf));
to this:
read(fd, buf, 1024);
The former is immune to buffer overruns if you change the
On 10/20/02, Tony Leake [EMAIL PROTECTED] wrote:
and now I'm trying to write functions that will read and write from the
pipe. So far I have this, it isn't finished as you will see.
PHP_FUNCTION(pipe_read)
{
pipe_r_le_struct *st_pipe_r;
zval *read;
zval * res;
char
1 - 100 of 557 matches
Mail list logo