Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17001 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17091 invoked by uid 1010); 29 Jun 2005 14:09:07 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 17076 invoked from network); 29 Jun 2005 14:09:07 -0000 Received: from unknown (HELO fastmail.fm) (127.0.0.1) by localhost with SMTP; 29 Jun 2005 14:09:07 -0000 X-Host-Fingerprint: 66.111.4.25 out1.smtp.messagingengine.com Received: from ([66.111.4.25:39846] helo=out1.smtp.messagingengine.com) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id 94/76-00424-28BA2C24 for ; Wed, 29 Jun 2005 10:09:06 -0400 Received: from web2.messagingengine.com (web2.internal [10.202.2.211]) by frontend1.messagingengine.com (Postfix) with ESMTP id CA42ACB12CE; Wed, 29 Jun 2005 10:09:01 -0400 (EDT) Received: by web2.messagingengine.com (Postfix, from userid 99) id 017AAC2B; Wed, 29 Jun 2005 10:08:57 -0400 (EDT) Message-ID: <1120054136.24588.237410134@webmail.messagingengine.com> X-Sasl-Enc: cM09IOwigzsb2GaBpJsoWfVoffyCIadanuCIdoyjWIBV 1120054136 To: sniper@php.net Cc: internals@lists.php.net Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.73; T1.001; A1.64; B3.05; Q3.03) Date: Wed, 29 Jun 2005 19:38:56 +0530 Subject: PATCH for NetWare specific Screen switches From: kameshj@fastmail.fm ("Kamesh Jayachandran") Hi Jani, Some time in October end 2004 I was asking for allocating 2 switches for NetWare php cli to handle NetWare specific screen issues. Subject of the original eMail is "Can someone allocate 2 command line switches for php cli on NetWare?" I got a good suggestion from the community to write an extension that on its RINIT checks for ini settings "autodestroy" and "noscreen" defined through -d option to the cli. I have implemented the same. I wanted to check in this to both 5.0 and 5.1 tree. Patch to configure.in, http://www.ductape.net/~kameshj/configure.in.patch.5.0 http://www.ductape.net/~kameshj/configure.in.patch.5.1 Please place the following implementation files under ext/netware for both php5.0 and php5.1 http://www.ductape.net/~kameshj/php_netware.c http://www.ductape.net/~kameshj/php_netware.h I originally thought not to put it under ext/netware but under php-src/netware as it is not a general purpose extension. I could not do it as I could not linker error stating "php_netware_module_ptr not found" which is defined in ext/netware/php_netware.h. PHP_NEW_EXTENSION(netware, php_netware.c) in configure.in solves all the problem. Please do the needful. With regards Kamesh Jayachandran -- http://www.fastmail.fm - A fast, anti-spam email service.