|
|
@@ -905,8 +905,9 @@ bool ConfigurationElement::interpret(ConfigurationData& Data) { |
|
|
|
) { // then translate the content! |
|
|
|
// Create the Content buffer... |
|
|
|
|
|
|
|
int BfrSize = Stopdex - Startdex; // How big a buffer do we need? |
|
|
|
char Bfr[BfrSize]; // Make one that size. |
|
|
|
int BfrSize = Stopdex - Startdex +1; // How big a buffer do we need? |
|
|
|
vector<char> heapBfr(BfrSize,0); // Make one that size. |
|
|
|
char *Bfr = &heabBfr[0]; |
|
|
|
|
|
|
|
copyDataCountLines(Bfr, Data, Startdex, Stopdex); // Get our data and ignore our lines. |
|
|
|
|
|
|
@@ -1097,8 +1098,9 @@ bool ConfigurationAttribute::interpret(ConfigurationData& Data) { |
|
|
|
|
|
|
|
// Read our data. |
|
|
|
|
|
|
|
int BfrSize = Stopdex - Startdex; // How big a buffer do we need? |
|
|
|
char Bfr[BfrSize]; // Make one that size. |
|
|
|
int BfrSize = Stopdex - Startdex +1; // How big a buffer do we need? |
|
|
|
vector<char> heapBfr(BfrSize,0); // Make one that size. |
|
|
|
char *Bfr = &heabBfr[0]; |
|
|
|
|
|
|
|
NewLines += copyDataCountLines(Bfr, Data, Startdex, Stopdex); // Get our data and count our lines. |
|
|
|
|