[GRASS-SVN] r35866 - grass/branches/releasebranch_6_4/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Feb 12 18:34:39 EST 2009
Author: neteler
Date: 2009-02-12 18:34:39 -0500 (Thu, 12 Feb 2009)
New Revision: 35866
Added:
grass/branches/releasebranch_6_4/lib/gis/dllmain.c
grass/branches/releasebranch_6_4/lib/gis/fmode.c
Removed:
grass/branches/releasebranch_6_4/lib/gis/fmode.dat
Log:
added missing files (trac #469)
Added: grass/branches/releasebranch_6_4/lib/gis/dllmain.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/gis/dllmain.c (rev 0)
+++ grass/branches/releasebranch_6_4/lib/gis/dllmain.c 2009-02-12 23:34:39 UTC (rev 35866)
@@ -0,0 +1,9 @@
+#include <windows.h>
+#include <stdlib.h>
+#include <fcntl.h>
+
+BOOL WINAPI DllMain(HINSTANCE hInst, DWORD fdwReason, LPVOID lpvReserved)
+{
+ _fmode = O_BINARY;
+ return TRUE;
+}
Property changes on: grass/branches/releasebranch_6_4/lib/gis/dllmain.c
___________________________________________________________________
Name: svn:eol-style
+ native
Added: grass/branches/releasebranch_6_4/lib/gis/fmode.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/gis/fmode.c (rev 0)
+++ grass/branches/releasebranch_6_4/lib/gis/fmode.c 2009-02-12 23:34:39 UTC (rev 35866)
@@ -0,0 +1,4 @@
+#include <stdlib.h>
+#include <fcntl.h>
+#undef _fmode
+int _fmode = _O_BINARY;
Property changes on: grass/branches/releasebranch_6_4/lib/gis/fmode.c
___________________________________________________________________
Name: svn:eol-style
+ native
Deleted: grass/branches/releasebranch_6_4/lib/gis/fmode.dat
===================================================================
--- grass/branches/releasebranch_6_4/lib/gis/fmode.dat 2009-02-12 23:32:46 UTC (rev 35865)
+++ grass/branches/releasebranch_6_4/lib/gis/fmode.dat 2009-02-12 23:34:39 UTC (rev 35866)
@@ -1,4 +0,0 @@
-#include <stdlib.h>
-#include <fcntl.h>
-#undef _fmode
-int _fmode = _O_BINARY;
More information about the grass-commit
mailing list