Author: cwittich
Date: Wed Sep 5 21:02:30 2007
New Revision: 28881
URL:
http://svn.reactos.org/svn/reactos?rev=28881&view=rev
Log:
-allocate the buffer for the NamedPipeReader on Linux too
-use linux path as default in txtmode.cfg
Modified:
trunk/reactos/tools/sysreg/namedpipe_reader.cpp
trunk/reactos/tools/sysreg/txtmode.cfg
Modified: trunk/reactos/tools/sysreg/namedpipe_reader.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/namedpipe_rea…
==============================================================================
--- trunk/reactos/tools/sysreg/namedpipe_reader.cpp (original)
+++ trunk/reactos/tools/sysreg/namedpipe_reader.cpp Wed Sep 5 21:02:30 2007
@@ -90,6 +90,8 @@
else
{
cout << "NamedPipeReader::openPipe> successfully opened pipe"
<< endl;
+ m_BufferLength = 100;
+ m_Buffer = (char*)malloc(sizeof(char) * m_BufferLength);
return true;
}
#endif
Modified: trunk/reactos/tools/sysreg/txtmode.cfg
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/txtmode.cfg?r…
==============================================================================
--- trunk/reactos/tools/sysreg/txtmode.cfg (original)
+++ trunk/reactos/tools/sysreg/txtmode.cfg Wed Sep 5 21:02:30 2007
@@ -10,8 +10,8 @@
;
; 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
;