[Ttssh2-commit] [5732] 関数名を変更

svnno****@sourc***** svnno****@sourc*****
2014年 12月 2日 (火) 20:41:03 JST


Revision: 5732
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5732
Author:   maya
Date:     2014-12-02 20:40:55 +0900 (Tue, 02 Dec 2014)
Log Message:
-----------
関数名を変更

Modified Paths:
--------------
    trunk/installer/cygtool/cygtool.c
    trunk/installer/cygtool/cygtool.def
    trunk/installer/teraterm.iss

-------------- next part --------------
Modified: trunk/installer/cygtool/cygtool.c
===================================================================
--- trunk/installer/cygtool/cygtool.c	2014-12-02 06:52:42 UTC (rev 5731)
+++ trunk/installer/cygtool/cygtool.c	2014-12-02 11:40:55 UTC (rev 5732)
@@ -48,7 +48,7 @@
 	return 1;
 }
 
-int __stdcall CygwinMachine(char *file)
+int __stdcall PortableExecutableMachine(char *file)
 {
 	FILE *fp;
 	unsigned char buf[4];
@@ -143,10 +143,10 @@
 	printf("  Cygwin directory => %s\n", file);
 	printf("\n");
 	
-	printf("CygwinMachine()\n");
+	printf("PortableExecutableMachine()\n");
 	strncat_s(file, sizeof(file), "\\bin\\cygwin1.dll", _TRUNCATE);
 	printf("  Cygwin DLL => %s\n", file);
-	res = CygwinMachine(file);
+	res = PortableExecutableMachine(file);
 	printf("  Machine => x%04x", res);
 	switch (res) {
 		case IMAGE_FILE_MACHINE_I386:

Modified: trunk/installer/cygtool/cygtool.def
===================================================================
--- trunk/installer/cygtool/cygtool.def	2014-12-02 06:52:42 UTC (rev 5731)
+++ trunk/installer/cygtool/cygtool.def	2014-12-02 11:40:55 UTC (rev 5732)
@@ -1,4 +1,4 @@
 EXPORTS
   FindCygwinPath
-  CygwinMachine
+  PortableExecutableMachine
   CygwinVersion

Modified: trunk/installer/teraterm.iss
===================================================================
--- trunk/installer/teraterm.iss	2014-12-02 06:52:42 UTC (rev 5731)
+++ trunk/installer/teraterm.iss	2014-12-02 11:40:55 UTC (rev 5732)
@@ -347,8 +347,8 @@
 function FindCygwinPath(CygwinDirectory, CygwinDir: AnsiString; Dirlen: Cardinal): Integer;
 external 'FindCygwinPath @ files:cygtool.dll stdcall setuponly';
 
-function CygwinMachine(CygwinDir: AnsiString): Integer;
-external 'CygwinMachine @ files:cygtool.dll stdcall setuponly';
+function PortableExecutableMachine(CygwinDir: AnsiString): Integer;
+external 'PortableExecutableMachine @ files:cygtool.dll stdcall setuponly';
 
 var
   UILangFilePage: TInputOptionWizardPage;
@@ -804,7 +804,7 @@
                 If Res = 1 then
                 begin;
                     CygDll := Copy(CygPath, 1, Pos(#0, CygPath) - 1) + '\bin\cygwin1.dll';
-                    Machine := CygwinMachine(CygDll);
+                    Machine := PortableExecutableMachine(CygDll);
                     if Machine = IMAGE_FILE_MACHINE_AMD64 then
                         FileCopy(ExpandConstant('{app}') + '\cygterm+-x86_64\cygterm.exe', Cygterm, True)
                     else



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