summaryrefslogtreecommitdiff
path: root/xpcom
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-09-30 02:11:33 +0000
committerMoonchild <moonchild@palemoon.org>2021-09-30 02:11:33 +0000
commit95829005dcc05f81c15b59ea93d63c9868b6db39 (patch)
treebd96fa2e3ad91e7db12b99fcbcdae08ad66f9192 /xpcom
parent300300ed70fe45cdd9ef6014e233681a8f36c675 (diff)
downloadaura-central-95829005dcc05f81c15b59ea93d63c9868b6db39.tar.gz
No issue - Clean up some obsolete/archaic code paths.
Diffstat (limited to 'xpcom')
-rw-r--r--xpcom/base/nsSystemInfo.cpp1
-rw-r--r--xpcom/io/nsLocalFileWin.cpp3
-rw-r--r--xpcom/reflect/xptcall/md/win32/xptcstubs_x86_64.cpp2
3 files changed, 2 insertions, 4 deletions
diff --git a/xpcom/base/nsSystemInfo.cpp b/xpcom/base/nsSystemInfo.cpp
index 027d36f10..df106e4e0 100644
--- a/xpcom/base/nsSystemInfo.cpp
+++ b/xpcom/base/nsSystemInfo.cpp
@@ -263,7 +263,6 @@ GetProcessorInformation(int* physical_cpus, int* cache_size_L2, int* cache_size_
*cache_size_L2 = 0; // This will be in kbytes
*cache_size_L3 = 0; // This will be in kbytes
- // GetLogicalProcessorInformation() is available on Windows XP SP3 and beyond.
LPFN_GLPI glpi = reinterpret_cast<LPFN_GLPI>(GetProcAddress(
GetModuleHandle(L"kernel32"),
"GetLogicalProcessorInformation"));
diff --git a/xpcom/io/nsLocalFileWin.cpp b/xpcom/io/nsLocalFileWin.cpp
index 4960ac07e..2ff05666b 100644
--- a/xpcom/io/nsLocalFileWin.cpp
+++ b/xpcom/io/nsLocalFileWin.cpp
@@ -1630,8 +1630,7 @@ nsLocalFile::Normalize()
// "..." remove from path (any number of dots > 2)
//
// The last form is something that Windows 95 and 98 supported and
- // is a shortcut for changing up multiple directories. Windows XP
- // and ilk ignore it in a path, as is done here.
+ // is a shortcut for changing up multiple directories. We ignore this form.
int32_t len, begin, end = rootIdx;
while (end < (int32_t)path.Length()) {
// find the current segment (text between the backslashes) to
diff --git a/xpcom/reflect/xptcall/md/win32/xptcstubs_x86_64.cpp b/xpcom/reflect/xptcall/md/win32/xptcstubs_x86_64.cpp
index 8ff479d1e..2ba099c8a 100644
--- a/xpcom/reflect/xptcall/md/win32/xptcstubs_x86_64.cpp
+++ b/xpcom/reflect/xptcall/md/win32/xptcstubs_x86_64.cpp
@@ -9,7 +9,7 @@
#include "xptiprivate.h"
/*
- * This is for Windows XP 64-Bit Edition / Server 2003 for AMD64 or later.
+ * This is for Windows 64-Bit.
*/
extern "C" nsresult