C12 problem on leaf.dragonflybsd.org
I am somewhat reluctant to send this bug-report in case I end up
embarassing myself, having
missed something completely obvious.
I have just finished adding some new features etc to my C12 crypto-software
The software has been tested on OpenBSD-4.7/i386 and FreeBSD-9.0-RC3/i386 -
and it works
fine on those systems.
But when I test it on leaf.dragonflybsd.org (2.13-DEVELOPMENT x86_64) I hit
To cut a long story short, I have done some investigation and the problem
class Terminal (Terminal.h)
and in the method:
The calls to Terminal::Restore() are causing the problem; they seem to be
Terminal::RawInput() calls which are supposed to switch-off Local Echo and
Canonical-mode-processing etc, which is needed before an I/O operation; the
calls to select(2) and fgetc(3).
If I comment out the calls to Terminal::Restore() this solves that
problem, but creates a new problem (Which the Restore() method is supposed
to prevent); a screwed up Terminal on program exit.
I have no idea why there is a problem on leaf.dragonflybsd.org - it seems
very strange .... maybe I am wrong, but I conclude there is a problem
in the DragonFlyBSD operating system.
Robin Carey BSc