From: <kti...@us...> - 2013-03-14 13:02:02
|
Revision: 5653 http://mingw-w64.svn.sourceforge.net/mingw-w64/?rev=5653&view=rev Author: ktietz70 Date: 2013-03-14 13:01:38 +0000 (Thu, 14 Mar 2013) Log Message: ----------- * Makefile.am: Add new files to build of libmingwex.a library. * Makefile,in: Regenerated. * lib32/msvcr80.def: Remove replaced exports. * lib32/msvcrt.def: Likewise. * lib64/msvcr80.def: Likewise. * lib32/msvcrt.def: Likewise. * stdio/_fstati64.c: New file. * stdio/_stati64.c: New file. * stdio/_wstati64.c: New file. Modified Paths: -------------- trunk/mingw-w64-crt/ChangeLog trunk/mingw-w64-crt/Makefile.am trunk/mingw-w64-crt/Makefile.in trunk/mingw-w64-crt/lib32/msvcr80.def trunk/mingw-w64-crt/lib32/msvcrt.def trunk/mingw-w64-crt/lib64/msvcr80.def trunk/mingw-w64-crt/lib64/msvcrt.def Added Paths: ----------- trunk/mingw-w64-crt/stdio/_fstati64.c trunk/mingw-w64-crt/stdio/_stati64.c trunk/mingw-w64-crt/stdio/_wstati64.c Modified: trunk/mingw-w64-crt/ChangeLog =================================================================== --- trunk/mingw-w64-crt/ChangeLog 2013-03-14 06:58:04 UTC (rev 5652) +++ trunk/mingw-w64-crt/ChangeLog 2013-03-14 13:01:38 UTC (rev 5653) @@ -1,3 +1,15 @@ +2013-03-14 Kai Tietz <kt...@re...> + + * Makefile.am: Add new files to build of libmingwex.a library. + * Makefile,in: Regenerated. + * lib32/msvcr80.def: Remove replaced exports. + * lib32/msvcrt.def: Likewise. + * lib64/msvcr80.def: Likewise. + * lib32/msvcrt.def: Likewise. + * stdio/_fstati64.c: New file. + * stdio/_stati64.c: New file. + * stdio/_wstati64.c: New file. + 2013-02-23 David Nadlinger <co...@kl...> * crt/tlssup.c (_tls_used): Remove +1 form _tls_start to avoid Modified: trunk/mingw-w64-crt/Makefile.am =================================================================== --- trunk/mingw-w64-crt/Makefile.am 2013-03-14 06:58:04 UTC (rev 5652) +++ trunk/mingw-w64-crt/Makefile.am 2013-03-14 13:01:38 UTC (rev 5653) @@ -208,8 +208,9 @@ stdio/mingw_pformat.h \ stdio/vfscanf2.S stdio/vfwscanf2.S stdio/vscanf2.S stdio/vsscanf2.S stdio/vswscanf2.S \ stdio/vwscanf2.S \ - stdio/_Exit.c stdio/_findfirst64i32.c stdio/_findnext64i32.c stdio/_fstat.c \ - stdio/_fstat64i32.c stdio/_ftime.c stdio/_getc_nolock.c stdio/_getwc_nolock.c stdio/_putc_nolock.c \ + stdio/_Exit.c stdio/_findfirst64i32.c stdio/_findnext64i32.c stdio/_fstat.c \ + stdio/_fstat64i32.c stdio/_fstati64.c stdio/_stati64.c stdio/_wstati64.c \ + stdio/_ftime.c stdio/_getc_nolock.c stdio/_getwc_nolock.c stdio/_putc_nolock.c \ stdio/_putwc_nolock.c stdio/_stat.c stdio/_stat64i32.c stdio/_wfindfirst64i32.c stdio/_wfindnext64i32.c \ stdio/_wstat.c stdio/_wstat64i32.c stdio/asprintf.c stdio/atoll.c stdio/fgetpos64.c \ stdio/fopen64.c stdio/fseeko32.c stdio/fseeko64.c stdio/fsetpos64.c stdio/ftello.c \ Modified: trunk/mingw-w64-crt/Makefile.in =================================================================== --- trunk/mingw-w64-crt/Makefile.in 2013-03-14 06:58:04 UTC (rev 5652) +++ trunk/mingw-w64-crt/Makefile.in 2013-03-14 13:01:38 UTC (rev 5653) @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.12.6 from Makefile.am. +# Makefile.in generated by automake 1.12.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2012 Free Software Foundation, Inc. @@ -471,6 +471,7 @@ stdio/vscanf2.S stdio/vsscanf2.S stdio/vswscanf2.S \ stdio/vwscanf2.S stdio/_Exit.c stdio/_findfirst64i32.c \ stdio/_findnext64i32.c stdio/_fstat.c stdio/_fstat64i32.c \ + stdio/_fstati64.c stdio/_stati64.c stdio/_wstati64.c \ stdio/_ftime.c stdio/_getc_nolock.c stdio/_getwc_nolock.c \ stdio/_putc_nolock.c stdio/_putwc_nolock.c stdio/_stat.c \ stdio/_stat64i32.c stdio/_wfindfirst64i32.c \ @@ -896,6 +897,9 @@ stdio/lib32_libmingwex_a-_findnext64i32.$(OBJEXT) \ stdio/lib32_libmingwex_a-_fstat.$(OBJEXT) \ stdio/lib32_libmingwex_a-_fstat64i32.$(OBJEXT) \ + stdio/lib32_libmingwex_a-_fstati64.$(OBJEXT) \ + stdio/lib32_libmingwex_a-_stati64.$(OBJEXT) \ + stdio/lib32_libmingwex_a-_wstati64.$(OBJEXT) \ stdio/lib32_libmingwex_a-_ftime.$(OBJEXT) \ stdio/lib32_libmingwex_a-_getc_nolock.$(OBJEXT) \ stdio/lib32_libmingwex_a-_getwc_nolock.$(OBJEXT) \ @@ -1551,6 +1555,7 @@ stdio/vscanf2.S stdio/vsscanf2.S stdio/vswscanf2.S \ stdio/vwscanf2.S stdio/_Exit.c stdio/_findfirst64i32.c \ stdio/_findnext64i32.c stdio/_fstat.c stdio/_fstat64i32.c \ + stdio/_fstati64.c stdio/_stati64.c stdio/_wstati64.c \ stdio/_ftime.c stdio/_getc_nolock.c stdio/_getwc_nolock.c \ stdio/_putc_nolock.c stdio/_putwc_nolock.c stdio/_stat.c \ stdio/_stat64i32.c stdio/_wfindfirst64i32.c \ @@ -1984,6 +1989,9 @@ stdio/lib64_libmingwex_a-_findnext64i32.$(OBJEXT) \ stdio/lib64_libmingwex_a-_fstat.$(OBJEXT) \ stdio/lib64_libmingwex_a-_fstat64i32.$(OBJEXT) \ + stdio/lib64_libmingwex_a-_fstati64.$(OBJEXT) \ + stdio/lib64_libmingwex_a-_stati64.$(OBJEXT) \ + stdio/lib64_libmingwex_a-_wstati64.$(OBJEXT) \ stdio/lib64_libmingwex_a-_ftime.$(OBJEXT) \ stdio/lib64_libmingwex_a-_getc_nolock.$(OBJEXT) \ stdio/lib64_libmingwex_a-_getwc_nolock.$(OBJEXT) \ @@ -3616,8 +3624,9 @@ stdio/mingw_pformat.h \ stdio/vfscanf2.S stdio/vfwscanf2.S stdio/vscanf2.S stdio/vsscanf2.S stdio/vswscanf2.S \ stdio/vwscanf2.S \ - stdio/_Exit.c stdio/_findfirst64i32.c stdio/_findnext64i32.c stdio/_fstat.c \ - stdio/_fstat64i32.c stdio/_ftime.c stdio/_getc_nolock.c stdio/_getwc_nolock.c stdio/_putc_nolock.c \ + stdio/_Exit.c stdio/_findfirst64i32.c stdio/_findnext64i32.c stdio/_fstat.c \ + stdio/_fstat64i32.c stdio/_fstati64.c stdio/_stati64.c stdio/_wstati64.c \ + stdio/_ftime.c stdio/_getc_nolock.c stdio/_getwc_nolock.c stdio/_putc_nolock.c \ stdio/_putwc_nolock.c stdio/_stat.c stdio/_stat64i32.c stdio/_wfindfirst64i32.c stdio/_wfindnext64i32.c \ stdio/_wstat.c stdio/_wstat64i32.c stdio/asprintf.c stdio/atoll.c stdio/fgetpos64.c \ stdio/fopen64.c stdio/fseeko32.c stdio/fseeko64.c stdio/fsetpos64.c stdio/ftello.c \ @@ -5722,6 +5731,12 @@ stdio/$(DEPDIR)/$(am__dirstamp) stdio/lib32_libmingwex_a-_fstat64i32.$(OBJEXT): stdio/$(am__dirstamp) \ stdio/$(DEPDIR)/$(am__dirstamp) +stdio/lib32_libmingwex_a-_fstati64.$(OBJEXT): stdio/$(am__dirstamp) \ + stdio/$(DEPDIR)/$(am__dirstamp) +stdio/lib32_libmingwex_a-_stati64.$(OBJEXT): stdio/$(am__dirstamp) \ + stdio/$(DEPDIR)/$(am__dirstamp) +stdio/lib32_libmingwex_a-_wstati64.$(OBJEXT): stdio/$(am__dirstamp) \ + stdio/$(DEPDIR)/$(am__dirstamp) stdio/lib32_libmingwex_a-_ftime.$(OBJEXT): stdio/$(am__dirstamp) \ stdio/$(DEPDIR)/$(am__dirstamp) stdio/lib32_libmingwex_a-_getc_nolock.$(OBJEXT): \ @@ -7263,6 +7278,12 @@ stdio/$(DEPDIR)/$(am__dirstamp) stdio/lib64_libmingwex_a-_fstat64i32.$(OBJEXT): stdio/$(am__dirstamp) \ stdio/$(DEPDIR)/$(am__dirstamp) +stdio/lib64_libmingwex_a-_fstati64.$(OBJEXT): stdio/$(am__dirstamp) \ + stdio/$(DEPDIR)/$(am__dirstamp) +stdio/lib64_libmingwex_a-_stati64.$(OBJEXT): stdio/$(am__dirstamp) \ + stdio/$(DEPDIR)/$(am__dirstamp) +stdio/lib64_libmingwex_a-_wstati64.$(OBJEXT): stdio/$(am__dirstamp) \ + stdio/$(DEPDIR)/$(am__dirstamp) stdio/lib64_libmingwex_a-_ftime.$(OBJEXT): stdio/$(am__dirstamp) \ stdio/$(DEPDIR)/$(am__dirstamp) stdio/lib64_libmingwex_a-_getc_nolock.$(OBJEXT): \ @@ -10010,6 +10031,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib32_libmingwex_a-_findnext64i32.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib32_libmingwex_a-_fstat.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib32_libmingwex_a-_fstat64i32.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib32_libmingwex_a-_fstati64.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib32_libmingwex_a-_ftime.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib32_libmingwex_a-_getc_nolock.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib32_libmingwex_a-_getwc_nolock.Po@am__quote@ @@ -10017,10 +10039,12 @@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib32_libmingwex_a-_putwc_nolock.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib32_libmingwex_a-_stat.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib32_libmingwex_a-_stat64i32.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib32_libmingwex_a-_stati64.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib32_libmingwex_a-_wfindfirst64i32.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib32_libmingwex_a-_wfindnext64i32.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib32_libmingwex_a-_wstat.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib32_libmingwex_a-_wstat64i32.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib32_libmingwex_a-_wstati64.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib32_libmingwex_a-asprintf.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib32_libmingwex_a-atoll.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib32_libmingwex_a-fgetpos64.Po@am__quote@ @@ -10088,6 +10112,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib64_libmingwex_a-_findnext64i32.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib64_libmingwex_a-_fstat.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib64_libmingwex_a-_fstat64i32.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib64_libmingwex_a-_fstati64.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib64_libmingwex_a-_ftime.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib64_libmingwex_a-_getc_nolock.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib64_libmingwex_a-_getwc_nolock.Po@am__quote@ @@ -10095,10 +10120,12 @@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib64_libmingwex_a-_putwc_nolock.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib64_libmingwex_a-_stat.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib64_libmingwex_a-_stat64i32.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib64_libmingwex_a-_stati64.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib64_libmingwex_a-_wfindfirst64i32.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib64_libmingwex_a-_wfindnext64i32.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib64_libmingwex_a-_wstat.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib64_libmingwex_a-_wstat64i32.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib64_libmingwex_a-_wstati64.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib64_libmingwex_a-asprintf.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib64_libmingwex_a-atoll.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@stdio/$(DEPDIR)/lib64_libmingwex_a-fgetpos64.Po@am__quote@ @@ -16862,6 +16889,48 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdio/lib32_libmingwex_a-_fstat64i32.obj `if test -f 'stdio/_fstat64i32.c'; then $(CYGPATH_W) 'stdio/_fstat64i32.c'; else $(CYGPATH_W) '$(srcdir)/stdio/_fstat64i32.c'; fi` +stdio/lib32_libmingwex_a-_fstati64.o: stdio/_fstati64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stdio/lib32_libmingwex_a-_fstati64.o -MD -MP -MF stdio/$(DEPDIR)/lib32_libmingwex_a-_fstati64.Tpo -c -o stdio/lib32_libmingwex_a-_fstati64.o `test -f 'stdio/_fstati64.c' || echo '$(srcdir)/'`stdio/_fstati64.c +@am__fastdepCC_TRUE@ $(am__mv) stdio/$(DEPDIR)/lib32_libmingwex_a-_fstati64.Tpo stdio/$(DEPDIR)/lib32_libmingwex_a-_fstati64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='stdio/_fstati64.c' object='stdio/lib32_libmingwex_a-_fstati64.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdio/lib32_libmingwex_a-_fstati64.o `test -f 'stdio/_fstati64.c' || echo '$(srcdir)/'`stdio/_fstati64.c + +stdio/lib32_libmingwex_a-_fstati64.obj: stdio/_fstati64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stdio/lib32_libmingwex_a-_fstati64.obj -MD -MP -MF stdio/$(DEPDIR)/lib32_libmingwex_a-_fstati64.Tpo -c -o stdio/lib32_libmingwex_a-_fstati64.obj `if test -f 'stdio/_fstati64.c'; then $(CYGPATH_W) 'stdio/_fstati64.c'; else $(CYGPATH_W) '$(srcdir)/stdio/_fstati64.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) stdio/$(DEPDIR)/lib32_libmingwex_a-_fstati64.Tpo stdio/$(DEPDIR)/lib32_libmingwex_a-_fstati64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='stdio/_fstati64.c' object='stdio/lib32_libmingwex_a-_fstati64.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdio/lib32_libmingwex_a-_fstati64.obj `if test -f 'stdio/_fstati64.c'; then $(CYGPATH_W) 'stdio/_fstati64.c'; else $(CYGPATH_W) '$(srcdir)/stdio/_fstati64.c'; fi` + +stdio/lib32_libmingwex_a-_stati64.o: stdio/_stati64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stdio/lib32_libmingwex_a-_stati64.o -MD -MP -MF stdio/$(DEPDIR)/lib32_libmingwex_a-_stati64.Tpo -c -o stdio/lib32_libmingwex_a-_stati64.o `test -f 'stdio/_stati64.c' || echo '$(srcdir)/'`stdio/_stati64.c +@am__fastdepCC_TRUE@ $(am__mv) stdio/$(DEPDIR)/lib32_libmingwex_a-_stati64.Tpo stdio/$(DEPDIR)/lib32_libmingwex_a-_stati64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='stdio/_stati64.c' object='stdio/lib32_libmingwex_a-_stati64.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdio/lib32_libmingwex_a-_stati64.o `test -f 'stdio/_stati64.c' || echo '$(srcdir)/'`stdio/_stati64.c + +stdio/lib32_libmingwex_a-_stati64.obj: stdio/_stati64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stdio/lib32_libmingwex_a-_stati64.obj -MD -MP -MF stdio/$(DEPDIR)/lib32_libmingwex_a-_stati64.Tpo -c -o stdio/lib32_libmingwex_a-_stati64.obj `if test -f 'stdio/_stati64.c'; then $(CYGPATH_W) 'stdio/_stati64.c'; else $(CYGPATH_W) '$(srcdir)/stdio/_stati64.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) stdio/$(DEPDIR)/lib32_libmingwex_a-_stati64.Tpo stdio/$(DEPDIR)/lib32_libmingwex_a-_stati64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='stdio/_stati64.c' object='stdio/lib32_libmingwex_a-_stati64.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdio/lib32_libmingwex_a-_stati64.obj `if test -f 'stdio/_stati64.c'; then $(CYGPATH_W) 'stdio/_stati64.c'; else $(CYGPATH_W) '$(srcdir)/stdio/_stati64.c'; fi` + +stdio/lib32_libmingwex_a-_wstati64.o: stdio/_wstati64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stdio/lib32_libmingwex_a-_wstati64.o -MD -MP -MF stdio/$(DEPDIR)/lib32_libmingwex_a-_wstati64.Tpo -c -o stdio/lib32_libmingwex_a-_wstati64.o `test -f 'stdio/_wstati64.c' || echo '$(srcdir)/'`stdio/_wstati64.c +@am__fastdepCC_TRUE@ $(am__mv) stdio/$(DEPDIR)/lib32_libmingwex_a-_wstati64.Tpo stdio/$(DEPDIR)/lib32_libmingwex_a-_wstati64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='stdio/_wstati64.c' object='stdio/lib32_libmingwex_a-_wstati64.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdio/lib32_libmingwex_a-_wstati64.o `test -f 'stdio/_wstati64.c' || echo '$(srcdir)/'`stdio/_wstati64.c + +stdio/lib32_libmingwex_a-_wstati64.obj: stdio/_wstati64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stdio/lib32_libmingwex_a-_wstati64.obj -MD -MP -MF stdio/$(DEPDIR)/lib32_libmingwex_a-_wstati64.Tpo -c -o stdio/lib32_libmingwex_a-_wstati64.obj `if test -f 'stdio/_wstati64.c'; then $(CYGPATH_W) 'stdio/_wstati64.c'; else $(CYGPATH_W) '$(srcdir)/stdio/_wstati64.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) stdio/$(DEPDIR)/lib32_libmingwex_a-_wstati64.Tpo stdio/$(DEPDIR)/lib32_libmingwex_a-_wstati64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='stdio/_wstati64.c' object='stdio/lib32_libmingwex_a-_wstati64.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdio/lib32_libmingwex_a-_wstati64.obj `if test -f 'stdio/_wstati64.c'; then $(CYGPATH_W) 'stdio/_wstati64.c'; else $(CYGPATH_W) '$(srcdir)/stdio/_wstati64.c'; fi` + stdio/lib32_libmingwex_a-_ftime.o: stdio/_ftime.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stdio/lib32_libmingwex_a-_ftime.o -MD -MP -MF stdio/$(DEPDIR)/lib32_libmingwex_a-_ftime.Tpo -c -o stdio/lib32_libmingwex_a-_ftime.o `test -f 'stdio/_ftime.c' || echo '$(srcdir)/'`stdio/_ftime.c @am__fastdepCC_TRUE@ $(am__mv) stdio/$(DEPDIR)/lib32_libmingwex_a-_ftime.Tpo stdio/$(DEPDIR)/lib32_libmingwex_a-_ftime.Po @@ -25724,6 +25793,48 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdio/lib64_libmingwex_a-_fstat64i32.obj `if test -f 'stdio/_fstat64i32.c'; then $(CYGPATH_W) 'stdio/_fstat64i32.c'; else $(CYGPATH_W) '$(srcdir)/stdio/_fstat64i32.c'; fi` +stdio/lib64_libmingwex_a-_fstati64.o: stdio/_fstati64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stdio/lib64_libmingwex_a-_fstati64.o -MD -MP -MF stdio/$(DEPDIR)/lib64_libmingwex_a-_fstati64.Tpo -c -o stdio/lib64_libmingwex_a-_fstati64.o `test -f 'stdio/_fstati64.c' || echo '$(srcdir)/'`stdio/_fstati64.c +@am__fastdepCC_TRUE@ $(am__mv) stdio/$(DEPDIR)/lib64_libmingwex_a-_fstati64.Tpo stdio/$(DEPDIR)/lib64_libmingwex_a-_fstati64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='stdio/_fstati64.c' object='stdio/lib64_libmingwex_a-_fstati64.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdio/lib64_libmingwex_a-_fstati64.o `test -f 'stdio/_fstati64.c' || echo '$(srcdir)/'`stdio/_fstati64.c + +stdio/lib64_libmingwex_a-_fstati64.obj: stdio/_fstati64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stdio/lib64_libmingwex_a-_fstati64.obj -MD -MP -MF stdio/$(DEPDIR)/lib64_libmingwex_a-_fstati64.Tpo -c -o stdio/lib64_libmingwex_a-_fstati64.obj `if test -f 'stdio/_fstati64.c'; then $(CYGPATH_W) 'stdio/_fstati64.c'; else $(CYGPATH_W) '$(srcdir)/stdio/_fstati64.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) stdio/$(DEPDIR)/lib64_libmingwex_a-_fstati64.Tpo stdio/$(DEPDIR)/lib64_libmingwex_a-_fstati64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='stdio/_fstati64.c' object='stdio/lib64_libmingwex_a-_fstati64.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdio/lib64_libmingwex_a-_fstati64.obj `if test -f 'stdio/_fstati64.c'; then $(CYGPATH_W) 'stdio/_fstati64.c'; else $(CYGPATH_W) '$(srcdir)/stdio/_fstati64.c'; fi` + +stdio/lib64_libmingwex_a-_stati64.o: stdio/_stati64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stdio/lib64_libmingwex_a-_stati64.o -MD -MP -MF stdio/$(DEPDIR)/lib64_libmingwex_a-_stati64.Tpo -c -o stdio/lib64_libmingwex_a-_stati64.o `test -f 'stdio/_stati64.c' || echo '$(srcdir)/'`stdio/_stati64.c +@am__fastdepCC_TRUE@ $(am__mv) stdio/$(DEPDIR)/lib64_libmingwex_a-_stati64.Tpo stdio/$(DEPDIR)/lib64_libmingwex_a-_stati64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='stdio/_stati64.c' object='stdio/lib64_libmingwex_a-_stati64.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdio/lib64_libmingwex_a-_stati64.o `test -f 'stdio/_stati64.c' || echo '$(srcdir)/'`stdio/_stati64.c + +stdio/lib64_libmingwex_a-_stati64.obj: stdio/_stati64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stdio/lib64_libmingwex_a-_stati64.obj -MD -MP -MF stdio/$(DEPDIR)/lib64_libmingwex_a-_stati64.Tpo -c -o stdio/lib64_libmingwex_a-_stati64.obj `if test -f 'stdio/_stati64.c'; then $(CYGPATH_W) 'stdio/_stati64.c'; else $(CYGPATH_W) '$(srcdir)/stdio/_stati64.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) stdio/$(DEPDIR)/lib64_libmingwex_a-_stati64.Tpo stdio/$(DEPDIR)/lib64_libmingwex_a-_stati64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='stdio/_stati64.c' object='stdio/lib64_libmingwex_a-_stati64.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdio/lib64_libmingwex_a-_stati64.obj `if test -f 'stdio/_stati64.c'; then $(CYGPATH_W) 'stdio/_stati64.c'; else $(CYGPATH_W) '$(srcdir)/stdio/_stati64.c'; fi` + +stdio/lib64_libmingwex_a-_wstati64.o: stdio/_wstati64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stdio/lib64_libmingwex_a-_wstati64.o -MD -MP -MF stdio/$(DEPDIR)/lib64_libmingwex_a-_wstati64.Tpo -c -o stdio/lib64_libmingwex_a-_wstati64.o `test -f 'stdio/_wstati64.c' || echo '$(srcdir)/'`stdio/_wstati64.c +@am__fastdepCC_TRUE@ $(am__mv) stdio/$(DEPDIR)/lib64_libmingwex_a-_wstati64.Tpo stdio/$(DEPDIR)/lib64_libmingwex_a-_wstati64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='stdio/_wstati64.c' object='stdio/lib64_libmingwex_a-_wstati64.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdio/lib64_libmingwex_a-_wstati64.o `test -f 'stdio/_wstati64.c' || echo '$(srcdir)/'`stdio/_wstati64.c + +stdio/lib64_libmingwex_a-_wstati64.obj: stdio/_wstati64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stdio/lib64_libmingwex_a-_wstati64.obj -MD -MP -MF stdio/$(DEPDIR)/lib64_libmingwex_a-_wstati64.Tpo -c -o stdio/lib64_libmingwex_a-_wstati64.obj `if test -f 'stdio/_wstati64.c'; then $(CYGPATH_W) 'stdio/_wstati64.c'; else $(CYGPATH_W) '$(srcdir)/stdio/_wstati64.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) stdio/$(DEPDIR)/lib64_libmingwex_a-_wstati64.Tpo stdio/$(DEPDIR)/lib64_libmingwex_a-_wstati64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='stdio/_wstati64.c' object='stdio/lib64_libmingwex_a-_wstati64.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stdio/lib64_libmingwex_a-_wstati64.obj `if test -f 'stdio/_wstati64.c'; then $(CYGPATH_W) 'stdio/_wstati64.c'; else $(CYGPATH_W) '$(srcdir)/stdio/_wstati64.c'; fi` + stdio/lib64_libmingwex_a-_ftime.o: stdio/_ftime.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stdio/lib64_libmingwex_a-_ftime.o -MD -MP -MF stdio/$(DEPDIR)/lib64_libmingwex_a-_ftime.Tpo -c -o stdio/lib64_libmingwex_a-_ftime.o `test -f 'stdio/_ftime.c' || echo '$(srcdir)/'`stdio/_ftime.c @am__fastdepCC_TRUE@ $(am__mv) stdio/$(DEPDIR)/lib64_libmingwex_a-_ftime.Tpo stdio/$(DEPDIR)/lib64_libmingwex_a-_ftime.Po Modified: trunk/mingw-w64-crt/lib32/msvcr80.def =================================================================== --- trunk/mingw-w64-crt/lib32/msvcr80.def 2013-03-14 06:58:04 UTC (rev 5652) +++ trunk/mingw-w64-crt/lib32/msvcr80.def 2013-03-14 13:01:38 UTC (rev 5653) @@ -185,7 +185,6 @@ _fputwchar _fsopen _fstat -_fstati64 _ftime _ftol _fullpath @@ -391,7 +390,6 @@ _spawnvpe _splitpath _stat -_stati64 _statusfp _strcmpi _strdate @@ -499,7 +497,6 @@ _wspawnvpe _wsplitpath _wstat -_wstati64 _wstrdate _wstrtime _wsystem Modified: trunk/mingw-w64-crt/lib32/msvcrt.def =================================================================== --- trunk/mingw-w64-crt/lib32/msvcrt.def 2013-03-14 06:58:04 UTC (rev 5652) +++ trunk/mingw-w64-crt/lib32/msvcrt.def 2013-03-14 13:01:38 UTC (rev 5653) @@ -185,7 +185,7 @@ _fputwchar _fsopen _fstat -_fstati64 +; _fstati64 replaced by libmingwex implementation _ftime _ftol _fullpath @@ -390,7 +390,7 @@ _spawnvpe _splitpath _stat -_stati64 +; _stati64 replaced by libmingwex implementation _statusfp _strcmpi _strdate @@ -498,7 +498,7 @@ _wspawnvpe _wsplitpath _wstat -_wstati64 +; _wstati64 replaced by libmingwex implementation _wstrdate _wstrtime _wsystem Modified: trunk/mingw-w64-crt/lib64/msvcr80.def =================================================================== --- trunk/mingw-w64-crt/lib64/msvcr80.def 2013-03-14 06:58:04 UTC (rev 5652) +++ trunk/mingw-w64-crt/lib64/msvcr80.def 2013-03-14 13:01:38 UTC (rev 5653) @@ -276,7 +276,6 @@ _fsopen _fstat _fstat64 -_fstati64 _ftime _ftime64 _fullpath @@ -492,7 +491,6 @@ _splitpath _stat _stat64 -_stati64 _statusfp _strcmpi _strdate @@ -615,7 +613,6 @@ _wsplitpath _wstat _wstat64 -_wstati64 _wstrdate _wstrtime _wsystem Modified: trunk/mingw-w64-crt/lib64/msvcrt.def =================================================================== --- trunk/mingw-w64-crt/lib64/msvcrt.def 2013-03-14 06:58:04 UTC (rev 5652) +++ trunk/mingw-w64-crt/lib64/msvcrt.def 2013-03-14 13:01:38 UTC (rev 5653) @@ -314,7 +314,7 @@ _fsopen _fstat _fstat64 -_fstati64 +; _fstati64 Replaced by libmingwex implementation. _ftime _ftime32_s _ftime64 @@ -727,7 +727,7 @@ _sscanf_s_l _stat _stat64 -_stati64 +; _stati64 replaced by libmingwex implementation _statusfp _strcmpi _strcoll_l @@ -986,7 +986,7 @@ _wsplitpath_s _wstat _wstat64 -_wstati64 +; _wstati64 replaced by libmingwex implementation _wstrdate ; _wstrdate_s replaced by emu _wstrtime Added: trunk/mingw-w64-crt/stdio/_fstati64.c =================================================================== --- trunk/mingw-w64-crt/stdio/_fstati64.c (rev 0) +++ trunk/mingw-w64-crt/stdio/_fstati64.c 2013-03-14 13:01:38 UTC (rev 5653) @@ -0,0 +1,45 @@ +/** + * This file is part of the mingw-w64 runtime package. + * No warranty is given; refer to the file DISCLAIMER within this package. + */ + +#define __CRT__NO_INLINE +#include <sys/stat.h> + +#undef _fstati64 +#if !defined(_USE_32BIT_TIME_T) +int __cdecl +_fstati64(int _Desc,struct _stat64 *_Stat); +int __cdecl +_fstati64(int _Desc,struct _stat64 *_Stat) +{ + return _fstat64(_Desc, _Stat); +} +int (*__MINGW_IMP_SYMBOL(_fstati64))(int, struct _stat64 *) = &_fstati64; +#else +int __cdecl +_fstati64(int _Desc,struct _stat32i64 *_Stat); +int __cdecl +_fstati64(int _Desc,struct _stat32i64 *_Stat) +{ + struct _stat32 st; + int ret=_fstat32(_Desc,&st); + if (ret == -1) { + memset(_Stat,0,sizeof(struct _stat32i64)); + return -1; + } + _Stat->st_dev=st.st_dev; + _Stat->st_ino=st.st_ino; + _Stat->st_mode=st.st_mode; + _Stat->st_nlink=st.st_nlink; + _Stat->st_uid=st.st_uid; + _Stat->st_gid=st.st_gid; + _Stat->st_rdev=st.st_rdev; + _Stat->st_size=(_off_t) st.st_size; + _Stat->st_atime=st.st_atime; + _Stat->st_mtime=st.st_mtime; + _Stat->st_ctime=st.st_ctime; + return ret; +} +int (*__MINGW_IMP_SYMBOL(_fstati64))(int, struct _stat32i64 *) = &_fstati64; +#endif Property changes on: trunk/mingw-w64-crt/stdio/_fstati64.c ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + text/plain Added: svn:eol-style + native Added: trunk/mingw-w64-crt/stdio/_stati64.c =================================================================== --- trunk/mingw-w64-crt/stdio/_stati64.c (rev 0) +++ trunk/mingw-w64-crt/stdio/_stati64.c 2013-03-14 13:01:38 UTC (rev 5653) @@ -0,0 +1,45 @@ +/** + * This file is part of the mingw-w64 runtime package. + * No warranty is given; refer to the file DISCLAIMER within this package. + */ + +#define __CRT__NO_INLINE +#include <sys/stat.h> + +#undef _stati64 +#if !defined(_USE_32BIT_TIME_T) +int __cdecl +_stati64(const char *_Name,struct _stat64 *_Stat); +int __cdecl +_stati64(const char *_Name,struct _stat64 *_Stat) +{ + return _stat64(_Name, _Stat); +} +int (*__MINGW_IMP_SYMBOL(_stati64))(const char *, struct _stat64 *) = &_stati64; +#else +int __cdecl +_stati64(const char *_Name,struct _stat32i64 *_Stat); +int __cdecl +_stati64(const char *_Name,struct _stat32i64 *_Stat) +{ + struct _stat32 st; + int ret=_stat32(_Name,&st); + if (ret == -1) { + memset(_Stat,0,sizeof(struct _stat32i64)); + return -1; + } + _Stat->st_dev=st.st_dev; + _Stat->st_ino=st.st_ino; + _Stat->st_mode=st.st_mode; + _Stat->st_nlink=st.st_nlink; + _Stat->st_uid=st.st_uid; + _Stat->st_gid=st.st_gid; + _Stat->st_rdev=st.st_rdev; + _Stat->st_size=(_off_t) st.st_size; + _Stat->st_atime=st.st_atime; + _Stat->st_mtime=st.st_mtime; + _Stat->st_ctime=st.st_ctime; + return ret; +} +int (*__MINGW_IMP_SYMBOL(_stati64))(const char *, struct _stat32i64 *) = &_stati64; +#endif Property changes on: trunk/mingw-w64-crt/stdio/_stati64.c ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + text/plain Added: svn:eol-style + native Added: trunk/mingw-w64-crt/stdio/_wstati64.c =================================================================== --- trunk/mingw-w64-crt/stdio/_wstati64.c (rev 0) +++ trunk/mingw-w64-crt/stdio/_wstati64.c 2013-03-14 13:01:38 UTC (rev 5653) @@ -0,0 +1,45 @@ +/** + * This file is part of the mingw-w64 runtime package. + * No warranty is given; refer to the file DISCLAIMER within this package. + */ + +#define __CRT__NO_INLINE +#include <sys/stat.h> + +#undef _wstati64 +#if !defined(_USE_32BIT_TIME_T) +int __cdecl +_wstati64(const wchar_t *_Name,struct _stat64 *_Stat); +int __cdecl +_wstati64(const wchar_t *_Name,struct _stat64 *_Stat) +{ + return _wstat64(_Name, _Stat); +} +int (*__MINGW_IMP_SYMBOL(_wstati64))(const wchar_t *, struct _stat64 *) = &_wstati64; +#else +int __cdecl +_wstati64(const wchar_t *_Name,struct _stat32i64 *_Stat); +int __cdecl +_wstati64(const wchar_t *_Name,struct _stat32i64 *_Stat) +{ + struct _stat32 st; + int ret=_wstat32(_Name,&st); + if (ret == -1) { + memset(_Stat,0,sizeof(struct _stat32i64)); + return -1; + } + _Stat->st_dev=st.st_dev; + _Stat->st_ino=st.st_ino; + _Stat->st_mode=st.st_mode; + _Stat->st_nlink=st.st_nlink; + _Stat->st_uid=st.st_uid; + _Stat->st_gid=st.st_gid; + _Stat->st_rdev=st.st_rdev; + _Stat->st_size=(_off_t) st.st_size; + _Stat->st_atime=st.st_atime; + _Stat->st_mtime=st.st_mtime; + _Stat->st_ctime=st.st_ctime; + return ret; +} +int (*__MINGW_IMP_SYMBOL(_wstati64))(const wchar_t *, struct _stat32i64 *) = &_wstati64; +#endif Property changes on: trunk/mingw-w64-crt/stdio/_wstati64.c ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + text/plain Added: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |