OSDN Git Service

Bug fix
authors_kawamoto <s_kawamoto2307@yahoo.co.jp>
Mon, 5 Sep 2011 16:11:25 +0000 (01:11 +0900)
committers_kawamoto <s_kawamoto2307@yahoo.co.jp>
Mon, 5 Sep 2011 16:11:25 +0000 (01:11 +0900)
FFFTP.exe
FFFTP.vc90.sln [new file with mode: 0644]
FFFTP.vc90.vcproj [new file with mode: 0644]
FFFTP_English.vc90.vcproj [new file with mode: 0644]
config.h
getput.c
main.c

index 65ca710..36a50df 100644 (file)
Binary files a/FFFTP.exe and b/FFFTP.exe differ
diff --git a/FFFTP.vc90.sln b/FFFTP.vc90.sln
new file mode 100644 (file)
index 0000000..30658d4
--- /dev/null
@@ -0,0 +1,25 @@
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual Studio 2008
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FFFTP", "FFFTP.vc90.vcproj", "{5D9496DB-45AF-4389-8FEE-27C9A2FA207A}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FFFTP_English", "FFFTP_English.vc90.vcproj", "{EE7CC1BD-92A9-46D5-8270-386BD7BEEA55}"
+EndProject
+Global
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution
+               Debug|Win32 = Debug|Win32
+               Release|Win32 = Release|Win32
+       EndGlobalSection
+       GlobalSection(ProjectConfigurationPlatforms) = postSolution
+               {5D9496DB-45AF-4389-8FEE-27C9A2FA207A}.Debug|Win32.ActiveCfg = Debug|Win32
+               {5D9496DB-45AF-4389-8FEE-27C9A2FA207A}.Debug|Win32.Build.0 = Debug|Win32
+               {5D9496DB-45AF-4389-8FEE-27C9A2FA207A}.Release|Win32.ActiveCfg = Release|Win32
+               {5D9496DB-45AF-4389-8FEE-27C9A2FA207A}.Release|Win32.Build.0 = Release|Win32
+               {EE7CC1BD-92A9-46D5-8270-386BD7BEEA55}.Debug|Win32.ActiveCfg = Debug|Win32
+               {EE7CC1BD-92A9-46D5-8270-386BD7BEEA55}.Debug|Win32.Build.0 = Debug|Win32
+               {EE7CC1BD-92A9-46D5-8270-386BD7BEEA55}.Release|Win32.ActiveCfg = Release|Win32
+               {EE7CC1BD-92A9-46D5-8270-386BD7BEEA55}.Release|Win32.Build.0 = Release|Win32
+       EndGlobalSection
+       GlobalSection(SolutionProperties) = preSolution
+               HideSolutionNode = FALSE
+       EndGlobalSection
+EndGlobal
diff --git a/FFFTP.vc90.vcproj b/FFFTP.vc90.vcproj
new file mode 100644 (file)
index 0000000..adcd747
--- /dev/null
@@ -0,0 +1,442 @@
+<?xml version="1.0" encoding="shift_jis"?>
+<VisualStudioProject
+       ProjectType="Visual C++"
+       Version="9.00"
+       Name="FFFTP"
+       ProjectGUID="{5D9496DB-45AF-4389-8FEE-27C9A2FA207A}"
+       TargetFrameworkVersion="131072"
+       >
+       <Platforms>
+               <Platform
+                       Name="Win32"
+               />
+       </Platforms>
+       <ToolFiles>
+       </ToolFiles>
+       <Configurations>
+               <Configuration
+                       Name="Debug|Win32"
+                       OutputDirectory="."
+                       IntermediateDirectory=".\debug"
+                       ConfigurationType="1"
+                       InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
+                       UseOfMFC="0"
+                       ATLMinimizesCRunTimeLibraryUsage="false"
+                       >
+                       <Tool
+                               Name="VCPreBuildEventTool"
+                       />
+                       <Tool
+                               Name="VCCustomBuildTool"
+                       />
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCMIDLTool"
+                               PreprocessorDefinitions="_DEBUG"
+                               MkTypLibCompatible="true"
+                               SuppressStartupBanner="true"
+                               TargetEnvironment="1"
+                               TypeLibraryName="./FFFTP.tlb"
+                       />
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               Optimization="0"
+                               AdditionalIncludeDirectories="Resource"
+                               PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS,_WIN32_IE=0x300,_CRT_SECURE_NO_WARNINGS"
+                               RuntimeLibrary="1"
+                               PrecompiledHeaderFile=".\debug/FFFTP.pch"
+                               AssemblerListingLocation=".\debug/"
+                               ObjectFile=".\debug/"
+                               ProgramDataBaseFileName=".\debug/"
+                               WarningLevel="3"
+                               SuppressStartupBanner="true"
+                               DebugInformationFormat="4"
+                       />
+                       <Tool
+                               Name="VCManagedResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                               PreprocessorDefinitions="_DEBUG"
+                               Culture="1041"
+                       />
+                       <Tool
+                               Name="VCPreLinkEventTool"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               AdditionalOptions="/MACHINE:I386"
+                               AdditionalDependencies="wsock32.lib comctl32.lib winmm.lib htmlhelp.lib"
+                               OutputFile="./FFFTP.exe"
+                               LinkIncremental="2"
+                               SuppressStartupBanner="true"
+                               GenerateDebugInformation="true"
+                               ProgramDatabaseFile="./FFFTP.pdb"
+                               SubSystem="2"
+                               RandomizedBaseAddress="1"
+                               DataExecutionPrevention="0"
+                       />
+                       <Tool
+                               Name="VCALinkTool"
+                       />
+                       <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
+                               Name="VCXDCMakeTool"
+                       />
+                       <Tool
+                               Name="VCBscMakeTool"
+                       />
+                       <Tool
+                               Name="VCFxCopTool"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
+                               Name="VCPostBuildEventTool"
+                       />
+               </Configuration>
+               <Configuration
+                       Name="Release|Win32"
+                       OutputDirectory="."
+                       IntermediateDirectory=".\Release"
+                       ConfigurationType="1"
+                       InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
+                       UseOfMFC="0"
+                       ATLMinimizesCRunTimeLibraryUsage="false"
+                       >
+                       <Tool
+                               Name="VCPreBuildEventTool"
+                       />
+                       <Tool
+                               Name="VCCustomBuildTool"
+                       />
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCMIDLTool"
+                               PreprocessorDefinitions="NDEBUG"
+                               MkTypLibCompatible="true"
+                               SuppressStartupBanner="true"
+                               TargetEnvironment="1"
+                               TypeLibraryName="./FFFTP.tlb"
+                       />
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               InlineFunctionExpansion="1"
+                               AdditionalIncludeDirectories="Resource"
+                               PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS,_WIN32_IE=0x300,_CRT_SECURE_NO_WARNINGS"
+                               StringPooling="true"
+                               RuntimeLibrary="0"
+                               EnableFunctionLevelLinking="true"
+                               PrecompiledHeaderFile=".\Release/FFFTP.pch"
+                               AssemblerListingLocation=".\Release/"
+                               ObjectFile=".\Release/"
+                               ProgramDataBaseFileName=".\Release/"
+                               WarningLevel="3"
+                               SuppressStartupBanner="true"
+                               DebugInformationFormat="0"
+                       />
+                       <Tool
+                               Name="VCManagedResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                               PreprocessorDefinitions="NDEBUG"
+                               Culture="1041"
+                       />
+                       <Tool
+                               Name="VCPreLinkEventTool"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               AdditionalOptions="/MACHINE:I386"
+                               AdditionalDependencies="wsock32.lib comctl32.lib winmm.lib RASAPI32.LIB htmlhelp.lib"
+                               OutputFile="./FFFTP.exe"
+                               LinkIncremental="1"
+                               SuppressStartupBanner="true"
+                               GenerateDebugInformation="false"
+                               ProgramDatabaseFile="./FFFTP.pdb"
+                               SubSystem="2"
+                               RandomizedBaseAddress="1"
+                               DataExecutionPrevention="0"
+                       />
+                       <Tool
+                               Name="VCALinkTool"
+                       />
+                       <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
+                               Name="VCXDCMakeTool"
+                       />
+                       <Tool
+                               Name="VCBscMakeTool"
+                       />
+                       <Tool
+                               Name="VCFxCopTool"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
+                               Name="VCPostBuildEventTool"
+                       />
+               </Configuration>
+       </Configurations>
+       <References>
+       </References>
+       <Files>
+               <Filter
+                       Name="Source Files"
+                       Filter="cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90"
+                       >
+                       <File
+                               RelativePath=".\aes_modes.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\aescrypt.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\aeskey.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\aestab.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\bookmark.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\cache.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\clipboard.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\codecnv.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\connect.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\diskfree.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\dlgsize.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource\ffftp.rc"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\filelist.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\ftpproc.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\getput.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\history.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\hostman.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\local.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\lvtips.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\main.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\md4.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\md5.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\misc.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\OleDragDrop.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\option.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\ras.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\regexp.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\registory.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\remote.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\sha.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\skey.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\socket.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\statuswin.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\taskwin.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\tool.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\toolmenu.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\updatebell.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\wildcard.c"
+                               >
+                       </File>
+               </Filter>
+               <Filter
+                       Name="Header Files"
+                       Filter="h;hpp;hxx;hm;inl;fi;fd"
+                       >
+                       <File
+                               RelativePath=".\common.h"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource\resource.h"
+                               >
+                       </File>
+               </Filter>
+               <Filter
+                       Name="Resource Files"
+                       Filter="ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe"
+                       >
+                       <File
+                               RelativePath=".\Resource\bitmap1.bmp"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource\cursor1.cur"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource\cursor2.cur"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource\drag_csr.cur"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource\ico00001.ico"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource\icon1.ico"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource\icon2.ico"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource\list_bmp.bmp"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource\main_too.bmp"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource\nodrop_c.cur"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource\toolbar1.bmp"
+                               >
+                       </File>
+               </Filter>
+               <File
+                       RelativePath=".\Resource\ffftp.exe.manifest"
+                       >
+                       <FileConfiguration
+                               Name="Debug|Win32"
+                               ExcludedFromBuild="true"
+                               >
+                               <Tool
+                                       Name="VCCustomBuildTool"
+                               />
+                       </FileConfiguration>
+                       <FileConfiguration
+                               Name="Release|Win32"
+                               >
+                               <Tool
+                                       Name="VCCustomBuildTool"
+                               />
+                       </FileConfiguration>
+               </File>
+       </Files>
+       <Globals>
+       </Globals>
+</VisualStudioProject>
diff --git a/FFFTP_English.vc90.vcproj b/FFFTP_English.vc90.vcproj
new file mode 100644 (file)
index 0000000..b043505
--- /dev/null
@@ -0,0 +1,438 @@
+<?xml version="1.0" encoding="shift_jis"?>
+<VisualStudioProject
+       ProjectType="Visual C++"
+       Version="9.00"
+       Name="FFFTP_English"
+       ProjectGUID="{EE7CC1BD-92A9-46D5-8270-386BD7BEEA55}"
+       RootNamespace="FFFTP_English"
+       TargetFrameworkVersion="131072"
+       >
+       <Platforms>
+               <Platform
+                       Name="Win32"
+               />
+       </Platforms>
+       <ToolFiles>
+       </ToolFiles>
+       <Configurations>
+               <Configuration
+                       Name="Release|Win32"
+                       OutputDirectory=".\FFFTP_Eng_Release"
+                       IntermediateDirectory=".\FFFTP_Eng_Release"
+                       ConfigurationType="1"
+                       InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
+                       UseOfMFC="0"
+                       ATLMinimizesCRunTimeLibraryUsage="false"
+                       >
+                       <Tool
+                               Name="VCPreBuildEventTool"
+                       />
+                       <Tool
+                               Name="VCCustomBuildTool"
+                       />
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCMIDLTool"
+                               PreprocessorDefinitions="NDEBUG"
+                               MkTypLibCompatible="true"
+                               SuppressStartupBanner="true"
+                               TargetEnvironment="1"
+                               TypeLibraryName=".\FFFTP_Eng_Release/FFFTP_English.tlb"
+                       />
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               InlineFunctionExpansion="1"
+                               AdditionalIncludeDirectories="Resource_eng"
+                               PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS,_WIN32_IE=0x300,_CRT_SECURE_NO_WARNINGS,ENGLISH"
+                               StringPooling="true"
+                               RuntimeLibrary="0"
+                               EnableFunctionLevelLinking="true"
+                               PrecompiledHeaderFile=".\FFFTP_Eng_Release/FFFTP_English.pch"
+                               AssemblerListingLocation=".\FFFTP_Eng_Release/"
+                               ObjectFile=".\FFFTP_Eng_Release/"
+                               ProgramDataBaseFileName=".\FFFTP_Eng_Release/"
+                               WarningLevel="3"
+                               SuppressStartupBanner="true"
+                       />
+                       <Tool
+                               Name="VCManagedResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                               PreprocessorDefinitions="NDEBUG"
+                               Culture="1033"
+                       />
+                       <Tool
+                               Name="VCPreLinkEventTool"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               AdditionalOptions="/MACHINE:I386"
+                               AdditionalDependencies="wsock32.lib comctl32.lib winmm.lib htmlhelp.lib"
+                               OutputFile="FFFTP_Eng_Release/FFFTP.exe"
+                               LinkIncremental="1"
+                               SuppressStartupBanner="true"
+                               ProgramDatabaseFile=".\FFFTP_Eng_Release/FFFTP.pdb"
+                               SubSystem="2"
+                               RandomizedBaseAddress="1"
+                               DataExecutionPrevention="0"
+                       />
+                       <Tool
+                               Name="VCALinkTool"
+                       />
+                       <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
+                               Name="VCXDCMakeTool"
+                       />
+                       <Tool
+                               Name="VCBscMakeTool"
+                       />
+                       <Tool
+                               Name="VCFxCopTool"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
+                               Name="VCPostBuildEventTool"
+                       />
+               </Configuration>
+               <Configuration
+                       Name="Debug|Win32"
+                       OutputDirectory=".\FFFTP_Eng_Debug"
+                       IntermediateDirectory=".\FFFTP_Eng_Debug"
+                       ConfigurationType="1"
+                       InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
+                       UseOfMFC="0"
+                       ATLMinimizesCRunTimeLibraryUsage="false"
+                       >
+                       <Tool
+                               Name="VCPreBuildEventTool"
+                       />
+                       <Tool
+                               Name="VCCustomBuildTool"
+                       />
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCMIDLTool"
+                               PreprocessorDefinitions="_DEBUG"
+                               MkTypLibCompatible="true"
+                               SuppressStartupBanner="true"
+                               TargetEnvironment="1"
+                               TypeLibraryName=".\FFFTP_Eng_Debug/FFFTP_English.tlb"
+                       />
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               Optimization="0"
+                               AdditionalIncludeDirectories="Resource_eng"
+                               PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS,_WIN32_IE=0x300,_CRT_SECURE_NO_WARNINGS,ENGLISH"
+                               BasicRuntimeChecks="3"
+                               RuntimeLibrary="1"
+                               PrecompiledHeaderFile=".\FFFTP_Eng_Debug/FFFTP_English.pch"
+                               AssemblerListingLocation=".\FFFTP_Eng_Debug/"
+                               ObjectFile=".\FFFTP_Eng_Debug/"
+                               ProgramDataBaseFileName=".\FFFTP_Eng_Debug/"
+                               WarningLevel="3"
+                               SuppressStartupBanner="true"
+                               DebugInformationFormat="4"
+                       />
+                       <Tool
+                               Name="VCManagedResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                               PreprocessorDefinitions="_DEBUG"
+                               Culture="1033"
+                       />
+                       <Tool
+                               Name="VCPreLinkEventTool"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               AdditionalOptions="/MACHINE:I386"
+                               AdditionalDependencies="wsock32.lib comctl32.lib winmm.lib htmlhelp.lib"
+                               OutputFile="FFFTP_Eng_Debug/FFFTP.exe"
+                               LinkIncremental="2"
+                               SuppressStartupBanner="true"
+                               GenerateDebugInformation="true"
+                               ProgramDatabaseFile=".\FFFTP_Eng_Debug/FFFTP.pdb"
+                               SubSystem="2"
+                               RandomizedBaseAddress="1"
+                               DataExecutionPrevention="0"
+                       />
+                       <Tool
+                               Name="VCALinkTool"
+                       />
+                       <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
+                               Name="VCXDCMakeTool"
+                       />
+                       <Tool
+                               Name="VCBscMakeTool"
+                       />
+                       <Tool
+                               Name="VCFxCopTool"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
+                               Name="VCPostBuildEventTool"
+                       />
+               </Configuration>
+       </Configurations>
+       <References>
+       </References>
+       <Files>
+               <Filter
+                       Name="Source Files"
+                       Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+                       >
+                       <File
+                               RelativePath=".\aes_modes.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\aescrypt.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\aeskey.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\aestab.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\bookmark.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\cache.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\clipboard.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\codecnv.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\connect.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\diskfree.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\dlgsize.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource_eng\FFFTP-eng.rc"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\filelist.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\ftpproc.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\getput.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\history.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\hostman.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\local.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\lvtips.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\main.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\md4.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\md5.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\misc.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\OleDragDrop.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\option.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\ras.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\regexp.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\registory.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\remote.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\sha.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\skey.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\socket.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\statuswin.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\taskwin.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\tool.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\toolmenu.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\updatebell.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\wildcard.c"
+                               >
+                       </File>
+               </Filter>
+               <Filter
+                       Name="Header Files"
+                       Filter="h;hpp;hxx;hm;inl"
+                       >
+                       <File
+                               RelativePath=".\common.h"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource_eng\resource.h"
+                               >
+                       </File>
+               </Filter>
+               <Filter
+                       Name="Resource Files"
+                       Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
+                       >
+                       <File
+                               RelativePath=".\Resource_eng\bitmap1.bmp"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource_eng\cursor1.cur"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource_eng\cursor2.cur"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource_eng\drag_csr.cur"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource_eng\icon1.ico"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource_eng\icon2.ico"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource_eng\list_bmp.bmp"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource_eng\main_too.bmp"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource_eng\nodrop_c.cur"
+                               >
+                       </File>
+                       <File
+                               RelativePath=".\Resource_eng\toolbar1.bmp"
+                               >
+                       </File>
+               </Filter>
+               <File
+                       RelativePath=".\Resource_eng\ffftp.exe.manifest"
+                       >
+                       <FileConfiguration
+                               Name="Release|Win32"
+                               >
+                               <Tool
+                                       Name="VCCustomBuildTool"
+                               />
+                       </FileConfiguration>
+                       <FileConfiguration
+                               Name="Debug|Win32"
+                               ExcludedFromBuild="true"
+                               >
+                               <Tool
+                                       Name="VCCustomBuildTool"
+                               />
+                       </FileConfiguration>
+               </File>
+       </Files>
+       <Globals>
+       </Globals>
+</VisualStudioProject>
index 2e8afea..0adca58 100644 (file)
--- a/config.h
+++ b/config.h
@@ -2,3 +2,9 @@
 /* OPENVMS\97p\82Ì\83R\81[\83h\82ð\97L\8cø\82É\82·\82é\81B\94ó\8cû\93a\8dì\90¬\82Ì\83p\83b\83`\82ð\91g\82Ý\8d\9e\82Ý\82Ü\82µ\82½\81B */\r
 #define HAVE_OPENVMS\r
 \r
