From owner-cvs-other Mon Apr 24 19:37:17 1995 Return-Path: cvs-other-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA07109 for cvs-other-outgoing; Mon, 24 Apr 1995 19:37:17 -0700 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id TAA07098 ; Mon, 24 Apr 1995 19:36:59 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by time.cdrom.com (8.6.11/8.6.9) with ESMTP id TAA21099; Mon, 24 Apr 1995 19:38:48 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id MAA11649; Tue, 25 Apr 1995 12:31:39 +1000 Date: Tue, 25 Apr 1995 12:31:39 +1000 From: Bruce Evans Message-Id: <199504250231.MAA11649@godzilla.zeta.org.au> To: CVS-commiters@time.cdrom.com, cvs-other@time.cdrom.com, jkh@time.cdrom.com Subject: Re: cvs commit: /host/freefall/a/ncvs/src/usr.sbin/pkg_install/create perform.c Sender: cvs-other-owner@freebsd.org Precedence: bulk > Modified: host/freefall/a/ncvs/src/usr.sbin/pkg_install/create > perform.c > Log: > Use ARG_MAX instead of _POSIX_ARG_MAX: 4K is too small! > This should stop the SIGBUS errors in pkg_create for some packages. You should use sysconf(_SC_ARG_MAX) as in create/pl.c and stop the SIGBUS errors by ensuring that the array isn't overrun, e.g., by using snprintf as in create/pl.c. Bruce