This is the mail archive of the cygwin-talk 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: FW: Certain files in the system32 directory are not listed


On 07 June 2007 18:26, Matthew Woehlke wrote:

> Dave Korn wrote:
>> "  On 64-bit systems, Windows system files for 64-bit applications are
>> stored in the $WINDIR/System32 directory. To avoid confusion, the system
>> files for 32-bit applications are stored in the $WINDIR/SysWOW64
>> directory.  " 
> 
> ...what did you expect from the platform that brought us the
> ever-so-helpful sizeof(void*) != sizeof(long)?

  Actually there's nothing really wrong with that.  The C language spec makes
no such guarantee.  That's why we have things like [u]intptr_t, intmax_t and
ptrdiff_t.  Any code that assumes a relationship between the size of a pointer
and the size of a long int is just bogus.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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