Re: [Mingw-w64-public] [patch] Add qsort_s declaration.

2014-12-04 Thread Alexpux

 24 нояб. 2014 г., в 14:41, Alexpux alex...@gmail.com написал(а):
 
 
 24 нояб. 2014 г., в 14:28, Dongsheng Song dongsheng.s...@gmail.com 
 написал(а):
 
 On Mon, Nov 24, 2014 at 5:40 PM, Alexey Pavlov alex...@gmail.com wrote:
 
 Use qsort_s from msvcrt according to:
 http://msdn.microsoft.com/en-us/library/4xc60xas.aspx
 
 
 As MSDN said, both VS 2005, 2008,  2010, 2012 and 2013 have 'qsort_s',
 please do not only update msvcr80, but also msvcr90, msvcr100,
 msvcr110 and msvcr120.
 
 All other msvcr* def files already contain qsort_s.

Ping?
 
 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE
 http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
 ___
 Mingw-w64-public mailing list
 Mingw-w64-public@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
 


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] [patch] Add qsort_s declaration.

2014-12-04 Thread Martell Malone
I committed this without realising when I applied my d3d11 patch which got
approval.
Can someone review if it's not okay I will revert )

Apologies

On Thu, Dec 4, 2014 at 4:12 PM, Alexpux alex...@gmail.com wrote:


  24 нояб. 2014 г., в 14:41, Alexpux alex...@gmail.com написал(а):
 
 
  24 нояб. 2014 г., в 14:28, Dongsheng Song dongsheng.s...@gmail.com
 написал(а):
 
  On Mon, Nov 24, 2014 at 5:40 PM, Alexey Pavlov alex...@gmail.com
 wrote:
 
  Use qsort_s from msvcrt according to:
  http://msdn.microsoft.com/en-us/library/4xc60xas.aspx
 
 
  As MSDN said, both VS 2005, 2008,  2010, 2012 and 2013 have 'qsort_s',
  please do not only update msvcr80, but also msvcr90, msvcr100,
  msvcr110 and msvcr120.
 
  All other msvcr* def files already contain qsort_s.

 Ping?
 
 
 --
  Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
  from Actuate! Instantly Supercharge Your Business Reports and Dashboards
  with Interactivity, Sharing, Native Excel Exports, App Integration 
 more
  Get technology previously reserved for billion-dollar corporations, FREE
 
 http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
  ___
  Mingw-w64-public mailing list
  Mingw-w64-public@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
 



 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 Mingw-w64-public mailing list
 Mingw-w64-public@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] [patch] Add qsort_s declaration.

2014-12-04 Thread JonY
On 12/5/2014 02:32, Martell Malone wrote:
 I committed this without realising when I applied my d3d11 patch which got
 approval.
 Can someone review if it's not okay I will revert )
 
 Apologies
 

No problems, I moved the header declarations into sec_api.




0xD4EBC740.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


[Mingw-w64-public] [patch] Add qsort_s declaration.

2014-11-24 Thread Alexey Pavlov
Use qsort_s from msvcrt according to:
http://msdn.microsoft.com/en-us/library/4xc60xas.aspx
From 4eb3c7dffd4f27bcec3a0141de2a2b8448079cac Mon Sep 17 00:00:00 2001
From: Alexpux alexey.paw...@gmail.com
Date: Mon, 24 Nov 2014 12:38:17 +0300
Subject: [PATCH] Add qsort_s  declarations. Use msvcrt version.

---
 mingw-w64-crt/lib32/msvcr80.def.in | 1 +
 mingw-w64-crt/lib64/msvcr80.def.in | 1 +
 mingw-w64-headers/crt/search.h | 1 +
 mingw-w64-headers/crt/stdlib.h | 1 +
 4 files changed, 4 insertions(+)

diff --git a/mingw-w64-crt/lib32/msvcr80.def.in 
b/mingw-w64-crt/lib32/msvcr80.def.in
index 0d009e2..f3408b9 100644
--- a/mingw-w64-crt/lib32/msvcr80.def.in
+++ b/mingw-w64-crt/lib32/msvcr80.def.in
@@ -653,6 +653,7 @@ puts
 putwc
 putwchar
 qsort
+qsort_s
 raise
 rand
 rand_s
