Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163050
b: refs/heads/master
c: 202c467
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Sep 18, 2009
1 parent 621eb5f commit 9c4f9ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: df58bee21ed218cb7dfb561a590b1bd2a99531cf
refs/heads/master: 202c4675c55ddf6b443c7e057d2dff6b42ef71aa
6 changes: 4 additions & 2 deletions trunk/drivers/char/pty.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,10 @@ static int pty_write(struct tty_struct *tty, const unsigned char *buf, int c)
/* Stuff the data into the input queue of the other end */
c = tty_insert_flip_string(to, buf, c);
/* And shovel */
tty_flip_buffer_push(to);
tty_wakeup(tty);
if (c) {
tty_flip_buffer_push(to);
tty_wakeup(tty);
}
}
return c;
}
Expand Down

0 comments on commit 9c4f9ef

Please sign in to comment.