Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
libuv
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hamidreza Anbaraki
libuv
Commits
0305e204
Commit
0305e204
authored
12 years ago
by
Bert Belder
Browse files
Options
Downloads
Plain Diff
Merge commit '
86ebe486
' into master
parents
1d942e2a
86ebe486
No related branches found
Tags
node-v0.7.5
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/unix/tty.c
+2
-2
2 additions, 2 deletions
src/unix/tty.c
src/win/error.c
+3
-0
3 additions, 0 deletions
src/win/error.c
with
5 additions
and
2 deletions
src/unix/tty.c
+
2
−
2
View file @
0305e204
...
...
@@ -76,8 +76,8 @@ int uv_tty_set_mode(uv_tty_t* tty, int mode) {
raw
.
c_cc
[
VMIN
]
=
1
;
raw
.
c_cc
[
VTIME
]
=
0
;
/* Put terminal in raw mode after
flush
ing */
if
(
tcsetattr
(
fd
,
TCSA
FLUSH
,
&
raw
))
{
/* Put terminal in raw mode after
drain
ing */
if
(
tcsetattr
(
fd
,
TCSA
DRAIN
,
&
raw
))
{
goto
fatal
;
}
...
...
This diff is collapsed.
Click to expand it.
src/win/error.c
+
3
−
0
View file @
0305e204
...
...
@@ -108,6 +108,9 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
case
ERROR_INVALID_PARAMETER
:
return
UV_EINVAL
;
case
ERROR_NO_UNICODE_TRANSLATION
:
return
UV_ECHARSET
;
case
ERROR_BROKEN_PIPE
:
return
UV_EOF
;
case
ERROR_BAD_PIPE
:
return
UV_EPIPE
;
case
ERROR_NO_DATA
:
return
UV_EPIPE
;
case
ERROR_PIPE_NOT_CONNECTED
:
return
UV_EPIPE
;
case
ERROR_PIPE_BUSY
:
return
UV_EBUSY
;
case
ERROR_SEM_TIMEOUT
:
return
UV_ETIMEDOUT
;
case
WSAETIMEDOUT
:
return
UV_ETIMEDOUT
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment