delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/02/16:15:48

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <484454DA.7EFA0015@dessent.net>
Date: Mon, 02 Jun 2008 13:15:22 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: Dave Korn <dave DOT korn AT artimi DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: rebase src patch (Was: rebase not compilable)
References: <6910a60806020741t7ff86d8bgbb7866e62acf1c09 AT mail DOT gmail DOT com> <484411AA DOT AF8A9011 AT dessent DOT net> <484427D6 DOT 4030103 AT x-ray DOT at> <48443F8B DOT 6070104 AT x-ray DOT at> <48444091 DOT EBA40B22 AT dessent DOT net> <029101c8c4ea$2fba50b0$2708a8c0 AT CAM DOT ARTIMI DOT COM>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Dave Korn wrote:

>   Only unsigned char *, isn't it?

Any kind of char *.  The standard says simply "a character type" (6.5
#7), and it also says that any signed or unsigned variant of the
effective type may also alias that type.

>   Looking at the mask value, it has ten bits set.  Hence 1024 possible
> results.  Looking at the 0 bits to the right of them, they are spaced in
> 1<<18 = 1<<(16+2) = 1<<16 * 1<<2 = 64k * 4 = 256kB units.  I did this in my
> head, so I may be having a brain fart for all I know.

You're right, my logic was wrong.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019