+//\91S\91Ì\82É\89e\8b¿\82·\82é\90Ý\92è\82Í\82±\82±\82É\8bL\8fq\82·\82é\97\\92è\r
+//\8eg\97p\82·\82éCPU\82ð1\8cÂ\82É\8cÀ\92è\82·\82é\81i\83}\83\8b\83`\83R\83ACPU\82Ì\93Á\92è\8aÂ\8b«\89º\82Å\83t\83@\83C\83\8b\92Ê\90M\92\86\82É\83N\83\89\83b\83V\83\85\82·\82é\83o\83O\91Î\8dô\81j\r
+#define DISABLE_MULTI_CPUS\r
+//\83l\83b\83g\83\8f\81[\83N\83o\83b\83t\83@\82ð\96³\8cø\82É\82·\82é\81i\92Ê\90M\92\86\8e~\8cã\82É\83\8a\83\82\81[\83g\82Ì\83f\83B\83\8c\83N\83g\83\8a\82ª\95\\8e¦\82³\82ê\82È\82¢\83o\83O\91Î\8dô\81j\r
+#define DISABLE_NETWORK_BUFFERS\r
+\r
index 46dffeb..2e3b93f 100644 (file)
--- a/getput.c
+++ b/getput.c
 #define SOCKBUF_SIZE   (256 * 1024)\r
 /* End */\r
 \r
