[Libreoffice-commits] core.git: sal/osl

Chris Sherlock chris.sherlock79 at gmail.com
Sat Jul 22 09:39:04 UTC 2017


 sal/osl/w32/backtrace.cxx |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 87b333f749a810cdd9f58be80c257d5dcd727dad
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Sat Jul 22 19:37:25 2017 +1000

    osl: fix w32/backtrace.cxx comment
    
    Change-Id: Id6f941a9ef62827d7e4aa1d8ad4af0494470ea8e

diff --git a/sal/osl/w32/backtrace.cxx b/sal/osl/w32/backtrace.cxx
index b559c5e87fc0..a8a4cf445e9f 100644
--- a/sal/osl/w32/backtrace.cxx
+++ b/sal/osl/w32/backtrace.cxx
@@ -36,11 +36,11 @@ OUString osl::detail::backtraceAsString(sal_uInt32 maxDepth)
     SymInitialize( hProcess, nullptr, true );
 
     std::unique_ptr<void*[]> aStack(new void*[ maxDepth ]);
-    // <https://msdn.microsoft.com/en-us/library/windows/desktop/
-    // bb204633(v=vs.85).aspx> "CaptureStackBackTrace function" claims that you
-    // "can capture up to MAXUSHORT frames", and on Windows Server 2003 and
-    // Windows XP it even "must be less than 63", but assume that a too large
-    // input value is clamped internally, instead of resulting in an error:
+    // https://msdn.microsoft.com/en-us/library/windows/desktop/bb204633.aspx
+    // "CaptureStackBackTrace function" claims that you "can capture up to
+    // MAXUSHORT frames", and on Windows Server 2003 and Windows XP it even
+    // "must be less than 63", but assume that a too large input value is
+    // clamped internally, instead of resulting in an error:
     sal_uInt32 nFrames = CaptureStackBackTrace( 0, static_cast<ULONG>(maxDepth), aStack.get(), nullptr );
 
     SYMBOL_INFO  * pSymbol;


More information about the Libreoffice-commits mailing list