DragonFly users List (threaded) for 2007-02
DragonFly BSD
DragonFly users List (threaded) for 2007-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: x11/kdebase-3.5.6 compiled


From: ejc <eric.j.christeson@xxxxxxxxx>
Date: Thu, 22 Feb 2007 16:58:18 -0600

On 2/22/07, Simon 'corecode' Schubert <corecode@fs.ei.tum.de> wrote:
ejc wrote:
>  #if defined (__DragonFly__)
> +#if __DragonFly_version >= 190000
> +     strlcpy(ps->name,p.kp_comm ? p.kp_comm : "????",
> +             sizeof(ps->name));

that ternary isn't needed anymore, kp_comm is guaranteed to exist.

> +#if __DragonFly_version >= 190000
> +     strcpy(ps->status,(p.kp_stat>=1)&&(p.kp_stat<=5)? statuses[p.kp_stat-1]:"????");

stats changed, so you'd also need a new "statuses" array I guess.

Thanks for the critique. I'll work on it tomorrow.


Eric



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]