Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
e232cca4
Commit
e232cca4
authored
Dec 01, 2016
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change Win32 TODO(now)s to TODO(soon)s.
parent
559044bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
debug.c++
c++/src/kj/debug.c++
+3
-3
No files found.
c++/src/kj/debug.c++
View file @
e232cca4
...
...
@@ -136,7 +136,7 @@ Exception::Type typeOfErrno(int error) {
Exception
::
Type
typeOfWin32Error
(
DWORD
error
)
{
switch
(
error
)
{
// TODO(
now
): This needs more work.
// TODO(
soon
): This needs more work.
case
WSAETIMEDOUT
:
return
Exception
::
Type
::
OVERLOADED
;
...
...
@@ -356,8 +356,8 @@ void Debug::Fault::init(
const
char
*
file
,
int
line
,
Win32Error
osErrorNumber
,
const
char
*
condition
,
const
char
*
macroArgs
,
ArrayPtr
<
String
>
argValues
)
{
LPVOID
ptr
;
// TODO(
now
): Use FormatMessageW() instead.
// TODO(
now
): Why doesn't this work for winsock errors?
// TODO(
soon
): Use FormatMessageW() instead.
// TODO(
soon
): Why doesn't this work for winsock errors?
DWORD
result
=
FormatMessageA
(
FORMAT_MESSAGE_ALLOCATE_BUFFER
|
FORMAT_MESSAGE_FROM_SYSTEM
|
FORMAT_MESSAGE_IGNORE_INSERTS
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment