From owner-freebsd-current Thu Oct 15 11:29:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA05758 for freebsd-current-outgoing; Thu, 15 Oct 1998 11:29:14 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [148.81.160.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA05735 for ; Thu, 15 Oct 1998 11:29:10 -0700 (PDT) (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.9.1/8.8.5) with SMTP id UAA27786; Thu, 15 Oct 1998 20:33:40 +0200 (CEST) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Thu, 15 Oct 1998 20:33:39 +0200 (CEST) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: Garrett Wollman cc: bryan collins , freebsd-current@FreeBSD.ORG Subject: Re: /usr/sbin/arp: actual retrieval of routing table In-Reply-To: <199810151534.LAA16665@khavrinen.lcs.mit.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 15 Oct 1998, Garrett Wollman wrote: > < said: > > > Perhaps the programs which use this double sysctl(3) calls should allocate > > somewhat bigger buffer than that calculated on basis of previous call, > > anticipating for unexpected change in data size... > > Actually, the size-estimate routines often intentionally overestimate > for precisely this reason. Ok, good to know this - but this didn't work in this case... Andrzej Bialecki -------------------- ++-------++ ------------------------------------- ||PicoBSD|| FreeBSD in your pocket? Go and see: Research & Academic |+-------+| "Small & Embedded FreeBSD" Network in Poland | |TT~~~| | http://www.freebsd.org/~picobsd/ -------------------- ~-+==---+-+ ------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message