[PHP-DEV] Sybase Patch. Could someone review it please? it is small. (Zeev? Joey?)

2001-05-02 Thread PHP development @echospace

 Hi, there. Sorry for picking your names, Zeev and Joey, but Zeev is listed as a 
maintainer, and Joey has assigned this particular bug to himself. I have been trying 
to find someone to look at the patch, see if you like it, and apply it (I do not have 
the karma myself), or tell me what you don't like.  But nobody seemed to respond:(

I posted the patch in the bug description of bug 8126. http://bugs.php.net/?id=8126

Thanks,

Vlad


Re-thinking the Web on a SinglePage(TM)
http://www.echospace.com


--
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]




Re: [PHP-DEV] Sybase Patch. Could someone review it please? it is small. (Zeev? Joey?)

2001-05-02 Thread PHP development @echospace

Andi,
Patch is attached. When you apply it, please tell me and I'll close related bug 
reports (there are a few, and they look different although they are about the same 
problem).

Vlad

 




- Original Message -
From: Andi Gutmans 
To: PHP development @echospace ,[EMAIL PROTECTED]
Sent: Wed, 02 May 2001 20:17:50 +0300
Subject: Re: [PHP-DEV] Sybase Patch. Could someone review it please? it is small. 
(Zeev? Joey?)

Can you please send the .diff as an attachment so that I can apply it easily?
I'll apply it (I hope it's OK :)

Andi

At 10:05 AM 5/2/2001 -0700, PHP development @echospace wrote:
 Hi, there. Sorry for picking your names, Zeev and Joey, but Zeev is 
 listed as a maintainer, and Joey has assigned this particular bug to 
 himself. I have been trying to find someone to look at the patch, see if 
 you like it, and apply it (I do not have the karma myself), or tell me 
 what you don't like. But nobody seemed to respond:(

I posted the patch in the bug description of bug 8126. 
http://bugs.php.net/?id=8126

Thanks,

Vlad


Re-thinking the Web on a SinglePage(TM)
http://www.echospace.com


--
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]


Re-thinking the Web on a SinglePage(TM)
http://www.echospace.com



diff -urN php-4.0.5-tdsbroken/ext/sybase/config.m4 php-4.0.5/ext/sybase/config.m4
--- php-4.0.5-tdsbroken/ext/sybase/config.m4Mon May  1 21:27:02 2000
+++ php-4.0.5/ext/sybase/config.m4  Tue May  1 16:28:14 2001
@@ -21,4 +21,8 @@
 AC_DEFINE(HAVE_LIBDNET_STUB,1,[ ])
  ])
   AC_DEFINE(HAVE_SYBASE,1,[ ])
+  AC_CHECK_LIB(sybdb, tdsdbopen, 
+ [ AC_DEFINE(PHP_SYBASE_DBOPEN,tdsdbopen,[ ])
+   AC_DEFINE(DBMFIX,1,[ ]) ],
+ [ AC_DEFINE(PHP_SYBASE_DBOPEN,dbopen,[ ]) ])
 fi
