x11/kdebase-3.5.6 compiled

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Thu Feb 22 15:02:08 PST 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00024.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20070222/cb639f8d/attachment-0021.obj>


More information about the Users mailing list