delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/01/29/11:00:51

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Date: Mon, 29 Jan 2001 10:51:06 -0500
From: Chet Ramey <chet AT nike DOT INS DOT CWRU DOT Edu>
To: cwilson AT ece DOT gatech DOT edu
Subject: Re: bash calls private readline functions
Cc: chet AT po DOT CWRU DOT edu, cygwin-apps AT sources DOT redhat DOT com
Reply-To: chet AT po DOT CWRU DOT edu
Message-ID: <1010129155106.AA64826.SM@nike.INS.CWRU.Edu>
Read-Receipt-To: chet AT po DOT CWRU DOT Edu
MIME-Version: 1.0
X-In-Reply-To: Message from cwilson AT ece DOT gatech DOT edu of Sat, 27 Jan 2001 14:48:06 -0500 (id <3A7325F6 DOT 2097BEB9 AT ece DOT gatech DOT edu>)

> > > These are defined in rlprivate.h:
> > >   _rl_set_screen_size
> > >   rl_last_func
> > >   rl_explicit_arg
> > >   rl_editing_mode
> > 
> > Thanks.  These have been fixed.
> 
> Out of curiosity, how did you fix these?  (I haven't seen an updated
> tarball on ftp.gnu.org for either readline or bash, so I'm not sure how
> you approached this).  Did you work around it in bash, so that bash
> doesn't call the private functions, or did you make them public in
> readline? (If the latter, then I need to modify my DLL exports to take
> that into account).

The three variables were moved to readline.h.  I added a new function,
rl_set_screen_size, made it part of the public interface, and changed
bash to call it.  rl_set_screen_size just calls _rl_set_screen_size.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    chet AT po DOT CWRU DOT Edu    http://cnswww.cns.cwru.edu/~chet/

- Raw text -


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