diff -urN php-4.0.5-tdsbroken/ext/sybase/php_sybase_db.c 
php-4.0.5/ext/sybase/php_sybase_db.c
--- php-4.0.5-tdsbroken/ext/sybase/php_sybase_db.c  Sun Feb 25 22:07:24 2001
+++ php-4.0.5/ext/sybase/php_sybase_db.cTue May  1 15:42:54 2001
@@ -379,7 +379,7 @@
RETURN_FALSE;
}
/* create the link */
-   if ((sybase.link=dbopen(sybase.login,host))==FAIL) {
+   if ((sybase.link=PHP_SYBASE_DBOPEN(sybase.login,host))==FAIL) {
/*php_error(E_WARNING,Sybase:  Unable to connect to 
server:  %s,sybase_error(sybase));*/
efree(hashed_details);
dbloginfree(sybase.login);
@@ -415,7 +415,7 @@
sybase_ptr = (sybase_link *) le-ptr;
/* test that the link hasn't died */
if (DBDEAD(sybase_ptr-link)==TRUE) {
-   if 
((sybase_ptr-link=dbopen(sybase_ptr-login,host))==FAIL) {
+   if 
+((sybase_ptr-link=PHP_SYBASE_DBOPEN(sybase_ptr-login,host))==FAIL) {
/*php_error(E_WARNING,Sybase:  Link to server 
lost, unable to reconnect);*/
zend_hash_del(EG(persistent_list), 
hashed_details, hashed_details_length+1);
efree(hashed_details);
@@ -462,7 +462,7 @@
RETURN_FALSE;
}

-   if ((sybase.link=dbopen(sybase.login,host))==NULL) {
+   if ((sybase.link=PHP_SYBASE_DBOPEN(sybase.login,host))==NULL) {
/*php_error(E_WARNING,Sybase:  Unable to connect to server:  
%s,sybase_error(sybase));*/
efree(hashed_details);
RETURN_FALSE;




-- 
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]


Re: [PHP-DEV] 4.0.6

2001-05-02 Thread PHP development @echospace

 The editor only puts \r without \r\n? Wow, I've never seen a system
 that  does that :) Were all Mac's like that?
I did. Several times. Unfortunately. 


 Are you sure you weren't using a different editor?
 Isn't there a way for you to save as \n or \r\n?
And, though you probably can save with \r\n instead, I'd rather
see php handle \r properly. Does that sound feasible? 


Vlad


Re-thinking the Web on a SinglePage(TM)
http://www.echospace.com


--
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]




Re: [PHP-DEV] 4.0.6

2001-05-02 Thread PHP development @echospace

 
I don't have a mac around anymore, sorry. Maybe the original poster
could - who was that again by the way? I deleted his message:(

Vlad




- Original Message -
From: Andi Gutmans 
To: PHP development @echospace ,[EMAIL PROTECTED]
Sent: Wed, 02 May 2001 23:50:26 +0300
Subject: Re: [PHP-DEV] 4.0.6

At 01:45 PM 5/2/2001 -0700, PHP development @echospace wrote:
  The editor only puts \r without \r\n? Wow, I've never seen a system
  that does that :) Were all Mac's like that?
I did. Several times. Unfortunately.


  Are you sure you weren't using a different editor?
  Isn't there a way for you to save as \n or \r\n?
And, though you probably can save with \r\n instead, I'd rather
see php handle \r properly. Does that sound feasible?

We can make the Zend scanner handle it but the rest of PHP  Zend still 
have \n in certain places.
If I commit a patch do you know how to check out and test the CVS tree?

Andi


Re-thinking the Web on a SinglePage(TM)
http://www.echospace.com


--
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]




[PHP-DEV] using @php.net address.

2001-05-02 Thread PHP development @echospace

 This might be a dumb question, but I couldn't figure it out myself. Apparently I had 
[EMAIL PROTECTED] address for a while, but I never used it. How do I set it up to forward 
mail to my account - [EMAIL PROTECTED] (that's the one I use to mail and read the 
list)?


Thanks,

Vlad


Re-thinking the Web on a SinglePage(TM)
http://www.echospace.com


--
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]




Re: [PHP-DEV] bug 10609 test file

2001-05-02 Thread PHP development @echospace

send it to the list anyway. It might be that you are missing a newline or something, 
like instead of \r\n you have just a \r. This would cause it, and you wouldn't even 
notice... :)

Vlad




- Original Message -
From: Giovanni Tummarello 
To: [EMAIL PROTECTED]
Sent: Wed, 2 May 2001 23:07:26 +0200
Subject: [PHP-DEV] bug 10609 test file

Hi all i know this attached file looks to ridicolously small and simple to 
show any bug but it does at least on 2 systems..
I have compiled as an apache mod php 4.0.5 and ran into problems since i get 
the source code DUMPED to the screen after the first time i use // as a comment 
delimitator.
if i use /* instead */ it works

like i said its weird but it not a joke. i installed it on a redhat 6.1 and on 
a redhat 7.0 sale story.. 

i have flex 2.5.4 on one of my machines.
Giovanni Tummarello
[EMAIL PROTECTED]


Re-thinking the Web on a SinglePage(TM)
http://www.echospace.com


--
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]




Re: [PHP-DEV] bug 10609 test file

2001-05-02 Thread PHP development @echospace
your attachment got really messed up - there are no newlines at all. How about zipping it and sending it zipped?

Vlad- Original Message -From: Giovanni Tummarello <[EMAIL PROTECTED]>To: [EMAIL PROTECTED]Sent: Wed, 2 May 2001 23:07:26 +0200Subject: [PHP-DEV] bug 10609 test fileHi all i know this attached file looks to ridicolously small and simple to show any bug but it does at least on 2 systems..I have compiled as an apache mod php 4.0.5 and ran into problems since i get the source code DUMPED to the screen after the first time i use // as a comment delimitator.if i use /* instead */ it workslike i said its weird but it not a joke. i installed it on a redhat 6.1 and on a redhat 7.0 sale story.. i have flex 2.5.4 on one of my machines.Giovanni Tummarello[EMAIL PROTECTED]


