aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2005-05-23 13:13:00 +0000
committerCorinna Vinschen <corinna@vinschen.de>2005-05-23 13:13:00 +0000
commite0242a025a5c2810a048756944747048d233482a (patch)
tree5ff80c531263bb73ddd6e595e3554fa8a7c7b23f
parent827cff7fe29325d4c768447028b9e6658240c33d (diff)
downloadnewlib-e0242a025a5c2810a048756944747048d233482a.zip
newlib-e0242a025a5c2810a048756944747048d233482a.tar.gz
newlib-e0242a025a5c2810a048756944747048d233482a.tar.bz2
* include/stdint.h (INTMAX_C, UINTMAX_C): Fix definition.
-rw-r--r--winsup/cygwin/ChangeLog21
-rw-r--r--winsup/cygwin/include/stdint.h4
2 files changed, 23 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index e0814bc..aab587f 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-23 Eric Blake <ebb9@byu.net>
+
+ * include/stdint.h (INTMAX_C, UINTMAX_C): Fix definition.
+
2005-05-21 Christopher Faylor <cgf@timesys.com>
* spawn.cc (find_exec): Accept a PATH-like string in place of an
@@ -13,6 +17,23 @@
2005-05-19 Corinna Vinschen <corinna@vinschen.de>
+ * 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 <corinna@vinschen.de>
+
* include/cygwin/in.h: Add comment.
2005-05-19 Corinna Vinschen <corinna@vinschen.de>
diff --git a/winsup/cygwin/include/stdint.h b/winsup/cygwin/include/stdint.h
index 406565c..5456239 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 */