LGTM http://codereview.appspot.com/5450119/diff/3/src/pkg/syscall/syscall_windows.go File src/pkg/syscall/syscall_windows.go (right): http://codereview.appspot.com/5450119/diff/3/src/pkg/syscall/syscall_windows.go#newcode83 src/pkg/syscall/syscall_windows.go:83: // deal with special go errors I would ...
13 years, 4 months ago
(2011-12-07 18:40:49 UTC)
#2
http://codereview.appspot.com/5450119/diff/3/src/pkg/syscall/syscall_windows.go File src/pkg/syscall/syscall_windows.go (right): http://codereview.appspot.com/5450119/diff/3/src/pkg/syscall/syscall_windows.go#newcode83 src/pkg/syscall/syscall_windows.go:83: // deal with special go errors Are you talking ...
13 years, 4 months ago
(2011-12-08 00:16:54 UTC)
#3
http://codereview.appspot.com/5450119/diff/3/src/pkg/syscall/syscall_windows.go
File src/pkg/syscall/syscall_windows.go (right):
http://codereview.appspot.com/5450119/diff/3/src/pkg/syscall/syscall_windows....
src/pkg/syscall/syscall_windows.go:83: // deal with special go errors
Are you talking about E2BIG, EACCES, EADDRINUSE, EADDRNOTAVAIL and so on? If
yes, then they are Errno at the moment, and I see no problem with that. Windows
allows applications to create their own specific errors (as long as their errno
is greater then APPLICATION_ERROR), and that is what these are. Why would you
want to see them separate from Errno?
Regardless, I would like to submit this CL as is and worry about GoErrors in the
future CL.
*** Submitted as http://code.google.com/p/go/source/detail?r=fafcd328da73 *** syscall: return error, not uintptr, when function returns error R=rsc ...
13 years, 4 months ago
(2011-12-08 01:07:31 UTC)
#4
Issue 5450119: code review 5450119: syscall: return error, not uintptr, when function retur...
(Closed)
Created 13 years, 4 months ago by brainman
Modified 13 years, 4 months ago
Reviewers:
Base URL:
Comments: 2