Displaying 4 results from an estimated 4 matches for "b7814be".
2015 Jul 03
0
boot... round 2
...l_cursor_enable(bool);
static inline int my_isspace(char c)
{
- return (unsigned char)c <= ' ';
+ return (unsigned char)c <= ' ' || (unsigned char)c == '\x7f';
}
int my_isxdigit(char c);
diff --git a/com32/menu/readconfig.c b/com32/menu/readconfig.c
index b7814be..a433fad 100644
--- a/com32/menu/readconfig.c
+++ b/com32/menu/readconfig.c
@@ -299,7 +299,7 @@ static char *copy_sysappend_string(char *dst, const char *src)
char c;
while ((c = *src++)) {
- if (c <= ' ' || c == '\x7f') {
+ if (my_isspace(c)) {
if (!was_space)...
2015 Jun 30
4
boot... round 2
On Tue, Jun 30, 2015 at 4:29 PM, poma <pomidorabelisima at gmail.com> wrote:
> "A real serial port that can reliably operate at 115200 8n1 may be
> necessary."
>
> Gene, is there something special in "A real serial port" usage, compared to emulated?
I should restate: A serial port that responds on BIOS IO port 3F8h
that can reliably operate at 115200 8n1 may
2015 Jul 01
5
boot... round 2
...char c;
while ((c = *src++)) {
- if (c <= ' ' || c == '\x7f') {
+ if (c <= ' ' && c == '\x7f') {
if (!was_space)
*dst++ = '_';
was_space = true;
diff --git a/com32/menu/readconfig.c b/com32/menu/readconfig.c
index 257b042..b7814be 100644
--- a/com32/menu/readconfig.c
+++ b/com32/menu/readconfig.c
@@ -299,7 +299,7 @@ static char *copy_sysappend_string(char *dst, const char *src)
char c;
while ((c = *src++)) {
- if (c <= ' ' || c == '\x7f') {
+ if (c <= ' ' && c == '\x7f...
2015 Jul 03
7
boot... round 2
On Fri, Jul 3, 2015 at 12:50 AM, poma via Syslinux <syslinux at zytor.com> wrote:
> - "unsigned char c;" does not solve the problem
>
> - "c >= 0 && c <= ' '" solves the problem for the current git
Could you try the following patch? Feel free to only apply the change
to readconfig.c if you want.
--
-Gene
diff --git