From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 31 09:29:20 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D14816A400 for ; Wed, 31 Jan 2007 09:29:20 +0000 (UTC) (envelope-from caelian@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id DA31213C4B2 for ; Wed, 31 Jan 2007 09:29:19 +0000 (UTC) (envelope-from caelian@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so116307uge for ; Wed, 31 Jan 2007 01:29:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=kEABzlMC4LM9aTPWNskYRCzko7PoGF7PzZVSJWYAlTzujQPs6FXJZkR0SnQB4MbFylujvh1N+5GweUsWiAjLlu31Fx0bO4dzt4BzaWrErEDrGW49Tgegp525K61wYm89xyXCTs50lW3XVGL0qYFMLIgjMB+bvOuzJv9cUqJmrK0= Received: by 10.67.119.13 with SMTP id w13mr753139ugm.1170235758616; Wed, 31 Jan 2007 01:29:18 -0800 (PST) Received: from chekov.ufp.fli4l ( [87.166.102.193]) by mx.google.com with ESMTP id e23sm729468ugd.2007.01.31.01.29.17; Wed, 31 Jan 2007 01:29:17 -0800 (PST) Message-ID: <45C06167.60401@gmail.com> Date: Wed, 31 Jan 2007 10:29:11 +0100 From: Pascal Hofstee User-Agent: Thunderbird 2.0b1 (X11/20061222) MIME-Version: 1.0 To: Peter Jeremy References: <45C04593.2090704@gmail.com> <20070131085206.GW892@turion.vk2pj.dyndns.org> In-Reply-To: <20070131085206.GW892@turion.vk2pj.dyndns.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: hackers@freebsd.org Subject: Re: a question regarding X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 09:29:20 -0000 Peter Jeremy wrote: > Whilst I agree that the Linux defn is the more sensible one, System V > IPC and common sense are not commonly found together. Tradionally the > definition was "int". It appears that the definition changed from > "int" to "size_t" in issue 5 of the Open Group base definition but > FreeBSD has not caught up with this. > > I'm not sure what plans there are to change this. You could try > putting together a patch to address this and submitting it as a PR > (this means addressing all references to shm_segsz in the base > system, not just ). First of all, thanks for the quick response. At the very least this sheds some light onto the history and how this situation likely came to pass. I'll see if i can put together a patch during the next week or so that would bring our definitions regarding System V IPC in synch, i'll also try to see if i can find additional occurances of similar discrepancies so these could be fixed in a single run. Any additional sugestions/objections are always greatly appreciated. -- Pascal Hofstee