• R/O
  • HTTP
  • SSH
  • HTTPS

PeerCastIM: Commit


Commit MetaInfo

Revisão84cec909667ba97688ad0ab3564ff5b45a3309a6 (tree)
Hora2008-09-14 02:19:42
Autoreru <eru01@user...>
Commitereru

Mensagem de Log

SEH修正

Mudança Sumário

Diff

--- a/PeerCast.root/PeerCast/core/common/version2.h
+++ b/PeerCast.root/PeerCast/core/common/version2.h
@@ -44,9 +44,9 @@ extern int version_ex; // PP
4444 #if 1 /* for VP extend version */
4545 //#define VERSION_EX 1
4646 static const char *PCP_CLIENT_VERSION_EX_PREFIX = "IM"; // 2bytes only
47-static const int PCP_CLIENT_VERSION_EX_NUMBER = 30;
48-static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0030)";
49-static const char *PCX_VERSTRING_EX = "v0.1218(IM0030)";
47+static const int PCP_CLIENT_VERSION_EX_NUMBER = 31;
48+static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0031)";
49+static const char *PCX_VERSTRING_EX = "v0.1218(IM0031)";
5050 #endif
5151
5252 // ------------------------------------------------
--- a/PeerCast.root/PeerCast/core/win32/seh.cpp
+++ b/PeerCast.root/PeerCast/core/win32/seh.cpp
@@ -15,7 +15,11 @@ void SEHdump(_EXCEPTION_POINTERS *lpExcept)
1515 if ((hFile != NULL) && (hFile != INVALID_HANDLE_VALUE))
1616 {
1717 dump = MiniDumpWriteDump(GetCurrentProcess(), GetCurrentProcessId(), hFile,
18- (MINIDUMP_TYPE)(MiniDumpWithIndirectlyReferencedMemory|MiniDumpScanMemory),
18+ (MINIDUMP_TYPE)
19+ (MiniDumpWithIndirectlyReferencedMemory
20+ |MiniDumpWithPrivateReadWriteMemory
21+ |MiniDumpWithThreadInfo
22+ |MiniDumpWithUnloadedModules),
1923 &minidumpInfo, NULL, NULL);
2024 CloseHandle(hFile);
2125 }
--- a/c:/Git/PeerCast.root/PeerCast/core/common/version2.h
+++ b/c:/Git/PeerCast.root/PeerCast/core/common/version2.h
@@ -44,9 +44,9 @@ extern int version_ex; // PP
4444 #if 1 /* for VP extend version */
4545 //#define VERSION_EX 1
4646 static const char *PCP_CLIENT_VERSION_EX_PREFIX = "IM"; // 2bytes only
47-static const int PCP_CLIENT_VERSION_EX_NUMBER = 30;
48-static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0030)";
49-static const char *PCX_VERSTRING_EX = "v0.1218(IM0030)";
47+static const int PCP_CLIENT_VERSION_EX_NUMBER = 31;
48+static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0031)";
49+static const char *PCX_VERSTRING_EX = "v0.1218(IM0031)";
5050 #endif
5151
5252 // ------------------------------------------------
--- a/c:/Git/PeerCast.root/PeerCast/core/win32/seh.cpp
+++ b/c:/Git/PeerCast.root/PeerCast/core/win32/seh.cpp
@@ -15,7 +15,11 @@ void SEHdump(_EXCEPTION_POINTERS *lpExcept)
1515 if ((hFile != NULL) && (hFile != INVALID_HANDLE_VALUE))
1616 {
1717 dump = MiniDumpWriteDump(GetCurrentProcess(), GetCurrentProcessId(), hFile,
18- (MINIDUMP_TYPE)(MiniDumpWithIndirectlyReferencedMemory|MiniDumpScanMemory),
18+ (MINIDUMP_TYPE)
19+ (MiniDumpWithIndirectlyReferencedMemory
20+ |MiniDumpWithPrivateReadWriteMemory
21+ |MiniDumpWithThreadInfo
22+ |MiniDumpWithUnloadedModules),
1923 &minidumpInfo, NULL, NULL);
2024 CloseHandle(hFile);
2125 }
Show on old repository browser