From bugs-return-857-apmail-apr-bugs-archive=apr.apache.org@apr.apache.org Mon Jul 09 17:38:15 2007 Return-Path: Delivered-To: apmail-apr-bugs-archive@www.apache.org Received: (qmail 51167 invoked from network); 9 Jul 2007 17:38:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jul 2007 17:38:14 -0000 Received: (qmail 18401 invoked by uid 500); 9 Jul 2007 17:38:17 -0000 Delivered-To: apmail-apr-bugs-archive@apr.apache.org Received: (qmail 18380 invoked by uid 500); 9 Jul 2007 17:38:17 -0000 Mailing-List: contact bugs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apr.apache.org Delivered-To: mailing list bugs@apr.apache.org Received: (qmail 18365 invoked by uid 99); 9 Jul 2007 17:38:17 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jul 2007 10:38:17 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jul 2007 10:38:14 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 33A3D714159; Mon, 9 Jul 2007 10:37:53 -0700 (PDT) From: bugzilla@apache.org To: bugs@apr.apache.org Subject: DO NOT REPLY [Bug 40020] - Add support for apr_uint8_t and apr_int8_t types In-Reply-To: X-Bugzilla-Reason: AssignedTo Message-Id: <20070709173754.33A3D714159@brutus.apache.org> Date: Mon, 9 Jul 2007 10:37:53 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=40020 bondolo@jxta.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW ------- Additional Comments From bondolo@jxta.org 2007-07-09 10:37 ------- For the same reason that uint32 and int32 is used rather than unsigned int or signed int--the size of "char" is not fixed. Admittedly char is almost always 8 bits except for some obscure embedded OSes that are used Asia (native 16 bit chars) and are not likely targets for APR. Using only the uint* and int* types for wire protocols has a nice symmetry and specificness as well. ie. struct foo { int8 version; uint8 type; int16 thing; uint16 length; int32 signature; uint32 control; int64 offset; uint64 time; }; -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org For additional commands, e-mail: bugs-help@apr.apache.org