x11/kdebase-3.5.6 compiled

ejc eric.j.christeson at gmail.com
Thu Feb 22 15:03:14 PST 2007


On 2/22/07, Simon 'corecode' Schubert <corecode at 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





More information about the Users mailing list