From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: bindat docs on length of str, strz, etc types Date: Fri, 29 Dec 2006 02:23:08 +0100 Message-ID: References: <87r6ulq8qs.fsf@zip.com.au> <87irfwrjtq.fsf@zip.com.au> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1167355406 24615 80.91.229.10 (29 Dec 2006 01:23:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Dec 2006 01:23:26 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 29 02:23:24 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1H06Sr-0002Bs-PR for ged-emacs-devel@m.gmane.org; Fri, 29 Dec 2006 02:23:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H06Sr-0003K8-8P for ged-emacs-devel@m.gmane.org; Thu, 28 Dec 2006 20:23:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H06Sf-0003K2-8X for emacs-devel@gnu.org; Thu, 28 Dec 2006 20:23:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H06Sc-0003Jq-Ix for emacs-devel@gnu.org; Thu, 28 Dec 2006 20:23:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H06Sc-0003Jn-Fm for emacs-devel@gnu.org; Thu, 28 Dec 2006 20:23:02 -0500 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H06Sc-0007LY-7i for emacs-devel@gnu.org; Thu, 28 Dec 2006 20:23:02 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx19.adsl-dhcp.tele.dk [80.62.38.68]) by pfepb.post.tele.dk (Postfix) with SMTP id F00CDA50026; Fri, 29 Dec 2006 02:22:58 +0100 (CET) Original-To: Kevin Ryde In-Reply-To: <87irfwrjtq.fsf@zip.com.au> (Kevin Ryde's message of "Thu\, 28 Dec 2006 10\:38\:09 +1100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:64404 Archived-At: Kevin Ryde writes: > While you're at it, I got a bit confused by strz at first. I wanted > to match a variable-length field that stopped at a 0 byte and I tried > leaving out the length, which didn't work of course. Maybe it could > say something like > > A zero-terminated string, in a fixed-length field of LEN bytes. Thank you. I have now updated the bindat docs according to your suggestions. Please have a look. -- Kim F. Storm http://www.cua.dk