[DragonFlyBSD - Bug #2262] (Resolved) C12 problem on leaf.dragonflybsd.org

Peter Avalos via Redmine bugtracker-admin at leaf.dragonflybsd.org
Wed Dec 28 11:22:50 PST 2011


Issue #2262 has been updated by Peter Avalos.

Status changed from New to Resolved

Reported fixed in bug #2267.
----------------------------------------
Bug #2262: C12 problem on leaf.dragonflybsd.org
http://bugs.dragonflybsd.org/issues/2262

Author: Robin Carey
Status: Resolved
Priority: Normal
Assignee: 
Category: 
Target version: 


Dear DragonFlyBSD-bugs,

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
(available
from http://www.leopard.uk.com/C12).

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
a problem.

To cut a long story short, I have done some investigation and the problem
lies in:

class Terminal (Terminal.h)

and in the method:

Terminal::GetNextInputChar ().

The calls to Terminal::Restore() are causing the problem; they seem to be
over-riding the
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
particular
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.

-- 
Sincerely,

Robin Carey BSc


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account





More information about the Bugs mailing list