From e0242a025a5c2810a048756944747048d233482a Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 23 May 2005 13:13:00 +0000 Subject: * include/stdint.h (INTMAX_C, UINTMAX_C): Fix definition. --- winsup/cygwin/ChangeLog | 21 +++++++++++++++++++++ winsup/cygwin/include/stdint.h | 4 ++-- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index e0814bcfe..aab587fd5 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2005-05-23 Eric Blake + + * include/stdint.h (INTMAX_C, UINTMAX_C): Fix definition. + 2005-05-21 Christopher Faylor * spawn.cc (find_exec): Accept a PATH-like string in place of an @@ -11,6 +15,23 @@ * cygmagic: Remove debugging cruft. +2005-05-19 Corinna Vinschen + + * autoload.cc (RtlDosPathNameToNtPathName_U): Import. + (RtlCreateUnicodeStringFromAsciiz): Import. + (RtlFreeUnicodeString): Import. + * fhandler.cc (fhandler_base::open): Drop wpath since + path_conv::get_nt_native_path now allocates the upath Buffer. + Remove call to RtlIsDosDeviceName_U. Free upath.Buffer on + return. + * ntdll.h (RtlDosPathNameToNtPathName_U): Declare. + (RtlCreateUnicodeStringFromAsciiz): Declare. + (RtlFreeUnicodeString): Declare. + * path.cc: Include ntdll.h. + (path_conv::get_nt_native_path): Call RtlDosPathNameToNtPathName_U + to generate the correct NT path. Use RtlCreateUnicodeStringFromAsciiz + to allocate Buffer in case of incoming NT paths. + 2005-05-19 Corinna Vinschen * include/cygwin/in.h: Add comment. diff --git a/winsup/cygwin/include/stdint.h b/winsup/cygwin/include/stdint.h index 406565cc0..5456239fb 100644 --- a/winsup/cygwin/include/stdint.h +++ b/winsup/cygwin/include/stdint.h @@ -176,7 +176,7 @@ typedef unsigned long long uintmax_t; /* Macros for greatest-width integer constant expressions */ -#define INTMAX_C(x) x ## L -#define UINTMAX_C(x) x ## UL +#define INTMAX_C(x) x ## LL +#define UINTMAX_C(x) x ## ULL #endif /* _STDINT_H */ -- cgit v1.2.3