From 7cc946b793026474e4a8ec96d64e13068d3c42fa Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Wed, 5 Sep 2007 17:02:30 +0000 Subject: [PATCH] -allocate the buffer for the NamedPipeReader on Linux too -use linux path as default in txtmode.cfg svn path=/trunk/; revision=28881 --- reactos/tools/sysreg/namedpipe_reader.cpp | 2 ++ reactos/tools/sysreg/txtmode.cfg | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/reactos/tools/sysreg/namedpipe_reader.cpp b/reactos/tools/sysreg/namedpipe_reader.cpp index 50a3b9b59fa..76fef873f44 100644 --- a/reactos/tools/sysreg/namedpipe_reader.cpp +++ b/reactos/tools/sysreg/namedpipe_reader.cpp @@ -90,6 +90,8 @@ namespace System_ else { cout << "NamedPipeReader::openPipe> successfully opened pipe" << endl; + m_BufferLength = 100; + m_Buffer = (char*)malloc(sizeof(char) * m_BufferLength); return true; } #endif diff --git a/reactos/tools/sysreg/txtmode.cfg b/reactos/tools/sysreg/txtmode.cfg index 682cf0b1a55..be6b24cafba 100644 --- a/reactos/tools/sysreg/txtmode.cfg +++ b/reactos/tools/sysreg/txtmode.cfg @@ -10,8 +10,8 @@ ROS_EMU_TYPE=qemu ; ; This variable sets the path to the emulator ; -ROS_EMU_PATH=E:\reactos\qemu\qemu.exe -;ROS_EMU_PATH=/usr/bin/qemu +;ROS_EMU_PATH=E:\reactos\qemu\qemu.exe +ROS_EMU_PATH=/usr/bin/qemu ; ROS_HDD_IMAGE ;