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




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


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



$ make



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]




Re: [PHP-DEV] pspell/aspell breaking

2001-03-02 Thread PHP development @echospace
Thanks for the nice report - I'll know what to suggest to those who ask in the future. I've heard of somewhat similar problems with aspell on other platforms, and yet have to figure out how to work around them:(
 One thing I noticed after I replied to you: after you compile pspell and aspell, you *need* to go back to pspell and do:
cd modules
./add-modules
cd ..
make
make installldconfig -v
 
That's just the way it works. aspell is dependent on pspell, but pspell needs to know that aspell exists to work with it. Kinda like a circular dependency
 
Vlad
- Original Message -From: Seth Northrop <[EMAIL PROTECTED]>To: [EMAIL PROTECTED],[EMAIL PROTECTED]Sent: Fri, 2 Mar 2001 11:16:13 -0800 (PST)Subject: Re: [PHP-DEV] pspell/aspell breaking On Fri, 2 Mar 2001, PHP development @echospace wrote:> I remember being able to compile, but not use pspell on a RH7 machine. Never had time to look into it. Maybe now I will. Compile problems might be due to the fact that gcc 2.96 is behaving oddly - I couldn't compile half the things with it properly. Try recent egcs instead. It looks however that I can't blame compiler only in your case. If you can't get it resolved, could you please submit a bug report with the part of the output where compile fails (not just *that* very line, but like 50 preceding lines too - a larger chunk so I can see)>>> Hmmm. So, I try to recompile to reproduce the error, this time advancingback to .12; I compile; no errors AND the module error goes away (thus,it works great as it always had on RH6.2).Weird.These are the only two things I can think of.My progression was this; get .12 (it failed to compile; (php+apache -pspell/aspell compiled fine), read php-dev, saw there might be issues so Ireverted back to .11.2 (pspell). It compiled, but, with the aspell moduleissue. Figured perhaps it was the most recent aspell (I had gottenaspell-.33); so, I reverted that back to 32.6; recompiled still got aspellmodule issues. Noted that RH7 have some glibc issues (and, it had causedsome other issues with aspell/pspell); updated both glibc and gcc fromredhat (rpm updates), recompiled, still had aspell module issues with PHP. Finally, to replicate the compile error I went BACK to pspell .12,recompiled, everything worked.So, the two things I can think of is:a) the newest aspell libraries are causing problems either in the compileor in the aspell module loadingb) redhat's buggy glibc/gccthe only odd thing was that I can't necessarily isolate either of these asthe cause. But, aspell 32.6+pspell .12+updated RH glibc 2.2-12 &gcc-2.96-69 + apache 1.3.14 + php-4.0.4pl1 works on RH 7 now. Myinclination is that it's aspell, since, the same behavior existed withboth stock and updated glibc and gcc.> > > > - Original Message -> From: Seth Northrop > To: [EMAIL PROTECTED],[EMAIL PROTECTED]> Sent: Thu, 1 Mar 2001 18:41:25 -0800 (PST)> Subject: [PHP-DEV] pspell/aspell breaking > > > Setup:> aspell-.32.6> pspell-.11.2> php-4.0.4pl1> apache_1.3.14> RH 7.0> glibc 2.2-12> gcc-2.96-69> > Procedure:> ./pspell-.11.2/configure > make && make install> > ./aspell-.32.6/configure > make && make install> > ./php-4.0.4pl1/configure --without-gd --with-mysql> --with-config-file-path=/usr/local/apache/etc --enable-debug=no> --with-pspell --with-apache=/usr/local/src/apache_1.3.14> make && make install> > ./apache_1.3.14/configure --prefix=/usr/local/apache --with-layout=GNU> --disable-module=userdir --disable-module=include> --activate-module=src/modules/php4/libphp4.a> make && make install> > Results in:> Warning: PSPELL couldn't open the dictionary. reason: Unable to load the> "aspell" module. in foo.inc on line 564> > Aspell works great on the command line. Am I missing something? > > Incidently, I can't even get php to compile with pspell-.12> > Ideas?> Seth> > > -- PHP Development Mailing List 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



Re: [PHP-DEV] Time for 4.0.5?

2001-02-20 Thread PHP development @echospace

 
...with pretty much every modem user already having bzip2... C'mon, you gotta download 
kernel sources too, and those are in bz2 for modem users...
-2c-
Vlad




- Original Message -
From: emile@UNKNOWN
To: 
Sent: Tue, 20 Feb 2001 10:04:11 +0100
Subject: Re: [PHP-DEV] Time for 4.0.5?

Wolfgang Drews wrote:

> delivering .tar.gz, but in addition offer this .bz2 thing. So
> why not, if at least those modem-users would benefit of it?

Could benefit, not would benefit. They'd need to download and install
bzip2
first.

Emile

-- 
PHP Development Mailing List 
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 
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] CVS Account Request

2001-02-15 Thread PHP development @echospace

 another one to add to a long list of "dont's" at /cvs-php.php? This is a particularly 
good one, and I bet more than one person will ask this.
:) Vlad




- Original Message -
From: CVS Account Request 
To: [EMAIL PROTECTED]
Sent: 15 Feb 2001 02:58:30 -
Subject: [PHP-DEV] CVS Account Request

Full name: Jacky Chou
Email: [EMAIL PROTECTED]
ID: bhchou
Purpose: Check PHP version frequently

-- 
PHP Development Mailing List 
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 
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]




[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 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]