bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building 64-bit version of ncurses on Solaris 8


From: Albert Chin
Subject: Re: Building 64-bit version of ncurses on Solaris 8
Date: Fri, 1 Feb 2002 14:12:42 -0600
User-agent: Mutt/1.2.5i

On Fri, Feb 01, 2002 at 02:52:55PM -0500, Thomas E. Dickey wrote:
> On Fri, 1 Feb 2002, Albert Chin wrote:
> 
> > > that's possible (though it might take some rework).  I could always make a
> > > fallback working about as well as safe_sprintf, but have been reluctant 
> > > to do
> > > so because it's a lot of code for a special case.  Someone else reported 
> > > this
> > > last month and simply ifdef'd the code to say it fails.
> >
> > If we contribute a patch to use the trio library, will you consider
> > it? It is kinda overkill but we've added it to other packages without
> > problems.
> 
> I don't know - just using the library would conflict with the other
> functions, right?  Actually, just 5 minutes or so ago, I was
> contemplating just writing a vsscanf -- less aggravation than another
> patch that someone was prompting me for.  (If I don't get sucked into
> that one, I may spend this evening writing one,).

The trio replacement functions are used as follows:
  #ifdef NEED_TRIO
  #include "trio.h"
  #define vsscanf trio_vsscanf
  #endif

So you'd have trio_* functions in the ncurses library.

> otoh, if the library wouldn't conflict, it might be useful to provide a
> fallback for snprintf where I've been using safe_sprintf (which I don't
> much like since it runs slowly - there are a couple of people who use it
> anyway).  That would require some testing, though.

I think trio has replacement for all the functions. The libxml project
currently uses it and we haven't seen any obvious problems.

We *need* a 64-bit version of the ncurses library so we're prepared to
submit a patch with *some* solution.

-- 
albert chin (address@hidden)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]