projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79ee7f9
)
Don't bother writing out the trailing byte of an invalid SOH # sequence.
author
H. Peter Anvin
<hpa@zytor.com>
Fri, 1 Sep 2006 04:52:05 +0000
(21:52 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Fri, 1 Sep 2006 04:52:05 +0000
(21:52 -0700)
com32/lib/sys/xserial_write.c
patch
|
blob
|
history
diff --git
a/com32/lib/sys/xserial_write.c
b/com32/lib/sys/xserial_write.c
index
acac99d
..
51a89e8
100644
(file)
--- a/
com32/lib/sys/xserial_write.c
+++ b/
com32/lib/sys/xserial_write.c
@@
-66,7
+66,6
@@
ssize_t __xserial_write(struct file_info *fp, const void *buf, size_t count)
if (ch == '\1') {
state = st_1;
} else {
- state = st_0;
emit(ch);
}
break;
@@
-77,7
+76,6
@@
ssize_t __xserial_write(struct file_info *fp, const void *buf, size_t count)
ncolor = 0;
} else {
state = st_0;
- emit(ch);
}
break;
@@
-88,7
+86,6
@@
ssize_t __xserial_write(struct file_info *fp, const void *buf, size_t count)
state = st_3;
} else {
state = st_0;
- emit(ch);
}
break;
@@
-107,7
+104,6
@@
ssize_t __xserial_write(struct file_info *fp, const void *buf, size_t count)
state = st_0;
} else {
state = st_0;
- emit(ch);
}
break;
}