Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11]) by narn.NetBSD.org (Postfix) with ESMTP id 4F3B863B877 for ; Tue, 16 Sep 2008 11:59:30 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 0) id 0178763B1D4; Tue, 16 Sep 2008 11:59:30 +0000 (UTC) Received: from cvs.netbsd.org (unknown [IPv6:2001:4f8:4:7:2e0:81ff:fe25:eab4]) by mail.netbsd.org (Postfix) with ESMTP id 553CD63B109 for ; Tue, 16 Sep 2008 11:59:29 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 47D6D175D0; Tue, 16 Sep 2008 11:59:29 +0000 (UTC) From: Joerg Sonnenberger Subject: CVS commit: pkgsrc/devel/nbpatch/files To: pkgsrc-changes@NetBSD.org Reply-To: joerg@netbsd.org Message-Id: <20080916115929.47D6D175D0@cvs.netbsd.org> Date: Tue, 16 Sep 2008 11:59:29 +0000 (UTC) Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes Precedence: list Module Name: pkgsrc Committed By: joerg Date: Tue Sep 16 11:59:29 UTC 2008 Modified Files: pkgsrc/devel/nbpatch/files: inp.c util.c Log Message: Don't use sig_t, it doesn't exist on QNX. Conditionally use madvise or posix_madvise if MADV_SEQUENTIAL or POSIX_MADV_SEQUENTIAL exist. As it is a hint for the VM subsystem, it doesn't hurt if neither is provided. Based on input from Sean Boudreau. To generate a diff of this commit: cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/devel/nbpatch/files/inp.c \ pkgsrc/devel/nbpatch/files/util.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.