This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: console title
On Thu, Nov 14, 2002 at 12:52:04PM -0500, Igor Pechtchanski wrote:
>Are characters signed, or unsigned?
Take a look at the source:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_console.cc?rev=1.95&cvsroot=src
cgf
>> >--- fhandler_console.cc.orig Thu Nov 14 14:51:30 2002
>> >+++ fhandler_console.cc Thu Nov 14 15:01:54 2002
>> >@@ -1530,7 +1530,7 @@
>> > case gettitle:
>> > {
>> > int n = strlen (dev_state->my_title_buf);
>> >- if (*src < ' ' || *src >= '\177')
>> >+ if (*src < ' ' || *src >= 0377)
>> > {
>> > if (*src == '\007' && dev_state->state_ == gettitle)
>> > {
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/