sal/osl/w32/backtrace.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
New commits: commit 87b333f749a810cdd9f58be80c257d5dcd727dad Author: Chris Sherlock <chris.sherloc...@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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits