* mingwex/fegetenv.c: Change to \n line endings.

* mingwex/vsnprintf.c: Ditto.
	* mingwex/vsnwprintf.c: Ditto.
This commit is contained in:
Earnie Boyd 2002-09-05 11:51:26 +00:00
parent 1730adee69
commit 31736d1768
4 changed files with 28 additions and 22 deletions

View File

@ -1,3 +1,9 @@
2002-09-05 Earnie Boyd <earnie@users.sf.net>
* mingwex/fegetenv.c: Change to \n line endings.
* mingwex/vsnprintf.c: Ditto.
* mingwex/vsnwprintf.c: Ditto.
2002-09-02 Danny Smith <dannysmith@users.sourceforge.net> 2002-09-02 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/hypotl.c: Replace with version based on cephes * mingwex/math/hypotl.c: Replace with version based on cephes

View File

@ -1,12 +1,12 @@
#include <fenv.h> #include <fenv.h>
/* 7.6.4.1 /* 7.6.4.1
The fegetenv function stores the current floating-point environment The fegetenv function stores the current floating-point environment
in the object pointed to by envp. */ in the object pointed to by envp. */
int fegetenv (fenv_t * envp) int fegetenv (fenv_t * envp)
{ {
__asm__ ("fnstenv %0;": "=m" (*envp)); __asm__ ("fnstenv %0;": "=m" (*envp));
return 0; return 0;
} }

View File

@ -1,5 +1,5 @@
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
int vsnprintf (char* s, size_t n, const char* format, va_list arg) int vsnprintf (char* s, size_t n, const char* format, va_list arg)
{ return _vsnprintf ( s, n, format, arg); } { return _vsnprintf ( s, n, format, arg); }

View File

@ -1,5 +1,5 @@
#include <stdarg.h> #include <stdarg.h>
#include <wchar.h> #include <wchar.h>
int vsnwprintf(wchar_t *buffer, size_t n, const wchar_t * format, va_list argptr) int vsnwprintf(wchar_t *buffer, size_t n, const wchar_t * format, va_list argptr)
{ return _vsnwprintf( buffer, n, format, argptr );} { return _vsnwprintf( buffer, n, format, argptr );}