+#ifdef DISABLE_NETWORK_BUFFERS\r
+#undef BUFSIZE\r
+#define BUFSIZE                        (63 * 1024)     // RWIN\92l\88È\89º\82Å\8f[\95ª\82È\91å\82«\82³\82ª\96]\82Ü\82µ\82¢\82Æ\8ev\82í\82ê\82é\81B\r
+#undef SET_BUFFER_SIZE\r
+#endif\r
+\r
 #define TIMER_DISPLAY          1               /* \95\\8e¦\8dX\90V\97p\83^\83C\83}\82ÌID */\r
 #define DISPLAY_TIMING         500             /* \95\\8e¦\8dX\90V\8e\9e\8aÔ 0.5\95b */\r
 \r
@@ -1149,6 +1155,12 @@ static int DownLoadFile(TRANSPACKET *Pkt, SOCKET dSkt, int CreateMode, int *Canc
 /* End */\r
 #endif\r
 \r
+#ifdef DISABLE_NETWORK_BUFFERS\r
+       // \94O\82Ì\82½\82ß\8eó\90M\83o\83b\83t\83@\82ð\96³\8cø\82É\82·\82é\81B\r
+       int buf_size = 0;\r
+       setsockopt(dSkt, SOL_SOCKET, SO_RCVBUF, (char *)&buf_size, sizeof(buf_size));\r
+#endif\r
+\r
        Pkt->Abort = ABORT_NONE;\r
 \r
        Sec.nLength = sizeof(SECURITY_ATTRIBUTES);\r
@@ -1808,6 +1820,14 @@ static int UpLoadFile(TRANSPACKET *Pkt, SOCKET dSkt)
 /* End */\r
 #endif\r
 \r
+// Written by Suguru Kawamoto\r
+#ifdef DISABLE_NETWORK_BUFFERS\r
+       // \94O\82Ì\82½\82ß\91\97\90M\83o\83b\83t\83@\82ð\96³\8cø\82É\82·\82é\81B\r
+       int buf_size = 0;\r
+       setsockopt(dSkt, SOL_SOCKET, SO_SNDBUF, (char *)&buf_size, sizeof(buf_size));\r
+#endif\r
+// End Written by Suguru Kawamoto\r
+\r
        Pkt->Abort = ABORT_NONE;\r
 \r
        Sec.nLength = sizeof(SECURITY_ATTRIBUTES);\r
diff --git a/main.c b/main.c
index e17c089..0341bfd 100644 (file)
--- a/main.c
+++ b/main.c
@@ -224,6 +224,10 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLi
        int Ret;\r
        BOOL Sts;\r
 \r
+#ifdef DISABLE_MULTI_CPUS\r
+       SetProcessAffinityMask(GetCurrentProcess(), 1);\r
+#endif\r
+\r
        // yutaka\r
        if(OleInitialize(NULL) != S_OK){\r
                MessageBox(NULL, MSGJPN298, "FFFTP", MB_OK | MB_ICONERROR);\r