This list is closed, nobody may subscribe to it.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(12) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(13) |
Feb
(2) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(38) |
Jul
(10) |
Aug
(70) |
Sep
(63) |
Oct
(61) |
Nov
(41) |
Dec
(28) |
| 2002 |
Jan
(43) |
Feb
(11) |
Mar
(9) |
Apr
(2) |
May
(97) |
Jun
(94) |
Jul
(13) |
Aug
(49) |
Sep
(41) |
Oct
(24) |
Nov
(55) |
Dec
(126) |
| 2003 |
Jan
(90) |
Feb
(75) |
Mar
(32) |
Apr
(24) |
May
(54) |
Jun
(54) |
Jul
(22) |
Aug
(4) |
Sep
(16) |
Oct
(8) |
Nov
(6) |
Dec
(13) |
| 2004 |
Jan
|
Feb
(17) |
Mar
(60) |
Apr
(21) |
May
(12) |
Jun
|
Jul
(13) |
Aug
|
Sep
(29) |
Oct
|
Nov
|
Dec
(2) |
| 2005 |
Jan
(22) |
Feb
(3) |
Mar
(2) |
Apr
(13) |
May
(82) |
Jun
(18) |
Jul
(30) |
Aug
(17) |
Sep
(3) |
Oct
(19) |
Nov
(4) |
Dec
(8) |
| 2006 |
Jan
(1) |
Feb
(6) |
Mar
(2) |
Apr
(40) |
May
|
Jun
(21) |
Jul
(1) |
Aug
(410) |
Sep
(3) |
Oct
|
Nov
(56) |
Dec
(7) |
| 2007 |
Jan
(19) |
Feb
|
Mar
(4) |
Apr
(8) |
May
(19) |
Jun
(6) |
Jul
(4) |
Aug
(6) |
Sep
|
Oct
(4) |
Nov
(3) |
Dec
(2) |
| 2008 |
Jan
(13) |
Feb
(18) |
Mar
(12) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
(6) |
Mar
(8) |
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
(2) |
Sep
(11) |
Oct
(13) |
Nov
(17) |
Dec
(6) |
| 2010 |
Jan
(24) |
Feb
(10) |
Mar
(27) |
Apr
(20) |
May
(108) |
Jun
(8) |
Jul
(23) |
Aug
(38) |
Sep
(49) |
Oct
(17) |
Nov
(12) |
Dec
(14) |
| 2011 |
Jan
(17) |
Feb
(7) |
Mar
(28) |
Apr
(8) |
May
(20) |
Jun
(11) |
Jul
(7) |
Aug
(12) |
Sep
(4) |
Oct
(20) |
Nov
(19) |
Dec
(2) |
| 2012 |
Jan
(2) |
Feb
(6) |
Mar
(5) |
Apr
(24) |
May
(5) |
Jun
(4) |
Jul
(6) |
Aug
(18) |
Sep
(38) |
Oct
(26) |
Nov
(12) |
Dec
(6) |
| 2013 |
Jan
(19) |
Feb
(18) |
Mar
(44) |
Apr
(35) |
May
(18) |
Jun
(21) |
Jul
(10) |
Aug
(19) |
Sep
(44) |
Oct
(25) |
Nov
(1) |
Dec
(2) |
| 2014 |
Jan
(8) |
Feb
|
Mar
|
Apr
(5) |
May
(1) |
Jun
(3) |
Jul
|
Aug
(3) |
Sep
|
Oct
(4) |
Nov
(4) |
Dec
(7) |
| 2015 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(2) |
Jun
(4) |
Jul
(6) |
Aug
(2) |
Sep
(8) |
Oct
(2) |
Nov
(1) |
Dec
(3) |
| 2016 |
Jan
(7) |
Feb
(9) |
Mar
(5) |
Apr
(5) |
May
(9) |
Jun
(4) |
Jul
(20) |
Aug
(4) |
Sep
(7) |
Oct
(6) |
Nov
(9) |
Dec
(2) |
| 2017 |
Jan
(7) |
Feb
(7) |
Mar
(5) |
Apr
|
May
(1) |
Jun
(4) |
Jul
(12) |
Aug
(4) |
Sep
(1) |
Oct
(4) |
Nov
(11) |
Dec
(14) |
| 2018 |
Jan
(3) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
1
|
2
|
3
|
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
|
11
|
12
|
13
(13) |
14
|
15
|
16
|
17
|
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
|
From: Earnie B. <ea...@us...> - 2004-07-13 13:03:17
|
Update of /cvsroot/mingw/runtime In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv934 Modified Files: ChangeLog Makefile.in Log Message: Merge winsup changes Index: Makefile.in =================================================================== RCS file: /cvsroot/mingw/runtime/Makefile.in,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** Makefile.in 13 Jul 2004 11:05:15 -0000 1.30 --- Makefile.in 13 Jul 2004 13:03:07 -0000 1.31 *************** *** 101,108 **** INCLUDES+= -I$(srcdir)/include \ -I$(srcdir)/../include \ ! -nostdinc -nostdinc++ \ -iwithprefixbefore include ALL_CFLAGS = $(CFLAGS) $(W32API_INCLUDE) $(INCLUDES) $(MNO_CYGWIN) ! ALL_CXXFLAGS = $(CXXFLAGS) $(W32API_INCLUDE) $(INCLUDES) $(MNO_CYGWIN) AS = @AS@ --- 101,108 ---- INCLUDES+= -I$(srcdir)/include \ -I$(srcdir)/../include \ ! -nostdinc \ -iwithprefixbefore include ALL_CFLAGS = $(CFLAGS) $(W32API_INCLUDE) $(INCLUDES) $(MNO_CYGWIN) ! ALL_CXXFLAGS = $(CXXFLAGS) $(W32API_INCLUDE) $(INCLUDES) -nostdinc++ $(MNO_CYGWIN) AS = @AS@ Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/runtime/ChangeLog,v retrieving revision 1.64 retrieving revision 1.65 diff -C2 -d -r1.64 -r1.65 *** ChangeLog 13 Jul 2004 11:12:04 -0000 1.64 --- ChangeLog 13 Jul 2004 13:03:07 -0000 1.65 *************** *** 1,4 **** --- 1,8 ---- 2004-07-13 Earnie Boyd <ea...@us...> + * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it + for C modules. + * mingwex/Makefile.in: Ditto. + * profile/Makefile.in: Ditto. * include/limits.h: Change to new file header preamble. * include/_mingw.h: Increment minor version for 3.4 release. |
|
From: Earnie B. <ea...@us...> - 2004-07-13 13:03:17
|
Update of /cvsroot/mingw/runtime/profile In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv934/profile Modified Files: Makefile.in Log Message: Merge winsup changes Index: Makefile.in =================================================================== RCS file: /cvsroot/mingw/runtime/profile/Makefile.in,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Makefile.in 6 May 2003 13:29:09 -0000 1.6 --- Makefile.in 13 Jul 2004 13:03:08 -0000 1.7 *************** *** 50,57 **** W32API_INCLUDE = @W32API_INCLUDE@ INCLUDES = -I$(srcdir) -I$(srcdir)/../include \ ! -nostdinc -nostdinc++ \ -iwithprefixbefore include ALL_CFLAGS = $(CFLAGS) $(W32API_INCLUDE) $(INCLUDES) $(MNO_CYGWIN) ! ALL_CXXFLAGS = $(CXXFLAGS) $(W32API_INCLUDE) $(INCLUDES) $(MNO_CYGWIN) AS = @AS@ --- 50,57 ---- W32API_INCLUDE = @W32API_INCLUDE@ INCLUDES = -I$(srcdir) -I$(srcdir)/../include \ ! -nostdinc \ -iwithprefixbefore include ALL_CFLAGS = $(CFLAGS) $(W32API_INCLUDE) $(INCLUDES) $(MNO_CYGWIN) ! ALL_CXXFLAGS = $(CXXFLAGS) $(W32API_INCLUDE) $(INCLUDES) -nostdinc++ $(MNO_CYGWIN) AS = @AS@ |
|
From: Earnie B. <ea...@us...> - 2004-07-13 13:03:17
|
Update of /cvsroot/mingw/runtime/mingwex In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv934/mingwex Modified Files: Makefile.in Log Message: Merge winsup changes Index: Makefile.in =================================================================== RCS file: /cvsroot/mingw/runtime/mingwex/Makefile.in,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Makefile.in 13 Jul 2004 10:57:39 -0000 1.10 --- Makefile.in 13 Jul 2004 13:03:08 -0000 1.11 *************** *** 85,92 **** W32API_INCLUDE = @W32API_INCLUDE@ INCLUDES = -I$(srcdir) -I$(srcdir)/../include \ ! -nostdinc -nostdinc++ \ -iwithprefixbefore include ALL_CFLAGS = $(CFLAGS) $(OPTFLAGS) $(W32API_INCLUDE) $(INCLUDES) $(MNO_CYGWIN) ! ALL_CXXFLAGS = $(CXXFLAGS) $(OPTFLAGS) $(W32API_INCLUDE) $(INCLUDES) $(MNO_CYGWIN) AS = @AS@ --- 85,92 ---- W32API_INCLUDE = @W32API_INCLUDE@ INCLUDES = -I$(srcdir) -I$(srcdir)/../include \ ! -nostdinc \ -iwithprefixbefore include ALL_CFLAGS = $(CFLAGS) $(OPTFLAGS) $(W32API_INCLUDE) $(INCLUDES) $(MNO_CYGWIN) ! ALL_CXXFLAGS = $(CXXFLAGS) $(OPTFLAGS) $(W32API_INCLUDE) $(INCLUDES) -nostdinc++ $(MNO_CYGWIN) AS = @AS@ |
|
From: Earnie B. <ea...@us...> - 2004-07-13 11:12:13
|
Update of /cvsroot/mingw/runtime/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15857/include Modified Files: limits.h Log Message: Import winsup changes Index: limits.h =================================================================== RCS file: /cvsroot/mingw/runtime/include/limits.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** limits.h 13 Jul 2004 11:05:15 -0000 1.5 --- limits.h 13 Jul 2004 11:12:04 -0000 1.6 *************** *** 1,4 **** --- 1,10 ---- /* * limits.h + * This file has no copyright assigned and is placed in the Public Domain. + * This file is a part of the mingw-runtime package. + * No warranty is given; refer to the file DISCLAIMER within the package. + * + * Functions for manipulating paths and directories (included from io.h) + * plus functions for setting the current drive. * * Defines constants for the sizes of integral types. *************** *** 7,29 **** * use that version instead of this one (maybe safer). * - * This file is part of the Mingw32 package. - * - * Contributors: - * Created by Colin Peters <co...@bi...> - * - * THIS SOFTWARE IS NOT COPYRIGHTED - * - * This source code is offered for use in the public domain. You may - * use, modify or distribute it freely. - * - * This code is distributed in the hope that it will be useful but - * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY - * DISCLAIMED. This includes but is not limited to warranties of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * - * $Revision$ - * $Author$ - * $Date$ - * */ --- 13,16 ---- |
|
From: Earnie B. <ea...@us...> - 2004-07-13 11:12:13
|
Update of /cvsroot/mingw/runtime In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15857 Modified Files: ChangeLog Log Message: Import winsup changes Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/runtime/ChangeLog,v retrieving revision 1.63 retrieving revision 1.64 diff -C2 -d -r1.63 -r1.64 *** ChangeLog 13 Jul 2004 11:05:15 -0000 1.63 --- ChangeLog 13 Jul 2004 11:12:04 -0000 1.64 *************** *** 1,4 **** --- 1,5 ---- 2004-07-13 Earnie Boyd <ea...@us...> + * include/limits.h: Change to new file header preamble. * include/_mingw.h: Increment minor version for 3.4 release. * Makefile.in: Ditto. |
|
From: Earnie B. <ea...@us...> - 2004-07-13 11:05:24
|
Update of /cvsroot/mingw/runtime In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14855 Modified Files: ChangeLog Makefile.in Log Message: Import winsup changes Index: Makefile.in =================================================================== RCS file: /cvsroot/mingw/runtime/Makefile.in,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** Makefile.in 22 Apr 2004 16:36:51 -0000 1.29 --- Makefile.in 13 Jul 2004 11:05:15 -0000 1.30 *************** *** 19,23 **** PACKAGE = mingw-runtime ! VERSION = 3.3 CYGRELEASE = 1 --- 19,23 ---- PACKAGE = mingw-runtime ! VERSION = 3.4 CYGRELEASE = 1 Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/runtime/ChangeLog,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -d -r1.62 -r1.63 *** ChangeLog 13 Jul 2004 10:57:38 -0000 1.62 --- ChangeLog 13 Jul 2004 11:05:15 -0000 1.63 *************** *** 1,2 **** --- 1,7 ---- + 2004-07-13 Earnie Boyd <ea...@us...> + + * include/_mingw.h: Increment minor version for 3.4 release. + * Makefile.in: Ditto. + 2004-07-12 Danny Smith <dan...@us...> |
|
From: Earnie B. <ea...@us...> - 2004-07-13 11:05:24
|
Update of /cvsroot/mingw/runtime/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14855/include Modified Files: _mingw.h limits.h Log Message: Import winsup changes Index: _mingw.h =================================================================== RCS file: /cvsroot/mingw/runtime/include/_mingw.h,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** _mingw.h 19 Apr 2004 17:22:40 -0000 1.19 --- _mingw.h 13 Jul 2004 11:05:15 -0000 1.20 *************** *** 123,129 **** #endif ! #define __MINGW32_VERSION 3.3 #define __MINGW32_MAJOR_VERSION 3 ! #define __MINGW32_MINOR_VERSION 3 #endif /* __MINGW_H */ --- 123,129 ---- #endif ! #define __MINGW32_VERSION 3.4 #define __MINGW32_MAJOR_VERSION 3 ! #define __MINGW32_MINOR_VERSION 4 #endif /* __MINGW_H */ |
|
From: Earnie B. <ea...@us...> - 2004-07-13 10:59:21
|
Update of /cvsroot/mingw/runtime/mingwex In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13809 Added Files: fopen64.c fseeko64.c ftello64.c ftruncate.c lseek64.c Log Message: Import winsup changes --- NEW FILE: fseeko64.c --- #include <stdio.h> #include <io.h> #include <errno.h> int __cdecl fseeko64 (FILE* stream, off64_t offset, int whence) { fpos_t pos; if (whence == SEEK_CUR) { /* If stream is invalid, fgetpos sets errno. */ if (fgetpos (stream, &pos)) return (-1); pos += (fpos_t) offset; } else if (whence == SEEK_END) pos = (fpos_t) (_filelengthi64 (_fileno (stream)) + offset); else if (whence == SEEK_SET) pos = (fpos_t) offset; else { errno = EINVAL; return (-1); } return fsetpos (stream, &pos); } --- NEW FILE: fopen64.c --- #include <stdio.h> FILE* __cdecl fopen64 (const char* filename, const char* mode) { return fopen (filename, mode); } --- NEW FILE: lseek64.c --- #include <io.h> off64_t lseek64 (int fd, off64_t offset, int whence) { return _lseeki64(fd, (__int64) offset, whence); } --- NEW FILE: ftruncate.c --- #include <unistd.h> int ftruncate(int __fd, off_t __length) { return _chsize (__fd, __length); } --- NEW FILE: ftello64.c --- #include <stdio.h> off64_t __cdecl ftello64 (FILE * stream) { fpos_t pos; if (fgetpos(stream, &pos)) return -1LL; else return ((off64_t) pos); } |
|
From: Earnie B. <ea...@us...> - 2004-07-13 10:57:48
|
Update of /cvsroot/mingw/runtime/mingwex In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13590/mingwex Modified Files: Makefile.in mingw-fseek.c Log Message: Import winsup changes Index: Makefile.in =================================================================== RCS file: /cvsroot/mingw/runtime/mingwex/Makefile.in,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Makefile.in 20 Apr 2004 23:26:32 -0000 1.9 --- Makefile.in 13 Jul 2004 10:57:39 -0000 1.10 *************** *** 30,35 **** fegetexceptflag.c fegetround.c feholdexcept.c feraiseexcept.c \ fesetenv.c fesetexceptflag.c fesetround.c fetestexcept.c \ ! feupdateenv.c fwide.c getopt.c imaxabs.c imaxdiv.c ldtoa.c \ ! lltoa.c lltow.c mbsinit.c mingw-fseek.c sitest.c strtof.c \ strtoimax.c strtold.c strtoumax.c testwmem.c ulltoa.c ulltow.c \ wcstof.c wcstoimax.c wcstold.c wcstoumax.c wdirent.c wmemchr.c \ --- 30,35 ---- fegetexceptflag.c fegetround.c feholdexcept.c feraiseexcept.c \ fesetenv.c fesetexceptflag.c fesetround.c fetestexcept.c \ ! feupdateenv.c ftruncate.c fwide.c getopt.c imaxabs.c imaxdiv.c \ ! ldtoa.c lltoa.c lltow.c mbsinit.c mingw-fseek.c sitest.c strtof.c \ strtoimax.c strtold.c strtoumax.c testwmem.c ulltoa.c ulltow.c \ wcstof.c wcstoimax.c wcstold.c wcstoumax.c wdirent.c wmemchr.c \ *************** *** 54,58 **** lrintl.c lround.c lroundf.c lroundl.c modff.c modfl.c \ nearbyint.S nearbyintf.S nearbyintl.S nextafterf.c \ ! pow.c powf.c powi.c powif.c powil.c powl.c \ remainder.S remainderf.S remainderl.S remquo.S \ remquof.S remquol.S rint.c rintf.c rintl.c round.c roundf.c \ --- 54,58 ---- lrintl.c lround.c lroundf.c lroundl.c modff.c modfl.c \ nearbyint.S nearbyintf.S nearbyintl.S nextafterf.c \ ! powf.c powi.c powif.c powil.c powl.c \ remainder.S remainderf.S remainderl.S remquo.S \ remquof.S remquol.S rint.c rintf.c rintl.c round.c roundf.c \ *************** *** 63,66 **** --- 63,67 ---- STDIO_DISTFILES = \ + fopen64.c fseeko64.c ftello64.c lseek64.c \ snprintf.c snwprintf.c vsnprintf.c vsnwprintf.c \ vfscanf.c vfwscanf.c vscanf.c vsscanf.c vswscanf.c vwscanf.c *************** *** 114,117 **** --- 115,119 ---- _Exit.o STDIO_OBJS = \ + fopen64.o fseeko64.o ftello64.o lseek64.o \ snprintf.o vsnprintf.o snwprintf.o vsnwprintf.o \ vfscanf.o vfwscanf.o vscanf.o vsscanf.o vswscanf.o vwscanf.o *************** *** 134,138 **** lrintl.o lround.o lroundf.o lroundl.o modff.o modfl.o \ nearbyint.o nearbyintf.o nearbyintl.o nextafterf.o \ ! pow.o powf.o powi.o powif.o powil.o powl.o \ remainder.o remainderf.o remainderl.o remquo.o \ remquof.o remquol.o rint.o rintf.o rintl.o round.o roundf.o \ --- 136,140 ---- lrintl.o lround.o lroundf.o lroundl.o modff.o modfl.o \ nearbyint.o nearbyintf.o nearbyintl.o nextafterf.o \ ! powf.o powi.o powif.o powil.o powl.o \ remainder.o remainderf.o remainderl.o remquo.o \ remquof.o remquol.o rint.o rintf.o rintl.o round.o roundf.o \ *************** *** 146,150 **** feraiseexcept.o fetestexcept.o fesetexceptflag.o POSIX_OBJS = \ ! dirent.o wdirent.o getopt.o REPLACE_OBJS = \ mingw-fseek.o --- 148,152 ---- feraiseexcept.o fetestexcept.o fesetexceptflag.o POSIX_OBJS = \ ! dirent.o wdirent.o getopt.o ftruncate.o REPLACE_OBJS = \ mingw-fseek.o Index: mingw-fseek.c =================================================================== RCS file: /cvsroot/mingw/runtime/mingwex/mingw-fseek.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mingw-fseek.c 5 Feb 2003 23:04:52 -0000 1.2 --- mingw-fseek.c 13 Jul 2004 10:57:39 -0000 1.3 *************** *** 31,34 **** --- 31,42 ---- int + __mingw_fseeko64 (FILE *fp, off64_t offset, int whence) + { + # undef fseeko64 + __mingw_fseek_called = 1; + return fseeko64 (fp, offset, whence); + } + + int __mingw_fwrite (const void *buffer, size_t size, size_t count, FILE *fp) { *************** *** 36,63 **** if ((_osver & 0x8000) && __mingw_fseek_called) { ! DWORD actual_length, current_position; __mingw_fseek_called = 0; fflush (fp); ! actual_length = GetFileSize ((HANDLE) _get_osfhandle (fileno (fp)), ! NULL); ! current_position = SetFilePointer ((HANDLE) _get_osfhandle (fileno (fp)), ! 0, 0, FILE_CURRENT); #ifdef DEBUG ! printf ("__mingw_fwrite: current %ld, actual %ld\n", ! current_position, actual_length); #endif /* DEBUG */ ! if (current_position > actual_length) { static char __mingw_zeros[ZEROBLOCKSIZE]; ! long numleft; SetFilePointer ((HANDLE) _get_osfhandle (fileno (fp)), 0, 0, FILE_END); ! numleft = current_position - actual_length; #ifdef DEBUG ! printf ("__mingw_fwrite: Seeking %ld bytes past end\n", numleft); #endif /* DEBUG */ ! while (numleft > 0) { DWORD nzeros = (numleft > ZEROBLOCKSIZE) --- 44,81 ---- if ((_osver & 0x8000) && __mingw_fseek_called) { ! ULARGE_INTEGER actual_length; ! LARGE_INTEGER current_position = {{0LL}}; __mingw_fseek_called = 0; fflush (fp); ! actual_length.LowPart = GetFileSize ((HANDLE) _get_osfhandle (fileno (fp)), ! &actual_length.HighPart); ! if (actual_length.LowPart == 0xFFFFFFFF ! && GetLastError() != NO_ERROR ) ! return -1; ! current_position.LowPart = SetFilePointer ((HANDLE) _get_osfhandle (fileno (fp)), ! current_position.LowPart, ! ¤t_position.HighPart, ! FILE_CURRENT); ! if (current_position.LowPart == 0xFFFFFFFF ! && GetLastError() != NO_ERROR ) ! return -1; ! #ifdef DEBUG ! printf ("__mingw_fwrite: current %I64u, actual %I64u\n", ! current_position.QuadPart, actual_length.QuadPart); #endif /* DEBUG */ ! if (current_position.QuadPart > actual_length.QuadPart) { static char __mingw_zeros[ZEROBLOCKSIZE]; ! long long numleft; SetFilePointer ((HANDLE) _get_osfhandle (fileno (fp)), 0, 0, FILE_END); ! numleft = current_position.QuadPart - actual_length.QuadPart; #ifdef DEBUG ! printf ("__mingw_fwrite: Seeking %I64d bytes past end\n", numleft); #endif /* DEBUG */ ! while (numleft > 0LL) { DWORD nzeros = (numleft > ZEROBLOCKSIZE) |
|
From: Earnie B. <ea...@us...> - 2004-07-13 10:57:48
|
Update of /cvsroot/mingw/runtime/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13590/include Modified Files: io.h limits.h math.h stdio.h time.h unistd.h Log Message: Import winsup changes Index: time.h =================================================================== RCS file: /cvsroot/mingw/runtime/include/time.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** time.h 20 Apr 2004 23:26:29 -0000 1.9 --- time.h 13 Jul 2004 10:57:38 -0000 1.10 *************** *** 23,31 **** /* - * Need a definition of time_t. - */ - #include <sys/types.h> - - /* * Number of clock ticks per second. A clock tick is the unit by which * processor time is measured and is returned by 'clock'. --- 23,26 ---- *************** *** 40,44 **** * A type for storing the current time and date. This is the number of * seconds since midnight Jan 1, 1970. ! * NOTE: Normally this is defined by the above include of sys/types.h */ #ifndef _TIME_T_DEFINED --- 35,39 ---- * A type for storing the current time and date. This is the number of * seconds since midnight Jan 1, 1970. ! * NOTE: This is also defined in non-ISO sys/types.h. */ #ifndef _TIME_T_DEFINED Index: stdio.h =================================================================== RCS file: /cvsroot/mingw/runtime/include/stdio.h,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** stdio.h 20 Apr 2004 23:26:28 -0000 1.17 --- stdio.h 13 Jul 2004 10:57:38 -0000 1.18 *************** *** 393,396 **** --- 393,420 ---- #endif + #if defined (__MSVCRT__) && !defined (__NO_MINGW_LFS) + #include <sys/types.h> + __CRT_INLINE FILE* __cdecl fopen64 (const char* filename, const char* mode) + { + return fopen (filename, mode); + } + + int __cdecl fseeko64 (FILE*, off64_t, int); + + #ifdef __USE_MINGW_FSEEK + int __cdecl __mingw_fseeko64 (FILE *, off64_t, int); + #define fseeko64(fp, offset, whence) __mingw_fseeko64(fp, offset, whence) + #endif + + __CRT_INLINE off64_t __cdecl ftello64 (FILE * stream) + { + fpos_t pos; + if (fgetpos(stream, &pos)) + return -1LL; + else + return ((off64_t) pos); + } + #endif /* __NO_MINGW_LFS */ + #endif /* Not __STRICT_ANSI__ */ Index: io.h =================================================================== RCS file: /cvsroot/mingw/runtime/include/io.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** io.h 20 Apr 2004 23:26:26 -0000 1.10 --- io.h 13 Jul 2004 10:57:38 -0000 1.11 *************** *** 145,148 **** --- 145,156 ---- _CRTIMP intptr_t __cdecl _findnext64(intptr_t, struct __finddata64_t*); #endif /* __MSVCRT_VERSION__ >= 0x0601 */ + + #ifndef __NO_MINGW_LFS + __CRT_INLINE off64_t lseek64 (int fd, off64_t offset, int whence) + { + return _lseeki64(fd, (__int64) offset, whence); + } + #endif + #endif /* __MSVCRT__ */ Index: unistd.h =================================================================== RCS file: /cvsroot/mingw/runtime/include/unistd.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** unistd.h 19 Apr 2004 17:22:41 -0000 1.4 --- unistd.h 13 Jul 2004 10:57:38 -0000 1.5 *************** *** 15,17 **** --- 15,33 ---- #undef __UNISTD_GETOPT__ + #ifdef __cplusplus + extern "C" { + #endif + + /* This is defined as a real library function to allow autoconf + to verify its existence. */ + int ftruncate(int, off_t); + __CRT_INLINE int ftruncate(int __fd, off_t __length) + { + return _chsize (__fd, __length); + } + + #ifdef __cplusplus + } + #endif + #endif /* _UNISTD_H */ Index: limits.h =================================================================== RCS file: /cvsroot/mingw/runtime/include/limits.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** limits.h 29 Nov 2001 04:26:33 -0000 1.3 --- limits.h 13 Jul 2004 10:57:38 -0000 1.4 *************** *** 110,113 **** --- 110,118 ---- #define ULLONG_MAX ULONG_LONG_MAX + /* MSVC compatibility */ + #define _I64_MIN LONG_LONG_MIN + #define _I64_MAX LONG_LONG_MAX + #define _UI64_MAX ULONG_LONG_MAX + #endif /* Not Strict ANSI and GNU C compiler */ Index: math.h =================================================================== RCS file: /cvsroot/mingw/runtime/include/math.h,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** math.h 20 Apr 2004 23:26:26 -0000 1.18 --- math.h 13 Jul 2004 10:57:38 -0000 1.19 *************** *** 130,134 **** }; - _CRTIMP double __cdecl sin (double); _CRTIMP double __cdecl cos (double); --- 130,133 ---- *************** *** 144,151 **** _CRTIMP double __cdecl log (double); _CRTIMP double __cdecl log10 (double); ! #ifdef __NO_ISOCEXT ! _CRTIMP ! #endif ! double __cdecl pow (double, double); _CRTIMP double __cdecl sqrt (double); _CRTIMP double __cdecl ceil (double); --- 143,147 ---- _CRTIMP double __cdecl log (double); _CRTIMP double __cdecl log10 (double); ! _CRTIMP double __cdecl pow (double, double); _CRTIMP double __cdecl sqrt (double); _CRTIMP double __cdecl ceil (double); *************** *** 157,160 **** --- 153,194 ---- _CRTIMP double __cdecl fmod (double, double); + /* Excess precision when using a 64-bit mantissa for FPU math ops can + cause unexpected results with some of the MSVCRT math functions. For + example, unless the function return value is stored (truncating to + 53-bit mantissa), calls to pow with both x and y as integral values + sometimes produce a non-integral result. + One workaround is to reset the FPU env to 53-bit mantissa + by a call to fesetenv (FE_PC53_ENV). Amother is to force storage + of the return value of individual math functions using wrappers. + NB, using these wrappers will disable builtin math functions and + hence disable the folding of function results at compile time when + arguments are constant. */ + + #if 0 + #define __DEFINE_FLOAT_STORE_MATHFN_D1(fn1) \ + static __inline__ double \ + __float_store_ ## fn1 (double x) \ + { \ + __volatile__ double res = (fn1) (x); \ + return res; \ + } + + #define __DEFINE_FLOAT_STORE_MATHFN_D2(fn2) \ + static __inline__ double \ + __float_store_ ## fn2 (double x, double y) \ + { \ + __volatile__ double res = (fn2) (x, y); \ + return res; \ + } + #endif + + /* For example, here is how to force the result of the pow function + to be stored: */ + #if 0 + #undef pow + /* Define the ___float_store_pow function and use it instead of pow(). */ + __DEFINE_FLOAT_STORE_MATHFN_D2 (pow) + #define pow __float_store_pow + #endif #ifndef __STRICT_ANSI__ |
|
From: Earnie B. <ea...@us...> - 2004-07-13 10:57:48
|
Update of /cvsroot/mingw/runtime/mingwex/math In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13590/mingwex/math Modified Files: cephes_emath.h Log Message: Import winsup changes Index: cephes_emath.h =================================================================== RCS file: /cvsroot/mingw/runtime/mingwex/math/cephes_emath.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** cephes_emath.h 19 Apr 2004 17:22:42 -0000 1.3 --- cephes_emath.h 13 Jul 2004 10:57:39 -0000 1.4 *************** *** 301,306 **** #define MAXP 4096 - extern const unsigned short __etens[NTEN + 1][NE]; - /* ; Clear out entire external format number. --- 301,304 ---- |
|
From: Earnie B. <ea...@us...> - 2004-07-13 10:57:47
|
Update of /cvsroot/mingw/runtime/include/sys In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13590/include/sys Modified Files: types.h Log Message: Import winsup changes Index: types.h =================================================================== RCS file: /cvsroot/mingw/runtime/include/sys/types.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** types.h 20 Apr 2004 23:26:32 -0000 1.8 --- types.h 13 Jul 2004 10:57:39 -0000 1.9 *************** *** 106,109 **** --- 106,118 ---- #endif /* Not _SSIZE_T_ */ + #ifndef _FPOS64_T_ + #define _FPOS64_T_ + typedef long long fpos64_t; + #endif + + #ifndef _OFF64_T_ + #define _OFF64_T_ + typedef long long off64_t; + #endif #endif /* Not RC_INVOKED */ |
|
From: Earnie B. <ea...@us...> - 2004-07-13 10:57:46
|
Update of /cvsroot/mingw/runtime In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13590 Modified Files: ChangeLog Log Message: Import winsup changes Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/runtime/ChangeLog,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -d -r1.61 -r1.62 *** ChangeLog 22 Apr 2004 16:36:51 -0000 1.61 --- ChangeLog 13 Jul 2004 10:57:38 -0000 1.62 *************** *** 1,2 **** --- 1,50 ---- + 2004-07-12 Danny Smith <dan...@us...> + + * mingwex/math/cephes_emath.h (__etens): Remove declaration. + + 2004-07-11 Danny Smith <dan...@us...> + + * include/unistd.h (ftruncate): Add inline definition. + * mingwex/ftruncate.c: New file. + * mingwex/Makefile.in: Add ftruncate.o to libmingwex.a. + + 2004-07-10 Danny Smith <dan...@us...> + + * include/time.h: Do not include sys/types.h. + + 2004-07-02 Danny Smith <dan...@us...> + + * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c, + (MATH_OBJS): Remove pow,o. + * include/math.h (pow): Declare with _CRTIMP. + Add comment on how to avoid excess precision problems. + + 2004-06-30 Danny Smith <dan...@us...> + + * include/stdio.h (__mingw_fseeko64): Add prototype. + * mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition. + (__mingw_fwrite): Handle huge files. + + 2004-06-30 Kees Zeelenberg <kz...@us...> + Danny Smith <dan...@us...> + + * include/stdio.h (fopen64): Add inline function. + (fseeko64): Add prototype. + (ftello64): Add inline function. + * include/io.h (lseek64): Add inline function. + * include/sys/types (off64_t): Add typedef. + (fpos64_t): Add typedef. + * mingwex/fopen64.c: New file. + * mingwex/fseeko64.c: New file. + * mingwex/ftello64.c: New file. + * mingwex/lseek64.c: New file. + * mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c, + fseeko.64.c, ftello64.c, lseek64.c. + (STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o. + + 2004-04-24 Luke Dunstan <in...@us...> + + * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines. + 2004-04-22 Earnie Boyd <ea...@us...> |