From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.lisp.guile.devel Subject: Re: setgroups Date: Fri, 18 Apr 2003 12:00:40 -0400 Organization: What did you have in mind? A short, blunt, human pyramid? Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: <87brz4dagq.fsf@raven.i.defaultvalue.org> <87u1cwcwcq.fsf@raven.i.defaultvalue.org> <874r4w85b6.fsf@zagadka.ping.de> <87vfxb3jac.fsf@raven.i.defaultvalue.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050683024 2415 80.91.224.249 (18 Apr 2003 16:23:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 18 Apr 2003 16:23:44 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Apr 18 18:23:30 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 196Ye9-0000bn-00 for ; Fri, 18 Apr 2003 18:23:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 196YdZ-0004i1-03 for guile-devel@m.gmane.org; Fri, 18 Apr 2003 12:22:53 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 196YWF-0000fc-00 for guile-devel@gnu.org; Fri, 18 Apr 2003 12:15:19 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 196YVl-0008V4-00 for guile-devel@gnu.org; Fri, 18 Apr 2003 12:14:50 -0400 Original-Received: from multivac.student.cwru.edu ([129.22.114.26] helo=multivac.cwru.edu) by monty-python.gnu.org with smtp (Exim 4.10.13) id 196YI4-00048Q-00 for guile-devel@gnu.org; Fri, 18 Apr 2003 12:00:40 -0400 Original-Received: (qmail 18771 invoked by uid 500); 18 Apr 2003 16:01:02 -0000 Original-To: guile-devel@gnu.org In-Reply-To: <87vfxb3jac.fsf@raven.i.defaultvalue.org> (Rob Browning's message of "Fri, 18 Apr 2003 10:41:15 -0500") Mail-Copies-To: nobody Mail-Followup-To: guile-devel@gnu.org Original-Lines: 16 User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2186 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2186 Rob Browning wrote: > If there's nothing like GID_MAX, I guess we'll need to compute the > fit manually. unsigned long lgid = SCM_INUM (foo); GETGROUPS_T gid = lgid; if (gid < 0 || lgid != (unsigned long) gid) overflow; - Is SCM_INUM guaranteed to fit in unsigned long? If not, what type can we use instead? - If GETGROUPS_T is signed and "gid = lgid" overflows, the C standard says it's undefined behavior. Are we worried about that, or are we confident that it'll just wrap on platforms we care about? paul _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel