[Box Backup-dev] Problem with console_read() on Windows XP
Martin Ebourne
boxbackup-dev@fluffy.co.uk
Thu, 23 Feb 2006 21:40:56 +0000
On Thu, 2006-02-23 at 22:38 +0100, Mark wrote:
> Hi Chris,
>
> 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.
That'd be because it's turned it into a pointer, so you get size of
pointer, not array.
Cheers,
Martin.