Re-thinking the Web on a SinglePage(TM)
http://www.echospace.com



Re: [PHP-DEV] pspell/aspell breaking

2001-04-02 Thread PHP development @echospace

Sorry, I couldn't answer your question earlier - I was in the java land last couple 
weeks, so my php inbox grew somewhat huge.

I believe, this was a one-liner "fix" (hack) that I put in CVS  a few weeks back, so 
try a recent snapshot. THe aspell/pspell creator/maintainer decided to change the API 
on us :( Ouch!

Vlad
 




- Original Message -
From: Seth Northrop 
To: "PHP development @echospace" 
Sent: Thu, 22 Mar 2001 17:12:49 -0800 (PST)
Subject: Re: [PHP-DEV] pspell/aspell breaking 


hey again. Had to recompile.. and, this time it failed compiling PHP;
Here's the output:

$ ./configure --without-gd --without-xml --enable-calendar --with-mysql
--with-config-file-path=/usr/local/apache_ssl/etc --enable-debug=no
--with-pspell --with-apache=../apache_1.3.19

snip

$ make

snip

Making all in pspell
make[2]: Entering directory `/usr/local/src/php-4.0.4pl1/ext/pspell'
make[3]: Entering directory `/usr/local/src/php-4.0.4pl1/ext/pspell'
gcc -I. -I/usr/local/src/php-4.0.4pl1/ext/pspell
-I/usr/local/src/php-4.0.4pl1/main -I/usr/local/src/php-4.0.4pl1
-I/usr/local/src/php-4.0.4pl1/Zend
-I/usr/local/src/php-4.0.4pl1/ext/mysql/libmysql
-I/usr/local/include/pspell -I/usr/local/src/php-4.0.4pl1/TSRM -g -O2
-c pspell.c  touch pspell.lo
pspell.c: In function `php_if_pspell_check':
pspell.c:304: too few arguments to function `pspell_manager_check'
pspell.c: In function `php_if_pspell_suggest':
pspell.c:340: too few arguments to function `pspell_manager_suggest'
pspell.c: In function `php_if_pspell_store_replacement':
pspell.c:377: warning: passing arg 3 of `pspell_manager_store_replacement'
makes integer from pointer without a cast
pspell.c:377: too few arguments to function
`pspell_manager_store_replacement'
pspell.c: In function `php_if_pspell_add_to_personal':
pspell.c:414: too few arguments to function
`pspell_manager_add_to_personal'
pspell.c: In function `php_if_pspell_add_to_session':
pspell.c:451: too few arguments to function
`pspell_manager_add_to_session'
make[3]: *** [pspell.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.0.4pl1/ext/pspell'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.0.4pl1/ext/pspell'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.4pl1/ext'
make: *** [all-recursive] Error 1

pspell-.12, aspell-.32.6, RH 7.0, glibc-2.2-12, gcc-2.96-69. Supposedly
the very same configuration that I got to work on a different
machine.. but, this time it bombs out.

Pspell and aspell compile fine. I figured before I spend a lot of time
on this one again I'd check back in and see if there are any easy fixes :)

Thanks!
Seth


Re-thinking the Web on a SinglePage(TM)
http://www.echospace.com


--
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]




[PHP-DEV] karma request

2001-02-02 Thread PHP development @echospace

 
somebody who can allocate karma, please, I need karma to write to the extension I 
maintain - pspell (php4/ext/pspell).

Thanks, Vlad


Finally! Real applications on the web!
Free email, contacts, and file storage.
http://www.echospace.com


--
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]




[PHP-DEV] karma request

2001-02-02 Thread PHP development @echospace

dumb me... forgot to tell who I am... CVS knows me as vlad ([EMAIL PROTECTED]).
Vlad

 




- Original Message -
From: "PHP development @echospace" 
To: [EMAIL PROTECTED]
Sent: Fri, 2 Feb 2001 15:44:46 -0800
Subject: [PHP-DEV] karma request


somebody who can allocate karma, please, I need karma to write to the extension I 
maintain - pspell (php4/ext/pspell).

Thanks, Vlad


Finally! Real applications on the web!
Free email, contacts, and file storage.
http://www.echospace.com


--
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]


Finally! Real applications on the web!
Free email, contacts, and file storage.
http://www.echospace.com


--
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]