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

Bug#35288: ispell bug 35288



I basically accept the upstream developer's position.  Here are my
comments to his response.

> > Torsten's suggestion of screwing backwards compatibility is not
> > acceptable.

OK.  I haven't seen any systems which support SysV termio yet don't
support the POSIX.1 termios, but I accept that there may be.  On a side
note, future systems are more likely to stick to POSIX and eventually
throw away legacy rubbish, so it may be worthwhile to make termios the
primary terminal interface API and revert to others on systems that
don't speak POSIX.

> > The real bug is in glibc, not in ispell.

Yes, assuming glibc _claims_ to support termio.

It is in fact quite easy to fix by redefining the appropriate constants
in <termio.h> after #include <termios.h>.  This is how it is done in
Digital UNIX, for instance.  Shall we file a bug report against glibc?

> > Glibc has
> > failed to properly support backwards compatibility with termio.  Until
> > glibc is fixed, the suggested patch is the preferred solution.

That's fine with me.  After all, support for all existing UNIX terminal
interfaces just can't be achieved without heavy #ifdefing (or resorting
to some wrapper library).

Thanks,

Nikita


Reply to: