看板 DFBSD_bugs 關於我們 聯絡資訊
Sascha Wildner <saw@online.de> added the comment: OpenBSD has changed this to BPF_SRC() based on a report by Guy. NetBSD still uses BPF_RVAL (couldn't find a PR either), while FreeBSD uses this: /* * Check for constant division by 0. */ if (p->code == (BPF_ALU|BPF_DIV|BPF_K) && p->k == 0) return (0); ---------- assignedto: -> swildner nosy: +swildner status: unread -> chatting _____________________________________________________ DragonFly issue tracker <bugs@lists.dragonflybsd.org> <http://bugs.dragonflybsd.org/issue1748> _____________________________________________________