[PHP-DEV] Re: Bug #18214 Updated: Request: Warning on assignment in IFexpression.
What are some other potential strict mode watches? Some people ask for an optional strict mode with various options, this could be a good start? Imagine a strict mode directive where when on, various options could be set at runtime, like assignment_inside_expression = true :) You can better do this discussion on php-dev, as not a lot people read the bug list. Here are a few related feature requests (with summary): #14285 - Wants strict mode, similar to: 'option explicit' in VBScript 'use strict' in Perl #14405 - Wants 'require strict argument' option, that affects all PHP functions. The name E_TYPE is suggested. #18214 - Wants warning option for assignment inside of an expression. Possible runtime option of assignment_inside_expression = true if in strict mode. How possible would it be to create an optional strict mode in PHP? This might help strict programmers feel more comfortable. error_reporting(E_ALL) is a start, using === vs == too. Some functions, like in_array(), have strict options now as well. Regards, Philip Olson -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] PHP 5.0?
Hey there! I'm hearing rumors that ZE2 release will happen Fall 2002 and that will make it PHP 5.0, not 4.x... Any comment, on or off record?... A book publisher I'm working with kinda needs to know whether to change the project requirements and release later, or push release soon and worry about 5.0 in 2003, or ... They do have enough sense to refer to my research (and your potential answers) as reading the tea leaves :-) I've searched the Dev archives and Zend lists, and even posted back in March... I've come up empty on future planning along these lines, and nobody was willing to go out on a limb back in March :-) OTOH, maybe these rumors are a *result* of my stupid query back in March :-) Off-list, off-the-record, and unofficial replies are fine. THANKS!!! -- Like Music? http://l-i-e.com/artists.htm -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] [PATCH] ext/sysvsem semctl 4th argument
Hi, sounds sane, I'd say commit it :) Derick On Mon, 8 Jul 2002, Melvyn Sopacua wrote: Hi, attached is a patch that checks wether sem_ctl accepts a pointer as an argument. It doesn't do that, on BSD/OS (maybe others?) systems. Patch works on BSD/OS 4.x, and verified on BSD/OS 4.2, with sample code on the manual notes. Met vriendelijke groeten / With kind regards, IDG.nl Melvyn Sopacua WebMaster --- Did I help you? http://www.derickrethans.nl/link.php?url=giftlist Frequent ranting: http://www.derickrethans.nl/ --- PHP: Scripting the Web - [EMAIL PROTECTED] All your branches are belong to me! SRM: Script Running Machine - www.vl-srm.net --- -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] PHP 5.0?
I think it would be fair to say that we don't yet know anything concrete. Anything you hear is just personal opinions of the people you're talking to, or the ones of the people they talked to... With the 2nd alpha out, I think it's reasonable to assume that the engine will be finalized by the end of this year, and my personal guess is that a 'golden' version based on it will come out early 2003. Whether this actually happens depends on lots of different factors, so it may very well change. I also think that it will be named PHP 5.0, but that has not yet been determined either. Zeev At 06:29 AM 7/9/2002, Richard Lynch wrote: Hey there! I'm hearing rumors that ZE2 release will happen Fall 2002 and that will make it PHP 5.0, not 4.x... Any comment, on or off record?... A book publisher I'm working with kinda needs to know whether to change the project requirements and release later, or push release soon and worry about 5.0 in 2003, or ... They do have enough sense to refer to my research (and your potential answers) as reading the tea leaves :-) I've searched the Dev archives and Zend lists, and even posted back in March... I've come up empty on future planning along these lines, and nobody was willing to go out on a limb back in March :-) OTOH, maybe these rumors are a *result* of my stupid query back in March :-) Off-list, off-the-record, and unofficial replies are fine. THANKS!!! -- Like Music? http://l-i-e.com/artists.htm -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] [PATCH] ext/sysvsem semctl 4th argument
Did you notice ext/sysvsem/sysvsem.c line 45 having the HAVE_SEMUN defined even if it's not? If it's not found, it will always be set anyway.. --Jani -- On Mon, 8 Jul 2002, Melvyn Sopacua wrote: Hi, attached is a patch that checks wether sem_ctl accepts a pointer as an argument. It doesn't do that, on BSD/OS (maybe others?) systems. Patch works on BSD/OS 4.x, and verified on BSD/OS 4.2, with sample code on the manual notes. Met vriendelijke groeten / With kind regards, IDG.nl Melvyn Sopacua WebMaster -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] [PATCH] ext/sysvsem semctl 4th argument
At 14:28 9-7-2002, Jani Taskinen shared with all of us: Did you notice ext/sysvsem/sysvsem.c line 45 having the HAVE_SEMUN defined even if it's not? Now I did :-0 However - I don't have access to a system that has semctl with 3 arguments. Anyone? If it's not found, it will always be set anyway.. --Jani -- On Mon, 8 Jul 2002, Melvyn Sopacua wrote: Hi, attached is a patch that checks wether sem_ctl accepts a pointer as an argument. It doesn't do that, on BSD/OS (maybe others?) systems. Patch works on BSD/OS 4.x, and verified on BSD/OS 4.2, with sample code on the manual notes. Met vriendelijke groeten / With kind regards, IDG.nl Melvyn Sopacua WebMaster --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.373 / Virus Database: 208 - Release Date: 1-7-2002 Met vriendelijke groeten / With kind regards, IDG.nl Melvyn Sopacua Webmaster -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Debugging a segfault
Hi there, I had to patch some code recently (imap module) and as a result the patched module produces a segfault. The backtrace is in [1], notice the second frame, according to http://bugs.php.net/bugs-generating-backtrace.php I should be able to see the function that causes the segfault by executing print (char *)(executor_globals.function_state_ptr-function)-common.function_name but that doesn't work, gdb says Attempt to extract a component of a value that is not a structure.. I'm not a C coder and I have no idea what that means :) Should I rather try to generate a core file and run gdb with it? Any suggestion how I can get some debug info? Versions: Apache 1.3.26 PHP php4 4.2.1-3 (built with --enable-debug) TIA, Igor [1]: neo:/usr/sbin# gdb /usr/sbin/apache GNU gdb 2002-04-01-cvs Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-linux...(no debugging symbols found)... (gdb) run -X -f /etc/apache/httpd.conf Starting program: /usr/sbin/apache -X -f /etc/apache/httpd.conf (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... ... some lines later ... (no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. 0x4257001d in imap_getquotaroot () from /usr/lib/php4/20020429-debug/imap.so (gdb) (gdb) bt #0 0x4257001d in imap_getquotaroot () from /usr/lib/php4/20020429-debug/imap.so #1 0x4253cf7a in zif_imap_get_quotaroot () from /usr/lib/php4/20020429-debug/imap.so #2 0x40274ca7 in execute () from /usr/lib/apache/1.3/libphp4.so #3 0x40283dae in zend_execute_scripts () from /usr/lib/apache/1.3/libphp4.so #4 0x40292fc6 in php_execute_script () from /usr/lib/apache/1.3/libphp4.so #5 0x4028e67e in apache_php_module_main () from /usr/lib/apache/1.3/libphp4.so #6 0x4028f1ce in php_restore_umask () from /usr/lib/apache/1.3/libphp4.so #7 0x4028f235 in php_restore_umask () from /usr/lib/apache/1.3/libphp4.so #8 0x08053a94 in ap_invoke_handler () #9 0x0806339c in ap_some_auth_required () #10 0x080633f8 in ap_process_request () #11 0x0805cbdb in ap_child_terminate () #12 0x0805cd6c in ap_child_terminate () #13 0x0805ce89 in ap_child_terminate () #14 0x0805d365 in ap_child_terminate () #15 0x0805da6d in main () #16 0x400fb14f in __libc_start_main () from /lib/libc.so.6 -- ScanPlus GmbH NOC Ulm - Germany - Griesbadgasse 7-13 - D 89073 Ulm TEL +49 731 920 13 100 - FAX +49 731 920 13 290 eMail: [EMAIL PROTECTED] Amtsgericht Ulm - HRB3220 - Geschaeftsfuehrer: Juergen Hoermann signature.asc Description: This is a digitally signed message part
[PHP-DEV] Licensing issues
msg.pgp Description: PGP message
Re: [PHP-DEV] Licensing issues
Hello Jelmer, Can you please not use PGP signed messages to this list, not everybody has a mailer who likes this. Now to the point, afaik we can not bundle it in the main distribution because of this, only if the library is LGPL. What you can so is contribute your extension to PEAR/PECL so that users can easily install it with pear install smbc. You can ask more on the [EMAIL PROTECTED] list about it. regards, Derick On Tue, 9 Jul 2002, Jelmer Vernooij wrote: gpg: Warning: using insecure memory! gpg: Signature made Tue Jul 9 16:08:57 2002 CEST using DSA key ID 1EEF5276 gpg: Good signature from Jelmer Vernooij [EMAIL PROTECTED] gpg: aka Jelmer Vernooij (ctrlsoft) [EMAIL PROTECTED] gpg: aka Jelmer Vernooij [EMAIL PROTECTED] gpg: aka Jelmer Vernooij [EMAIL PROTECTED] gpg: aka Jelmer Vernooij (953) [EMAIL PROTECTED] gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. gpg: Fingerprint: F1F3 A87E D983 DFAD 791A DAD8 3DAF 54A2 1EEF 5276 Hi! I've written SMB Client (Windows/Samba Filesharing) support for PHP. Though I'm wondering how this can be distributed - libsmbclient is published under GPL. Can my ext/smbc added to the main php 4 sources with the current license? May I distribute it as a patch? What alternative licenses could libsmbclient be published under to make it compatible with the PHP License? Jelmer [NON-Text Body part not included] --- Did I help you? http://www.derickrethans.nl/link.php?url=giftlist Frequent ranting: http://www.derickrethans.nl/ --- PHP: Scripting the Web - [EMAIL PROTECTED] All your branches are belong to me! SRM: Script Running Machine - www.vl-srm.net --- -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Licensing issues
Hi Jelmer, I've written SMB Client (Windows/Samba Filesharing) support for PHP. Though I'm wondering how this can be distributed - libsmbclient is published under GPL. Sounds intresting to me, i guess PECL is the right place for that?! Can my ext/smbc added to the main php 4 sources with the current license? May I distribute it as a patch? What alternative licenses could libsmbclient be published under to make it compatible with the PHP License? it should be GNU Library General Public License, i think.. regards, Peter Petermann -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] PHP5 Packages
hi, in PHP5 it shall be possible to integrate own extensions (written in PHP), called Packages. a package consists of functions and classes, encapsulated in an namespace. to make the package-elements available in an program, the package must still integrate in the source code. for a while I heard about keywords: import, use or share to integrated the packages... does one know more about this? Best regards -Andre Gildemeister -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] PHP5 Packages
At 06:53 PM 7/9/2002, Andre Gildemeister wrote: hi, in PHP5 it shall be possible to integrate own extensions (written in PHP), called Packages. a package consists of functions and classes, encapsulated in an namespace. to make the package-elements available in an program, the package must still integrate in the source code. for a while I heard about keywords: import, use or share to integrated the packages... Is that a statement or a question? :) Basically, the Zend Engine 2 will allow the use of nested classes. So, classes will be able to contain other classes, as well as constants in addition to variables and methods. They are not called packages. Currently there aren't any new keywords for loading such classes, because essentially, they're just like the existing classes (will be used using include/require). There's an import statement that's going to help users bring methods from classes (or nested classes) to the global scope. Zeev -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] PHP5 Packages
At 17:05 9-7-2002, Zeev Suraski shared with all of us: Basically, the Zend Engine 2 will allow the use of nested classes. So, classes will be able to contain other classes, as well as constants in addition to variables and methods. That's already possible isn't it? How does this differ from: $this-db = new dbclient; Met vriendelijke groeten / With kind regards, IDG.nl Melvyn Sopacua Webmaster -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] PHP5 Packages
At 07:17 PM 7/9/2002, Melvyn Sopacua wrote: At 17:05 9-7-2002, Zeev Suraski shared with all of us: Basically, the Zend Engine 2 will allow the use of nested classes. So, classes will be able to contain other classes, as well as constants in addition to variables and methods. That's already possible isn't it? No it isn't (not in PHP 4 anyway, it's possible in the ZE2-based alpha). How does this differ from: $this-db = new dbclient; It's completely different. It addresses scoping issues, and gives you the same functionality as namespaces. For example: class foo { class bar { function method1() { } }; }; to call method1() externally, you would have to use something like foo::bar::method1(). It's not directly related to object instaniation. Zeev -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] PHP5 Packages
Zeev Suraski wrote: Basically, the Zend Engine 2 will allow the use of nested classes. So, classes will be able to contain other classes, as well as constants in addition to variables and methods. They are not called packages. Currently there aren't any new keywords for loading such classes, because essentially, they're just like the existing classes (will be used using include/require). There's an import statement that's going to help users bring methods from classes (or nested classes) to the global scope. Ok, then I misunderstood something in this context Best regards -Andre Gildemeister -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] PHP5 Packages
At 17:19 9-7-2002, Zeev Suraski shared with all of us: How does this differ from: $this-db = new dbclient; It's completely different. It addresses scoping issues, and gives you the same functionality as namespaces. For example: class foo { class bar { function method1() { } }; }; to call method1() externally, you would have to use something like foo::bar::method1(). It's not directly related to object instaniation. So, now the (re-)usable one: class foo { //some code require('class_bar.php'); } Will that work? That would be NEAT :-0 Met vriendelijke groeten / With kind regards, IDG.nl Melvyn Sopacua Webmaster -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] PHP5 Packages
At 08:00 PM 7/9/2002, Melvyn Sopacua wrote: class foo { //some code require('class_bar.php'); } Will that work? No, that won't work. Zeev -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] karma
Can someone please give me phpdoc karma? -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] how to create a new sapi module
Hello all, did I dream about it? I think I saw documentation somewhere on how to create a new sapi module, but I can't find anything anywhere and the search on news.php.net is down. Anyone has any pointer? Thanks! Fab. _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: Re: Re: [PHP-DEV] FEATURE REQUEST: symlinks under NT
you're right, it could be a problem when they are targetted at files, but why can't you just include a check on the target, if it is a directory or not, just like it is done in the code by Mark Russinovich? I think that will prevent such bugos entries. Of course we will also have to check, if the filesystem, the link is created in, is really NTFS. Timo -Original Message- From: Zeev Suraski [mailto:[EMAIL PROTECTED]] Sent: Montag, 8. Juli 2002 08:05 To: Timo Weingärtner Cc: [EMAIL PROTECTED] Subject: Re: Re: [PHP-DEV] FEATURE REQUEST: symlinks under NT Again, the fact they're directory junctions is pretty important here, since they do NOT work like symlinks. They work similarly to symlinks if you use them on directories, but they were created for a different purpose altogether. They were created to give Windows users something similar to the ability to mount a filesystem into a directory, instead of a different volume (e.g., mount a filesystem into C:\Documents and Settings, instead of D:\). As far as I know you cannot use them to create symlinks for files, which means they're not equivalent of UNIX symlinks at all. What happens when you use your functions on files? My guess is that they create bogus entries. Zeev At 12:30 PM 7/7/2002, Timo Weingärtner wrote: As I said they are directory junctions, but they work like symlinks. I wanted to ask if you could include it in one of the next versions of PHP, because I don't know much about programming in C. In the meantime I wrote a PHP script that executes the tool mentioned below and processes the output, but that's not very fast. I think it should be faster if the required code would be included in PHP itself. I know that Apache 2.x recognizes junctions under NT (Options FollowSymlinks). It would be nice to have the code included in PHP. Thanks in advance, Timo Weingärtner -Original Message- From: Zeev Suraski [mailto:[EMAIL PROTECTED]] Sent: Samstag, 6. Juli 2002 16:55 To: Timo Weingärtner Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DEV] FEATURE REQUEST: symlinks under NT Are you sure they're equivalent to symlinks? They only work with directories as far as I know, which renders them significantly less useful than UNIX symlinks. Zeev At 05:26 PM 7/6/2002, Timo Weingärtner wrote: NTFS supports directory junctions which are equivalent to unix symlinks. I found a tool that can create, read and delete such junctions. Is there are posiibility to include that code into php so that it supports it in realpath(), symlink(), linkinfo(), readlink(), filetype(), is_link(), stat(), lstat()? The complete source code can be found at: http://www.sysinternals.com/files/jnctnsrc.zip -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] [PATCH] for BUG #16069 transliteration failure
Hi, This humble patch fixes the minor bug #16069 transliteration failure. I think I'm supposed to do CC'ing it to the maintainers, but I don't know who is responsible for iconv module because none of them are listed in EXTENSIONS. Although I read README.SUBMITTING_PATCH somewhat carefully, I guess it contains a lot of insufficients. I'm still worrying that a slight change on config.m4, to check whether iconv supports errno or not, could produce another bug (especially configure related one). Any comments are welcome. PS: ext/iconv/tests/eucjp2utf8.phpt seems to always fail, because it expects some unnecessary trailing \0 characters. Regards, Moriyoshi Koizumi -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] [PATCH] for BUG #16069 transliteration failure
Hello again, I forgot to attach them. Moriyoshi Koizumi [EMAIL PROTECTED] wrote: Hi, This humble patch fixes the minor bug #16069 transliteration failure. I think I'm supposed to do CC'ing it to the maintainers, but I don't know who is responsible for iconv module because none of them are listed in EXTENSIONS. Although I read README.SUBMITTING_PATCH somewhat carefully, I guess it contains a lot of insufficients. I'm still worrying that a slight change on config.m4, to check whether iconv supports errno or not, could produce another bug (especially configure related one). Any comments are welcome. PS: ext/iconv/tests/eucjp2utf8.phpt seems to always fail, because it expects some unnecessary trailing \0 characters. Regards, Moriyoshi Koizumi -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] FEATURE REQUEST: symlinks under NT
Shell Shortcuts could be used to implement symlink like behaviour, and it would be compatible on more systems, but it would be a bigger pain to implement in PHP. As far as the directory junctions, this is how MS describes them: # NTFS Directory Junctions. These are NTFS directories that can be resolved to any local namespace. Directory junctions provide a very powerful tool for system administrators, but are not generally deployed—they can only be created with the Linkd.exe tool in the Windows 2000 Resource Kit. Because NTFS directory junctions can be used to make the storage namespace span volumes, they may present new subtleties for application developers. A key phrase here, 'local namespace'. Basicly, they ARE symlinks for directories. http://www.winnetmag.com/Articles/Index.cfm?ArticleID=8321 http://www.microsoft.com/windows2000/techinfo/howitworks/fileandprint/stordev.asp http://www.sysinternals.com/ntw2k/source/misc.shtml#junction And if someone was really wanting symlinks for files, Reparse Points could be used to implement a file system filter that implements them. Shane -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Can't fiqure out how to fix this error! HELP!
This is the error I get and I can't fiqure out how to fix it: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in d:\apache\htdocs\ViewGuestbook.inc on line 13 HELP!! -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Re: Can't fiqure out how to fix this error! HELP!
Perhaps it would help if you let everyone know what exactly was on line 13... Celebei [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... This is the error I get and I can't fiqure out how to fix it: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in d:\apache\htdocs\ViewGuestbook.inc on line 13 HELP!! -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Re: cvs: php4(ZendEngine2) /win32 php4dllts.dsp
Harald Radi wrote: phantoTue Jul 9 16:28:36 2002 EDT Modified files: (Branch: ZendEngine2) /php4/win32 php4dllts.dsp New branch Do we just ignore ZendEngine2 branch and will someone marge changes to the branch? or are we supposed to merge changes to it? Whoever created the branch should annouce it if we are supposed to merge changes to the branch _before_ creating branch. IMHO. -- Yasuo Ohgaki -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Re: cvs: php4(ZendEngine2) /win32 php4dllts.dsp
Hmm. This tag is only for some win32 files. The name isn't sound good to me. -- Yasuo Ohgaki Yasuo Ohgaki wrote: Harald Radi wrote: phantoTue Jul 9 16:28:36 2002 EDT Modified files: (Branch: ZendEngine2) /php4/win32php4dllts.dsp New branch Do we just ignore ZendEngine2 branch and will someone marge changes to the branch? or are we supposed to merge changes to it? Whoever created the branch should annouce it if we are supposed to merge changes to the branch _before_ creating branch. IMHO. -- Yasuo Ohgaki -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] [PATCH] ext/sysvsem semctl 4th argument
Melvyn Sopacua wrote: At 14:28 9-7-2002, Jani Taskinen shared with all of us: Did you notice ext/sysvsem/sysvsem.c line 45 having the HAVE_SEMUN defined even if it's not? Now I did :-0 However - I don't have access to a system that has semctl with 3 arguments. Anyone? I don't know the details, but it seems my Linux box (glibc 2.2.4) accepts 3 or 4 args. in sys/sem.h /* Semaphore control operation. */ extern int semctl (int __semid, int __semnum, int __cmd, ...) __THROW; It's funny English man page says it accpcepts only 4 args, but Japanese man page says it accepts 3 or 4 args. I'm not sure which one is right. -- Yasuo Ohgaki -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Patch for bug: #16637
Attached is a patch which fixes the bug described here: http://bugs.php.net/bug.php?id=16337 Please check that last comment I posted there and comment this patch then.. :) --Jani Index: http_fopen_wrapper.c === RCS file: /repository/php4/ext/standard/http_fopen_wrapper.c,v retrieving revision 1.35 diff -u -r1.35 http_fopen_wrapper.c --- http_fopen_wrapper.c4 May 2002 17:16:28 - 1.35 +++ http_fopen_wrapper.c10 Jul 2002 03:49:37 - -148,6 +148,10 /* authz header if it was specified */ if (resource-user resource-pass) { + /* decode the strings first */ + php_url_decode(resource-user, strlen(resource-user)); + php_url_decode(resource-pass, strlen(resource-pass)); + /* scratch is large enough, since it was made large enough for the whole URL */ strcpy(scratch, resource-user); strcat(scratch, :); -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Re: cvs: php4(ZendEngine2) /win32 php4dllts.dsp
On Wed, 10 Jul 2002, Yasuo Ohgaki wrote: Hmm. This tag is only for some win32 files. The name isn't sound good to me. This was brought up before, and it's only needed for some files due to incompabilities with the ZE1 stuff. Derick -- Yasuo Ohgaki Yasuo Ohgaki wrote: Harald Radi wrote: phantoTue Jul 9 16:28:36 2002 EDT Modified files: (Branch: ZendEngine2) /php4/win32php4dllts.dsp New branch Do we just ignore ZendEngine2 branch and will someone marge changes to the branch? or are we supposed to merge changes to it? Whoever created the branch should annouce it if we are supposed to merge changes to the branch _before_ creating branch. IMHO. -- Yasuo Ohgaki -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php --- Did I help you? http://www.derickrethans.nl/link.php?url=giftlist Frequent ranting: http://www.derickrethans.nl/ --- PHP: Scripting the Web - [EMAIL PROTECTED] All your branches are belong to me! SRM: Script Running Machine - www.vl-srm.net --- -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php