pkgsrc-WIP-changes archive

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

coreclr-git: Revamp patch for _vsnprintf()



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Fri Feb 19 21:31:56 2016 +0100
Changeset:	0f5eae471eb66edc184225a20583e9add15ea432

Modified Files:
	coreclr-git/distinfo
Removed Files:
	coreclr-git/patches/patch-src_pal_inc_pal.h
	coreclr-git/patches/patch-src_pal_src_cruntime_printf.cpp

Log Message:
coreclr-git: Revamp 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=0f5eae471eb66edc184225a20583e9add15ea432

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

diffstat:
 coreclr-git/distinfo                               |  4 +-
 coreclr-git/patches/patch-src_pal_inc_pal.h        | 12 ------
 .../patches/patch-src_pal_src_cruntime_printf.cpp  | 45 ----------------------
 3 files changed, 3 insertions(+), 58 deletions(-)

diffs:
diff --git a/coreclr-git/distinfo b/coreclr-git/distinfo
index 4835955..f3f51ae 100644
--- a/coreclr-git/distinfo
+++ b/coreclr-git/distinfo
@@ -3,4 +3,6 @@ $NetBSD$
 SHA1 (patch-src_debug_debug-pal_unix_twowaypipe.cpp) = 8a5b3353b1072ba96c1350f88cc2d4bcbd235b0f
 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
+SHA1 (patch-src_pal_src_cruntime_printf.cpp) = 8a86c57e1fe3953d158e1860f04bd19d7df1fe08
+SHA1 (patch-src_pal_src_cruntime_printfcpp.cpp) = 4d1ba5fea45402259c67428506f39d9c3128ecbd
+SHA1 (patch-src_pal_src_cruntime_silent__printf.cpp) = 0922321ad05a90cc3b87b1e2663ff4d0b2e4717e
diff --git a/coreclr-git/patches/patch-src_pal_inc_pal.h b/coreclr-git/patches/patch-src_pal_inc_pal.h
deleted file mode 100644
index 96477cf..0000000
--- a/coreclr-git/patches/patch-src_pal_inc_pal.h
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD$
-
---- src/pal/inc/pal.h.orig	2016-02-18 21:11:19.000000000 +0000
-+++ src/pal/inc/pal.h
-@@ -6050,6 +6050,7 @@ CoCreateGuid(OUT GUID * pguid);
- #define _close        PAL__close
- #define _wcstoui64    PAL__wcstoui64
- #define _flushall     PAL__flushall
-+#define _vsnprintf    PAL__vsnprintf
- 
- #ifdef _AMD64_ 
- #define _mm_getcsr    PAL__mm_getcsr
diff --git a/coreclr-git/patches/patch-src_pal_src_cruntime_printf.cpp b/coreclr-git/patches/patch-src_pal_src_cruntime_printf.cpp
deleted file mode 100644
index 16614d3..0000000
--- a/coreclr-git/patches/patch-src_pal_src_cruntime_printf.cpp
+++ /dev/null
@@ -1,45 +0,0 @@
-$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