[Xorp-cvs] XORP cvs commit: xorp/rtrmgr

Pavlin Radoslavov pavlin@icir.org
Tue, 11 Oct 2005 19:12:25 -0700


> On Wed, Oct 12, 2005 at 02:25:06AM +0100, Bruce M Simpson wrote:
> > On Tue, Oct 11, 2005 at 06:20:42PM -0700, Pavlin Radoslavov wrote:
> > > 2. For the *.ll case specifically, I am planning to add now the
> > >    "%option never-interactive" option to each *.l and *.ll file
> > >    so they won't require any isatty() or fileno() solutions.
> > > 
> > > In either case, there is no need to hack the *.l and *.ll files.
> > 2 solves the problem. Blessed be!
> 
> The remaining Win32 tree breakage is *.l related in rtrmgr/, everything else
> compiles now. So if you wish to make this change now, please go ahead, I
> will get ssh ready in the xorpv image.

OK, I added the "%option never-interactive" to all *.l and *.ll
files and nuked the following embedded #define from those files:

#ifdef HOST_OS_WINDOWS
#define fileno(file) _fileno(file)
#define isatty(fd) _isatty(fd)
#endif


Pavlin