diff --git a/mingw-w64-crt/lib64/msvcr80.def.in 
b/mingw-w64-crt/lib64/msvcr80.def.in
index d20cb82..18b8d2d 100644
--- a/mingw-w64-crt/lib64/msvcr80.def.in
+++ b/mingw-w64-crt/lib64/msvcr80.def.in
@@ -780,6 +780,7 @@ puts
 putwc
 putwchar
 qsort
+qsort_s
 raise
 rand
 rand_s
diff --git a/mingw-w64-headers/crt/search.h b/mingw-w64-headers/crt/search.h
index 144b0f4..dd5f83e 100644
--- a/mingw-w64-headers/crt/search.h
+++ b/mingw-w64-headers/crt/search.h
@@ -17,6 +17,7 @@ extern C {
 #define _CRT_ALGO_DEFINED
   void *__cdecl bsearch(const void *_Key,const void *_Base,size_t 
_NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(const void 
*,const void *));
   void __cdecl qsort(void *_Base,size_t _NumOfElements,size_t 
_SizeOfElements,int (__cdecl *_PtFuncCompare)(const void *,const void *));
+  void __cdecl qsort_s(void *_Base,size_t _NumOfElements,size_t 
_SizeOfElements,int (__cdecl *_PtFuncCompare)(void *,const void *,const void 
*),void *_Context);
 #endif
   _CRTIMP void *__cdecl _lfind(const void *_Key,const void *_Base,unsigned int 
*_NumOfElements,unsigned int _SizeOfElements,int (__cdecl 
*_PtFuncCompare)(const void *,const void *));
   _CRTIMP void *__cdecl _lsearch(const void *_Key,void *_Base,unsigned int 
*_NumOfElements,unsigned int _SizeOfElements,int (__cdecl 
*_PtFuncCompare)(const void *,const void *));
diff --git a/mingw-w64-headers/crt/stdlib.h b/mingw-w64-headers/crt/stdlib.h
index 7743452..8118304 100644
--- a/mingw-w64-headers/crt/stdlib.h
+++ b/mingw-w64-headers/crt/stdlib.h
@@ -351,6 +351,7 @@ extern C {
 #define _CRT_ALGO_DEFINED
   void *__cdecl bsearch(const void *_Key,const void *_Base,size_t 
_NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(const void 
*,const void *));
   void __cdecl qsort(void *_Base,size_t _NumOfElements,size_t 
_SizeOfElements,int (__cdecl *_PtFuncCompare)(const void *,const void *));
+  void __cdecl qsort_s(void *_Base,size_t _NumOfElements,size_t 
_SizeOfElements,int (__cdecl *_PtFuncCompare)(void *,const void *,const void 
*),void *_Context);
 #endif
   unsigned short __cdecl _byteswap_ushort(unsigned short _Short);
   unsigned long __cdecl _byteswap_ulong (unsigned long _Long);
-- 
2.1.3

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] [patch] Add qsort_s declaration.

2014-11-24 Thread Dongsheng Song
On Mon, Nov 24, 2014 at 5:40 PM, Alexey Pavlov alex...@gmail.com wrote:

 Use qsort_s from msvcrt according to:
 http://msdn.microsoft.com/en-us/library/4xc60xas.aspx


As MSDN said, both VS 2005, 2008,  2010, 2012 and 2013 have 'qsort_s',
 please do not only update msvcr80, but also msvcr90, msvcr100,
msvcr110 and msvcr120.

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] [patch] Add qsort_s declaration.

2014-11-24 Thread Alexpux

 24 нояб. 2014 г., в 14:28, Dongsheng Song dongsheng.s...@gmail.com 
 написал(а):
 
 On Mon, Nov 24, 2014 at 5:40 PM, Alexey Pavlov alex...@gmail.com wrote:
 
 Use qsort_s from msvcrt according to:
 http://msdn.microsoft.com/en-us/library/4xc60xas.aspx
 
 
 As MSDN said, both VS 2005, 2008,  2010, 2012 and 2013 have 'qsort_s',
 please do not only update msvcr80, but also msvcr90, msvcr100,
 msvcr110 and msvcr120.

All other msvcr* def files already contain qsort_s.
 
 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE
 http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
 ___
 Mingw-w64-public mailing list
 Mingw-w64-public@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public