=?iso-2022-jp?b?IFtUdHNzaDItY29tbWl0XSBbMzI0NF0gGyRCJVElOSRLNnVH?= =?iso-2022-jp?b?ciQsNF4kXiRsJEYkJCRrJEgbKEJzdm52ZXJzaW9uLmgbJEIkLEA1JDck?= =?iso-2022-jp?b?L0A4QC4gJEckLSRKJCskQyQ/JE4kcj0kQDUhIxsoQg==?=

svnno****@sourc***** svnno****@sourc*****
2009年 3月 26日 (木) 21:13:20 JST


Revision: 3244
          http://svn.sourceforge.jp/view?root=ttssh2&view=rev&rev=3244
Author:   doda
Date:     2009-03-26 21:13:20 +0900 (Thu, 26 Mar 2009)

Log Message:
-----------
$B%Q%9$K6uGr$,4^$^$l$F$$$k$H(Bsvnversion.h$B$, @ 5$7$/@8 @ .$G$-$J$+$C$?$N$r=$@5!#(B
svnversion.h$B$N:G8e$G2~9T$9$k$h$&$K$7$?!#(B

# C:\Documents $BEy$,:n$i$l$F$$$?$i!":o=|$7$^$7$g$&(B

Modified Paths:
--------------
    trunk/teraterm/svnrev/svnrev.cpp
    trunk/teraterm/ttpdlg/ttpdlg.vcproj

Modified: trunk/teraterm/svnrev/svnrev.cpp
===================================================================
--- trunk/teraterm/svnrev/svnrev.cpp	2009-03-26 10:35:35 UTC (rev 3243)
+++ trunk/teraterm/svnrev/svnrev.cpp	2009-03-26 12:13:20 UTC (rev 3244)
@@ -51,11 +51,11 @@
 		}
 	}
 
-	if (revision > 0) {
-		printf("#define SVNVERSION %d", revision);
+	if (nRetCode == 0) {
+		printf("#define SVNVERSION %d\n", revision);
 	}
 	else {
-		printf("#undef SVNVERSION");
+		printf("#undef SVNVERSION"\n);
 	}
 
 	return nRetCode;

Modified: trunk/teraterm/ttpdlg/ttpdlg.vcproj
===================================================================
--- trunk/teraterm/ttpdlg/ttpdlg.vcproj	2009-03-26 10:35:35 UTC (rev 3243)
+++ trunk/teraterm/ttpdlg/ttpdlg.vcproj	2009-03-26 12:13:20 UTC (rev 3244)
@@ -25,7 +25,7 @@
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
-				CommandLine="$(OutDir)\svnrev.exe &gt; $(InputDir)svnversion.h"
+				CommandLine="$(OutDir)\svnrev.exe &gt; &quot;$(InputDir)svnversion.h&quot;"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
@@ -126,7 +126,7 @@
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
-				CommandLine="$(OutDir)\svnrev.exe &gt; $(InputDir)svnversion.h"
+				CommandLine="$(OutDir)\svnrev.exe &gt; &quot;$(InputDir)svnversion.h&quot;"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"




Ttssh2-commit メーリングリストの案内