Add a . to an empty path to make a relative path, before the initial /
is added.
Modified: branches/xmlbuildsystem/reactos/tools/rbuild/XML.cpp
_____
Modified: branches/xmlbuildsystem/reactos/tools/rbuild/XML.cpp
--- branches/xmlbuildsystem/reactos/tools/rbuild/XML.cpp
2005-02-02 23:07:33 UTC (rev 13392)
+++ branches/xmlbuildsystem/reactos/tools/rbuild/XML.cpp
2005-02-03 15:43:51 UTC (rev 13393)
@@ -187,7 +187,7 @@
#ifdef WIN32
if ( i ) out += "/";
#else
- out += "/";
+ out += out.size() ? "/" : "./";
#endif
out += vout[i];
}
Make dev node count correct, since for example Mac Virtual PC BIOS
reports slightly wrong number which must be &0xFF.
This patch removes "Memory allocation failed: Out of memory" error while
booting Freeldr.
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c
_____
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c
--- trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c
2005-02-01 21:21:33 UTC (rev 13386)
+++ trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c
2005-02-02 15:42:48 UTC (rev 13387)
@@ -351,6 +351,9 @@
x = PnpBiosGetDeviceNodeCount(&NodeSize, &NodeCount);
+ NodeCount &= 0xFF; // needed since some fscked up BIOSes return
+ // wrong info (e.g. Mac Virtual PC)
+ // e.g. look:
http://my.execpc.com/~geezer/osd/pnp/pnp16.c
if (x != 0 || NodeSize == 0 || NodeCount == 0)
{
DbgPrint((DPRINT_HWDETECT, "PnP-BIOS failed to enumerate device
nodes\n"));