-rw-r--r-- | PumpKINDlg.cpp | 8 | ||||
-rw-r--r-- | install/install.cpp | 2 | ||||
-rw-r--r-- | install/install.rc | 8 | ||||
-rw-r--r-- | pumpkin.rc | 10 |
4 files changed, 16 insertions, 12 deletions
diff --git a/PumpKINDlg.cpp b/PumpKINDlg.cpp index 1e6d03f..0b3bf41 100644 --- a/PumpKINDlg.cpp +++ b/PumpKINDlg.cpp | |||
@@ -1217,11 +1217,15 @@ BOOL CWRQSocket::Create(LPCTSTR localFile,LPCTSTR hostName) | |||
1217 | return FALSE; | 1217 | return FALSE; |
1218 | ASSERT(m_Daddy); | 1218 | ASSERT(m_Daddy); |
1219 | ASSERT(m_Peer.sin_addr.s_addr!=INADDR_NONE || hostName); | 1219 | ASSERT(m_Peer.sin_addr.s_addr!=INADDR_NONE || hostName); |
1220 | m_Daddy->m_Xfers[m_hSocket]=this; | 1220 | m_Daddy->m_Xfers[m_hSocket]=this; |
1221 | TurnSlashes(m_FileName,TRUE); | ||
1222 | UpdateList(); | 1221 | UpdateList(); |
1223 | CString fn = localFile?ApplyRootGently(localFile):ApplyRoot(m_FileName); | 1222 | CString lf; |
1223 | if(!localFile) { | ||
1224 | lf = m_FileName; | ||
1225 | TurnSlashes(lf,TRUE); | ||
1226 | } | ||
1227 | CString fn = localFile?ApplyRootGently(localFile):ApplyRoot(lf); | ||
1224 | if(!localFile){// This is an incoming request.. | 1228 | if(!localFile){// This is an incoming request.. |
1225 | if(CheckBadRelativeness(m_FileName)){ | 1229 | if(CheckBadRelativeness(m_FileName)){ |
1226 | Deny(tftp::errAccessViolation,IDS_TFTP_ERROR_ACCESS); | 1230 | Deny(tftp::errAccessViolation,IDS_TFTP_ERROR_ACCESS); |
1227 | return TRUE; | 1231 | return TRUE; |
diff --git a/install/install.cpp b/install/install.cpp index 62f1e20..6fa4ae4 100644 --- a/install/install.cpp +++ b/install/install.cpp | |||
@@ -1,8 +1,8 @@ | |||
1 | #include "resource.h" | 1 | #include "resource.h" |
2 | #include "../shared-code/install.h" | 2 | #include "../shared-code/install.h" |
3 | 3 | ||
4 | #defineKINAME "PumpKIN 2.5" | 4 | #defineKINAME "PumpKIN 2.5.1-trunk" |
5 | #define SKINAME "PumpKIN" | 5 | #define SKINAME "PumpKIN" |
6 | 6 | ||
7 | BOOL Install(void) | 7 | BOOL Install(void) |
8 | { | 8 | { |
diff --git a/install/install.rc b/install/install.rc index b1a3037..30907ad 100644 --- a/install/install.rc +++ b/install/install.rc | |||
@@ -130,10 +130,10 @@ IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico | |||
130 | // Version | 130 | // Version |
131 | // | 131 | // |
132 | 132 | ||
133 | VS_VERSION_INFO VERSIONINFO | 133 | VS_VERSION_INFO VERSIONINFO |
134 | FILEVERSION 2,5,0,0 | 134 | FILEVERSION 2,5,1,0 |
135 | PRODUCTVERSION 2,5,0,0 | 135 | PRODUCTVERSION 2,5,1,0 |
136 | FILEFLAGSMASK 0x3fL | 136 | FILEFLAGSMASK 0x3fL |
137 | #ifdef _DEBUG | 137 | #ifdef _DEBUG |
138 | FILEFLAGS 0x1L | 138 | FILEFLAGS 0x1L |
139 | #else | 139 | #else |
@@ -148,15 +148,15 @@ BEGIN | |||
148 | BLOCK "040904b0" | 148 | BLOCK "040904b0" |
149 | BEGIN | 149 | BEGIN |
150 | VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" | 150 | VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" |
151 | VALUE "FileDescription", "INSTALL: PumpKIN, tftp client/daemon\0" | 151 | VALUE "FileDescription", "INSTALL: PumpKIN, tftp client/daemon\0" |
152 | VALUE "FileVersion", "2, 5, 0, 0\0" | 152 | VALUE "FileVersion", "2, 5, 1, 0\0" |
153 | VALUE "InternalName", "INSTALL\0" | 153 | VALUE "InternalName", "INSTALL\0" |
154 | VALUE "LegalCopyright", "Copyright © 1997-2004 Klever Group (http://www.klever.net/)\0" | 154 | VALUE "LegalCopyright", "Copyright © 1997-2004 Klever Group (http://www.klever.net/)\0" |
155 | VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" | 155 | VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" |
156 | VALUE "OriginalFilename", "INSTALL.EXE\0" | 156 | VALUE "OriginalFilename", "INSTALL.EXE\0" |
157 | VALUE "ProductName", "PumpKIN\0" | 157 | VALUE "ProductName", "PumpKIN\0" |
158 | VALUE "ProductVersion", "2, 5, 0, 0\0" | 158 | VALUE "ProductVersion", "2, 5, 1, 0\0" |
159 | END | 159 | END |
160 | END | 160 | END |
161 | BLOCK "VarFileInfo" | 161 | BLOCK "VarFileInfo" |
162 | BEGIN | 162 | BEGIN |
@@ -81,9 +81,9 @@ STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | |||
81 | CAPTION "About PumpKIN" | 81 | CAPTION "About PumpKIN" |
82 | FONT 8, "MS Sans Serif" | 82 | FONT 8, "MS Sans Serif" |
83 | BEGIN | 83 | BEGIN |
84 | ICON IDR_MAINFRAME,IDC_STATIC,7,17,18,20 | 84 | ICON IDR_MAINFRAME,IDC_STATIC,7,17,18,20 |
85 | LTEXT "PumpKIN, Version 2.5",IDC_STATIC,40,15,119,8,SS_NOPREFIX | 85 | LTEXT "PumpKIN, Version 2.5.1-trunk",IDC_STATIC,40,15,119,8,SS_NOPREFIX |
86 | LTEXT "Copyright © 1997-2004 Klever Group",IDC_STATIC,40,30,170, | 86 | LTEXT "Copyright © 1997-2004 Klever Group",IDC_STATIC,40,30,170, |
87 | 8 | 87 | 8 |
88 | DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP | 88 | DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP |
89 | PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,124,53,86,14 | 89 | PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,124,53,86,14 |
@@ -285,10 +285,10 @@ END | |||
285 | // Version | 285 | // Version |
286 | // | 286 | // |
287 | 287 | ||
288 | VS_VERSION_INFO VERSIONINFO | 288 | VS_VERSION_INFO VERSIONINFO |
289 | FILEVERSION 2,5,0,0 | 289 | FILEVERSION 2,5,1,0 |
290 | PRODUCTVERSION 2,5,0,0 | 290 | PRODUCTVERSION 2,5,1,0 |
291 | FILEFLAGSMASK 0x3fL | 291 | FILEFLAGSMASK 0x3fL |
292 | #ifdef _DEBUG | 292 | #ifdef _DEBUG |
293 | FILEFLAGS 0x1L | 293 | FILEFLAGS 0x1L |
294 | #else | 294 | #else |
@@ -303,15 +303,15 @@ BEGIN | |||
303 | BLOCK "040904b0" | 303 | BLOCK "040904b0" |
304 | BEGIN | 304 | BEGIN |
305 | VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" | 305 | VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" |
306 | VALUE "FileDescription", "PumpKIN, tftp client/daemon\0" | 306 | VALUE "FileDescription", "PumpKIN, tftp client/daemon\0" |
307 | VALUE "FileVersion", "2, 5, 0, 0\0" | 307 | VALUE "FileVersion", "2, 5, 1, 0\0" |
308 | VALUE "InternalName", "PUMPKIN\0" | 308 | VALUE "InternalName", "PUMPKIN\0" |
309 | VALUE "LegalCopyright", "Copyright © 1997-2004 Klever Group (http://www.klever.net)\0" | 309 | VALUE "LegalCopyright", "Copyright © 1997-2004 Klever Group (http://www.klever.net)\0" |
310 | VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" | 310 | VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" |
311 | VALUE "OriginalFilename", "PUMPKIN.EXE\0" | 311 | VALUE "OriginalFilename", "PUMPKIN.EXE\0" |
312 | VALUE "ProductName", "PumpKIN\0" | 312 | VALUE "ProductName", "PumpKIN\0" |
313 | VALUE "ProductVersion", "2, 5, 0, 0\0" | 313 | VALUE "ProductVersion", "2, 5, 1, 0\0" |
314 | END | 314 | END |
315 | END | 315 | END |
316 | BLOCK "VarFileInfo" | 316 | BLOCK "VarFileInfo" |
317 | BEGIN | 317 | BEGIN |