Re: [dev] [sbase] Portability of chvt

From: sin <sin_AT_2f30.org>
Date: Thu, 15 Aug 2013 00:21:17 +0300

On Wed, Aug 14, 2013 at 05:09:42PM -0400, Calvin Morrison wrote:
> On 14 August 2013 14:12, Roberto E. Vargas Caballero <k0ga_AT_shike2.com> wrote:
> > Hello,
> >
> > I was testing some of the tools of sbase, and after
> > trying chvt I could see that it inserts directly in the code
> > the ioctl values of linux, without including the header of
> > the linux kernel. The problem comes when you try it with other
> > operating system. You don't get any compilation problem,
> > but it doesn't work and it is really dangerous (maybe in
> > the other operating system this ioctl values do bad things).
> >
> > I think should be some control about what applications
> > are built in each plataform, or even discuss if non portable
> > applications should be in sbase.
> >
>
> IIRC portability has been discussed previously. I would look through
> the mailing archives
>
> Calvin

I'd be inclined to put this in ubase[1]. sbase should be clear of
non-portable code.

David, let me know what you think.

[1] http://git.2f30.org/ubase

Thanks,
sin
Received on Wed Aug 14 2013 - 23:21:17 CEST

This archive was generated by hypermail 2.3.0 : Wed Aug 14 2013 - 23:24:06 CEST