# HG changeset patch
# User John "Elwin" Edwards
# Date 1463534914 14400
# Node ID 23d2e2bf812f9e7d4df6f09c9b1d36352672351d
# Parent 61283e71037c7614a59fb506cd6471f09cc9cd2d
Enable the logfile on 64-bit Windows.
It seems to work without any problems.
One use of a non-portable function was corrected in the process.
diff -r 61283e71037c -r 23d2e2bf812f arogue5/arogue5.vcxproj
--- a/arogue5/arogue5.vcxproj Sun May 15 19:04:46 2016 -0400
+++ b/arogue5/arogue5.vcxproj Tue May 17 21:28:34 2016 -0400
@@ -89,7 +89,7 @@
Disabled
true
..\pdcurses
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="arogue5.scr";SAVEDIR=".";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="arogue5.scr";LOGFILE="arogue5.log";SAVEDIR=".";%(PreprocessorDefinitions)
true
@@ -123,7 +123,7 @@
true
true
..\pdcurses
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="arogue5.scr";SAVEDIR=".";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="arogue5.scr";LOGFILE="arogue5.log";SAVEDIR=".";%(PreprocessorDefinitions)
true
@@ -181,4 +181,4 @@
-
+
\ No newline at end of file
diff -r 61283e71037c -r 23d2e2bf812f arogue7/arogue7.vcxproj
--- a/arogue7/arogue7.vcxproj Sun May 15 19:04:46 2016 -0400
+++ b/arogue7/arogue7.vcxproj Tue May 17 21:28:34 2016 -0400
@@ -88,7 +88,7 @@
Level3
Disabled
true
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="arogue7.scr";SAVEDIR=".";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="arogue7.scr";LOGFILE="arogue7.log";SAVEDIR=".";%(PreprocessorDefinitions)
..\pdcurses
@@ -122,7 +122,7 @@
true
true
true
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="arogue7.scr";SAVEDIR=".";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="arogue7.scr";LOGFILE="arogue7.log";SAVEDIR=".";%(PreprocessorDefinitions)
..\pdcurses
diff -r 61283e71037c -r 23d2e2bf812f rogue3/rogue3.vcxproj
--- a/rogue3/rogue3.vcxproj Sun May 15 19:04:46 2016 -0400
+++ b/rogue3/rogue3.vcxproj Tue May 17 21:28:34 2016 -0400
@@ -89,7 +89,7 @@
Disabled
true
..\pdcurses
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue3.scr";SAVEDIR=".";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue3.scr";LOGFILE="rogue3.log";SAVEDIR=".";%(PreprocessorDefinitions)
true
@@ -123,7 +123,7 @@
true
true
..\pdcurses
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue3.scr";SAVEDIR=".";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue3.scr";LOGFILE="rogue3.log";SAVEDIR=".";%(PreprocessorDefinitions)
true
@@ -174,4 +174,4 @@
-
+
\ No newline at end of file
diff -r 61283e71037c -r 23d2e2bf812f rogue4/rip.c
--- a/rogue4/rip.c Sun May 15 19:04:46 2016 -0400
+++ b/rogue4/rip.c Tue May 17 21:28:34 2016 -0400
@@ -246,7 +246,7 @@
return;
#ifdef LOGFILE
if (lfd >= 0)
- logfi = fdopen(lfd, "a");
+ logfi = md_fdopen(lfd, "a");
else
return;
if (logfi == NULL)
diff -r 61283e71037c -r 23d2e2bf812f rogue4/rogue4.vcxproj
--- a/rogue4/rogue4.vcxproj Sun May 15 19:04:46 2016 -0400
+++ b/rogue4/rogue4.vcxproj Tue May 17 21:28:34 2016 -0400
@@ -90,7 +90,7 @@
Disabled
true
..\pdcurses
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue4.scr";SAVEDIR=".";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue4.scr";LOGFILE="rogue4.log";SAVEDIR=".";%(PreprocessorDefinitions)
true
@@ -124,7 +124,7 @@
true
true
..\pdcurses
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue4.scr";SAVEDIR=".";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue4.scr";LOGFILE="rogue4.log";SAVEDIR=".";%(PreprocessorDefinitions)
true
@@ -176,4 +176,4 @@
-
+
\ No newline at end of file
diff -r 61283e71037c -r 23d2e2bf812f rogue5/rogue5.vcxproj
--- a/rogue5/rogue5.vcxproj Sun May 15 19:04:46 2016 -0400
+++ b/rogue5/rogue5.vcxproj Tue May 17 21:28:34 2016 -0400
@@ -89,7 +89,7 @@
Disabled
true
..\pdcurses
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue5.scr";SAVEDIR=".";NUMSCORES=10;NUMNAME="Ten";ALLSCORES=1;%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue5.scr";LOGFILE="rogue5.log";SAVEDIR=".";NUMSCORES=10;NUMNAME="Ten";ALLSCORES=1;%(PreprocessorDefinitions)
true
@@ -123,7 +123,7 @@
true
true
..\pdcurses
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue5.scr";SAVEDIR=".";NUMSCORES=10;NUMNAME="Ten";ALLSCORES=1;%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="rogue5.scr";LOGFILE="rogue5.log";SAVEDIR=".";NUMSCORES=10;NUMNAME="Ten";ALLSCORES=1;%(PreprocessorDefinitions)
true
@@ -176,4 +176,4 @@
-
+
\ No newline at end of file
diff -r 61283e71037c -r 23d2e2bf812f srogue/srogue.vcxproj
--- a/srogue/srogue.vcxproj Sun May 15 19:04:46 2016 -0400
+++ b/srogue/srogue.vcxproj Tue May 17 21:28:34 2016 -0400
@@ -89,7 +89,7 @@
Disabled
true
..\pdcurses
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="srogue.scr";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="srogue.scr";LOGFILE="srogue.log";%(PreprocessorDefinitions)
true
@@ -123,7 +123,7 @@
true
true
..\pdcurses
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="srogue.scr";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="srogue.scr";LOGFILE="srogue.log";%(PreprocessorDefinitions)
true
@@ -180,4 +180,4 @@
-
+
\ No newline at end of file
diff -r 61283e71037c -r 23d2e2bf812f xrogue/xrogue.vcxproj
--- a/xrogue/xrogue.vcxproj Sun May 15 19:04:46 2016 -0400
+++ b/xrogue/xrogue.vcxproj Tue May 17 21:28:34 2016 -0400
@@ -88,7 +88,7 @@
Level3
Disabled
true
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="xrogue.scr";SAVEDIR=".";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="xrogue.scr";LOGFILE="xrogue.log";SAVEDIR=".";%(PreprocessorDefinitions)
..\pdcurses
@@ -122,7 +122,7 @@
true
true
true
- _CRT_SECURE_NO_WARNINGS;SCOREFILE="xrogue.scr";SAVEDIR=".";%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;SCOREFILE="xrogue.scr";LOGFILE="xrogue.log";SAVEDIR=".";%(PreprocessorDefinitions)
..\pdcurses