Re: msvcrt: add support for _chsize_s (try #2)

2013-10-07 Thread Piotr Caban
Hi, On 10/06/13 00:45, morphiend wrote: + * _chsize_s (MSVCRT.@) + */ +int CDECL MSVCRT__chsize_s(int fd, __int64 size) +{ +LARGE_INTEGER cur, pos; +LARGE_INTEGER temp = { 0 }; This causes compilation warnings. There's also a trailing space in this line. +

Re: msvcrt: add support for _chsize_s (try #2)

2013-10-06 Thread Frédéric Delanoy
On Sun, Oct 6, 2013 at 12:45 AM, morphiend morphi...@gmail.com wrote: This patch adds the _chsize_s() to the mscvrt and corresponding mscvr*s. This was tested on Ubuntu 12.10 using IDA 6.4 as a test application. Without the implementation of _chsize_s(), certain binaries caused an internal

Re: msvcrt: add support for _chsize_s (try #2)

2013-10-06 Thread Henri Verbeet
On 6 October 2013 20:32, Frédéric Delanoy frederic.dela...@gmail.com wrote: On Sun, Oct 6, 2013 at 12:45 AM, morphiend morphi...@gmail.com wrote: This patch adds the _chsize_s() to the mscvrt and corresponding mscvr*s. This was tested on Ubuntu 12.10 using IDA 6.4 as a test application. Without

Re: msvcrt: add support for _chsize_s

2013-08-14 Thread Ken Sharp
On 14/08/13 20:08, morphiend wrote: -@ stub _chsize_s +@ cdecl _chsize_s(long int64) msvcrt._chsize +#@ stub _chsize_s Oops..