This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
RE: FW: Certain files in the system32 directory are not listed
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'n2794'" <cygwin-talk at cygwin dot com>
- Date: Thu, 7 Jun 2007 18:37:49 +0100
- Subject: RE: FW: Certain files in the system32 directory are not listed
- References: <000c01c7a927$b7256b50$2e08a8c0@CAM.ARTIMI.COM> <f49f3n$rmd$2@sea.gmane.org>
- Reply-to: The Cygwin-Talk Maiming List <cygwin-talk at cygwin dot com>
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....