Re: [dev] [sbase] move mknod(1) to ubase

From: sin <sin_AT_2f30.org>
Date: Tue, 28 Jan 2014 17:29:52 +0000

On Fri, Jan 24, 2014 at 05:03:08PM +0000, sin wrote:
> Hi all,
>
> The current implementation of mknod(1) uses makedev(3) which apparently
> is not POSIX and does not exist on some systems, such as Haiku.
>
> I am considering moving this into ubase. Any objections?
>
> cheers,
> sin

I moved mknod(1) to ubase. I attached a trivial patch to handle
makedev. I realize #ifdef's are bad (this is the first ifdef in
sbase!) but it should work most of the time. It will silently
ignore character and block devices if makedev is not implemented
as a macro though.


Received on Tue Jan 28 2014 - 18:29:52 CET

This archive was generated by hypermail 2.3.0 : Tue Jan 28 2014 - 18:36:06 CET