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"
<[EMAIL PROTECTED]> 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.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to