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: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Thu, 22 Feb 2007 23:55:32 +0100

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.


cheers
 simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Attachment: signature.asc
Description: OpenPGP digital signature



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