releasing the resources from the Zend API correctly. Will get
around to that, based on feedback (if any?).
All patches have been generated with diff -u.
Thanks
Gavin Sherry
Alcove Systems Engineering.
--- ext/sysvsem/sysvsem.c.orig Thu Mar 15 22:40:18 2001
+++ ext/sysvsem/sysvsem.c Fri Mar 16
What's wrong with rawurl(en)(de)code() ?
Gavin
On Sat, 17 Mar 2001, Fredrik Ohrn wrote:
Hello!
I couldn't find any pointers on where to send contributions, I hope this
is the right place.
Anyway, I was stumped when I couldn't find an easy way to escape strings
for use when printing
);
}
+/* }}} */
+
+
+
+
+/* {{{ proto int sem_remove(int id)
+ Removes semaphore from Unix systems */
+
+/*
+ * contributed by Gavin Sherry [EMAIL PROTECTED]
+ * Fri Mar 16 00:50:13 EST 2001
+ */
+
+PHP_FUNCTION(sem_remove)
+{
+pval **arg_id;
+int id,type;
+ sysvsem_sem *sem_ptr
Thomas,
When shmget() fails, it sets errno. It would be useful if you could
provide this information (see shmget(2)).
Also, do you have a URL got SHM across HTTP patch? This sounds like fun =)
Gavin
On Mon, 2 Apr 2001, Thomas Wentzel wrote:
Alex,
Sablot has some poor error handling at the moment. All ambiguous errors
you can put down to Sablot. Try using the `sabcmd` from the command line
in order to get better information on where and how your transformations
are playing up.
Also, if you're unsure if it is a bug, best to mail the
There is a disappointing trend in 'mainstream' commentary on open source
projects. This is an example of one.
In the last year of so I have had a lot of experience with poor media
coverage of projects I am either involved in or follow closely. One of the
worst being an all out attack on
Joel,
The main problem is that in order to produce a PHP release for
Windows which is of the same level of functionality as a release for a
Unix system is quite difficult. Even though Linux, *BSD, Solaris and HP UX
(as well as other unices) have their nuances, the PHP development team
have an
Hi Yusuf,
On Wed, 23 May 2001, Yusuf Goolamabbas wrote:
I installed libtool 1.4 from ftp.gnu.org in /usr/local/site/libtool
Setting an alias libtool to point to this version doesn't seem to
convince buildconf that I have libtool. I could push this directory at
the beginning of my search
It would be a poor browser design which differentiated between br and
br /. I've just tested with old versions of netscape (4.0 series) and a
friend is digging up some 2.* and 3.* style browsers just to verify.
Gavin
On Thu, 24 May 2001, Brian Tanner wrote:
Ok, I've seen this bug reported too
Hi guys,
I agree that, given a new Zend engine, it is the best of times to rework
the language. I think Phil is right in pointing out that all
functions/extensions need to be implemented along standardised lines.
It would be best if, once there is concensus on such a frame work, it were
set in
Er Galvão Abbott,
Please direct this to the correct list - PHP General Users List. The
developer's list is for people interested in/working on the PHP hypertext
processor itself.
Gavin
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi all,
For a while now I have been thinking about just how useful the database
abstraction layer is for people who want to use Sleepycat DB2 or DB3 -
also known as Berkeley DB - (www.sleepycat.com) database systems.
Those familiar with either know just how sophisticated they are: offering
full
Hi guys,
Just looking through some older bugs. #13007 is a bug in the Zend
engine. The problem is the zval.value.lval is overflowing. The
zendi_convert_to_long() macro converts doubles to unsigned long ints as
follows:
(l) = (d) LONG_MAX ? (unsigned long) (d) : (long) (d);
It cannot do this
On Wed, 5 Sep 2001, Zeev Suraski wrote:
In what cases do you see a problem with that? If (d) is bigger than
LONG_MAX, than you're screwed anyway.
I presume you are refering to my proposed hack? Perhaps a little more
detail =).
If the type of either operand is greater than long, it cannot
On Wed, 5 Sep 2001, Zeev Suraski wrote:
If the type of either operand is greater than long, it cannot be demoted
(from double) without overflowing lval and giving unexpected results.
But when you overflow an integer, you get unexpected results. The only
thing this code does is that in
On Thu, 6 Sep 2001, Stanislav Malyshev wrote:
GS echo (2147483649 2147483649);
GS
GS echo (2147483649 % 5);
If you want numbers longer than long, you should use GMP anyway (or should
know what you are doing). That unsigned hack, IIRC, was made with the
single purpose of enabling working
This is not related to arrays.
if(!isset($pokoj[1][COLL]){$pokoj[1][COLL] = 3;;
This line contains two syntax errors. Firstly, there is a missing ')'
closing the if() evaluation and there is a stray '{' after this.
Syntactically correct code would be as follows:
As far as I can see, one needs only remove:
typedef int yy_state_type;
From zend_globals.h. This makes the following part of the patch relevant:
+#ifndef YY_STATE_DEFINED
+#define YY_STATE_DEFINED
typedef int yy_state_type;
+#endif
Gavin
On Sat, 22 Sep 2001, Rasmus Lerdorf wrote:
One of
Oops. I'm wrong of course.
It seems to be the case that yy_state_type is just a poor naming choice in
zend_globals.h. I renamed yy_state_type here and it compiles fine.
Gavin
On Sat, 22 Sep 2001, Gavin Sherry wrote:
As far as I can see, one needs only remove:
typedef int yy_state_type
The 4.0 Bug Summary contains PHP 3 series bugs. Can these bugs be left
out?
Gavin
--
PHP Development 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 PROTECTED]
There is a parse error in this script. The url should be in quotes. This
granted, the script performs correctly with latest CVS.
Gavin
On Sun, 23 Sep 2001, dries wrote:
Why does the time limit doesn't work ?
Any suggestions how to fix this?
Thanks!
function connect1()
{
On Sat, 19 Jan 2002, Sebastian Bergmann wrote:
Alan Knowles wrote:
Press releases, for PHP5 pre-alpha, PHP-GTK's, (Derick - srm?)
upcomming release etc. which could be made available - Then a PHP
press team??, could be resposnible for getting it out to the Press in
their local
22 matches
Mail list logo