delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/14/13:03:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 14 Nov 2002 13:03:56 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: console title
Message-ID: <20021114180356.GB2581@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20021114174824 DOT GA3238 AT redhat DOT com> <Pine DOT GSO DOT 4 DOT 44 DOT 0211141250490 DOT 4275-100000 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.44.0211141250490.4275-100000@slinky.cs.nyu.edu>
User-Agent: Mutt/1.5.1i

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019