Subject: Re: install/36560: sysinst progress output borked
To: None <install-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Julian Coleman <jdc@coris.org.uk>
List: netbsd-bugs
Date: 11/07/2007 23:30:03
The following reply was made to PR install/36560; it has been noted by GNATS.
From: Julian Coleman <jdc@coris.org.uk>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: install/36560: sysinst progress output borked
Date: Wed, 7 Nov 2007 22:27:27 +0000
Thanks for the test program - it allowed me to find the bug. It looks
like the appended patch should fix things. I think the other special
cased characters are OK - just carriage return handling is broken.
The missing 8-bit characters may also be the cause of PR 36832.
J
- - 8< - - - - - - - - - - - - - Cut here - - - - - - - - - - - - - >8 - -
--- /usr/src/lib/libcurses/addbytes.c 2007-05-29 07:07:52.000000000 +0100
+++ addbytes.c 2007-11-07 15:55:25.000000000 +0000
@@ -333,7 +333,7 @@
win->curx = *x;
return OK;
case L'\r':
- win->curx = 0;
+ *x = 0;
return OK;
case L'\n':
wclrtoeol(win);
- - 8< - - - - - - - - - - - - - Cut here - - - - - - - - - - - - - >8 - -
--
My other computer also runs NetBSD / Sailing at Newbiggin
http://www.netbsd.org/ / http://www.newbigginsailingclub.org/