pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

coreclr-git: Improve patch for _vsnprintf()



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Fri Feb 19 00:30:16 2016 +0100
Changeset:	9c20353fe0771d01435c0d5944803622a90a8358

Modified Files:
	coreclr-git/distinfo
	coreclr-git/patches/patch-src_debug_debug-pal_unix_windefs.h
Added Files:
	coreclr-git/patches/patch-src_pal_src_cruntime_printf.cpp

Log Message:
coreclr-git: Improve patch for _vsnprintf()

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9c20353fe0771d01435c0d5944803622a90a8358

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 coreclr-git/distinfo                               |  3 +-
 .../patch-src_debug_debug-pal_unix_windefs.h       |  2 +-
 .../patches/patch-src_pal_src_cruntime_printf.cpp  | 45 ++++++++++++++++++++++
 3 files changed, 48 insertions(+), 2 deletions(-)

diffs:
diff --git a/coreclr-git/distinfo b/coreclr-git/distinfo
index 9146bf2..4835955 100644
--- a/coreclr-git/distinfo
+++ b/coreclr-git/distinfo
@@ -1,5 +1,6 @@
 $NetBSD$
 
 SHA1 (patch-src_debug_debug-pal_unix_twowaypipe.cpp) = 8a5b3353b1072ba96c1350f88cc2d4bcbd235b0f
-SHA1 (patch-src_debug_debug-pal_unix_windefs.h) = e84f4cee35d4a62cd121479e4a53a8ee1938df5c
+SHA1 (patch-src_debug_debug-pal_unix_windefs.h) = 559f68e93b55d52382ecb0cf1b8730b4eff96ef2
 SHA1 (patch-src_pal_inc_pal.h) = 7d3ef148af8b1b24067ba4cb5efc12581ebc6881
+SHA1 (patch-src_pal_src_cruntime_printf.cpp) = f5097c261782642037fd1bc91134b1e349964c5b
diff --git a/coreclr-git/patches/patch-src_debug_debug-pal_unix_windefs.h b/coreclr-git/patches/patch-src_debug_debug-pal_unix_windefs.h
index 0a64e40..d11badd 100644
--- a/coreclr-git/patches/patch-src_debug_debug-pal_unix_windefs.h
+++ b/coreclr-git/patches/patch-src_debug_debug-pal_unix_windefs.h
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- src/debug/debug-pal/unix/windefs.h.orig	2016-02-18 22:12:18.171417621 +0000
+--- src/debug/debug-pal/unix/windefs.h.orig	2016-02-18 23:09:44.740731261 +0000
 +++ src/debug/debug-pal/unix/windefs.h
 @@ -0,0 +1,12 @@
 +// Licensed to the .NET Foundation under one or more agreements.
diff --git a/coreclr-git/patches/patch-src_pal_src_cruntime_printf.cpp b/coreclr-git/patches/patch-src_pal_src_cruntime_printf.cpp
new file mode 100644
index 0000000..16614d3
--- /dev/null
+++ b/coreclr-git/patches/patch-src_pal_src_cruntime_printf.cpp
@@ -0,0 +1,45 @@
+$NetBSD$
+
+--- src/pal/src/cruntime/printf.cpp.orig	2016-01-28 19:04:13.000000000 +0000
++++ src/pal/src/cruntime/printf.cpp
+@@ -1624,35 +1624,6 @@ PAL_vsprintf(char *buffer, 
+ 
+ /*++
+ Function:
+-  _vsnprintf
+-
+-See MSDN doc.
+---*/
+-int 
+-__cdecl 
+-_vsnprintf(char *buffer, 
+-           size_t count, 
+-           const char *format, 
+-           va_list argptr)
+-{
+-    LONG Length;
+-
+-    PERF_ENTRY(_vsnprintf);
+-    ENTRY("_vsnprintf (buffer=%p, count=%d, format=%p (%s), argptr=%p)\n", 
+-          buffer, count, format, format, argptr);
+-
+-    Length = PAL__vsnprintf(buffer, count, format, argptr);
+-
+-    LOGEXIT("_vsnprintf returns int %d\n", Length);
+-    PERF_EXIT(_vsnprintf);
+-
+-    return Length;
+-}
+-
+-
+-
+-/*++
+-Function:
+   PAL_vswprintf
+ 
+ See MSDN doc.
+@@ -1785,4 +1756,3 @@ static int SscanfFloatCheckExponent(LPCS
+     return ret;
+ }
+ #endif // SSCANF_CANNOT_HANDLE_MISSING_EXPONENT
+-


Home | Main Index | Thread Index | Old Index