This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rebase src patch (Was: rebase not compilable)


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]