Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17037 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59074 invoked by uid 1010); 30 Jun 2005 09:58:46 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 59059 invoked from network); 30 Jun 2005 09:58:46 -0000 Received: from unknown (HELO fastmail.fm) (127.0.0.1) by localhost with SMTP; 30 Jun 2005 09:58:46 -0000 X-Host-Fingerprint: 66.111.4.25 out1.smtp.messagingengine.com Received: from ([66.111.4.25:48593] helo=out1.smtp.messagingengine.com) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id C6/4D-42553-352C3C24 for ; Thu, 30 Jun 2005 05:58:43 -0400 Received: from web2.messagingengine.com (web2.internal [10.202.2.211]) by frontend1.messagingengine.com (Postfix) with ESMTP id 2EE5CCB52AB; Thu, 30 Jun 2005 05:58:41 -0400 (EDT) Received: by web2.messagingengine.com (Postfix, from userid 99) id 52B7E84B; Thu, 30 Jun 2005 05:58:38 -0400 (EDT) Message-ID: <1120125518.23765.237479110@webmail.messagingengine.com> X-Sasl-Enc: 4guYXErDP4NCsopgdBMSSW0LTDeHpVauE/B6gxuWMaYD 1120125518 To: "Derick Rethans" 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) References: <1120123282.21270.237477318@webmail.messagingengine.com> In-Reply-To: Date: Thu, 30 Jun 2005 15:28:38 +0530 Subject: Re: [PHP-DEV] [PATCH]check for makedev in ext/posix(5.1 tree) (Build failure in NetWare) From: kameshj@fastmail.fm ("Kamesh Jayachandran") Hi Derick, Our LibC implementation of mknod as of today allows creation of regular file, regular dir and fifo only. It does not support Character and Block device creation. The documentation of NetWare LibC mandates dev argument to mknod to be 0.(Which currently the case with php_dev=0). May be when makdev is implemented this code will automatically take care of the new functionality without any change in the code with just the change in new set of LibC headers. With regards Kamesh Jayachandran On Thu, 30 Jun 2005 11:41:57 +0200 (CEST), "Derick Rethans" said: > On Thu, 30 Jun 2005, Kamesh Jayachandran wrote: > > > Hi Derick, > > In NetWare there does not exist a function by name makedev. > > The following patch checks for the existence of makedev and calls only > > if it exists. > > > > http://www.ductape.net/~kameshj/ext_posix_makedev.patch > > I see you're just commenting it out with an #ifdef, shouldn't there be > some sort of fallback? Does having mknod() on Netware still make sense > then? > > Derick > > -- > Derick Rethans > http://derickrethans.nl | http://ez.no | http://xdebug.org -- http://www.fastmail.fm - A fast, anti-spam email service.