Re: [RFT] llquantize for FreeBSD's dtrace
=0A=0A--- Mar 26/6/12, Mark Peek <mp@FreeBSD.org> ha scritto:=0A=0A> >=0A> =
> It's a different assertion.=0A> >=0A> > Probably some difference between =
Solaris and BSD.=0A> > this is very useful, thanks!=0A> =0A> Try this, chan=
ge the assert on line 1429 in file dt_cc.c=0A> from:=0A> =0A> assert(!(arg =
& (UINT16_MAX << args[i].shift)));=0A> =0A> to=0A> =0A> assert(!(arg & ((ui=
nt64_t)UINT16_MAX <<=0A> args[i].shift)));=0A> =0A=0AThis certainly looks c=
orrect. Thanks Mark !=0A=0AI updated the patch:=0A=0Ahttp://people.freebsd.=
org/~pfg/patches/patch-dtrace-llquantize=0A=0Acheers,=0A=0APedro.
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 7 之 10 篇):