[Box Backup-dev] Problem with console_read() on Windows XP
Chris Wilson
boxbackup-dev@fluffy.co.uk
Thu, 23 Feb 2006 22:00:13 +0000 (GMT)
Hi Mark,
> I think the problem is that the BufferSize parameter of console_read(..)
> is only 4. This is weird, because the size of the buffer variable
> (mBuffer) as it is declared in FdGetLine is 1024. Something goes wrong
> with sizeof(mBuffer) I think.
You're right, this is the problem. It's because we don't define NDEBUG as
a preprocessor option. Please could you update the project files and send
me the fixed versions?
Cheers, Chris.
--
_ ___ __ _
/ __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |