[svn:parrot] r37141 - trunk/examples/tools
NotFound at svn.parrot.org
NotFound at svn.parrot.org
Thu Mar 5 23:28:26 UTC 2009
Author: NotFound
Date: Thu Mar 5 23:28:26 2009
New Revision: 37141
URL: https://trac.parrot.org/parrot/changeset/37141
Log:
[examples] spell fix and cosmetic changes
Modified:
trunk/examples/tools/pbc_checker.cpp
Modified: trunk/examples/tools/pbc_checker.cpp
==============================================================================
--- trunk/examples/tools/pbc_checker.cpp Thu Mar 5 22:34:41 2009 (r37140)
+++ trunk/examples/tools/pbc_checker.cpp Thu Mar 5 23:28:26 2009 (r37141)
@@ -47,7 +47,7 @@
switch(c) {
case FpEncodingIEEE_754_8: return "IEEE 754 8 byte double";
case FpEncodingIEEE_i386_12: return "i386 little endian 12 byte long double";
- case FpEncodingIEEE_754_16: return "IEEE 754 16 byte lobg double";
+ case FpEncodingIEEE_754_16: return "IEEE 754 16 byte long double";
default: return unknown;
}
}
@@ -215,6 +215,8 @@
//**********************************************************************
+// Check that segments does not overlap
+
void check_overlap(const std::vector<DirEntry> & directory)
{
unsigned int entries = directory.size();
@@ -501,6 +503,7 @@
unsigned long segsize = read_opcode(pbcfile);
cout << "Segment size: " << segsize << '\n';
+ // Alignment bug?
pbcfile.ignore(8);
/*
pbcfile.ignore(16 - opcode_size);
@@ -631,6 +634,7 @@
}
break;
default:
+ // This must have been catched before reaching this point
throw std::logic_error("Bad byte order");
}
return result;
More information about the parrot-commits
mailing list