diff --git a/CHANGELOG.md b/CHANGELOG.md index cf38581b1..d944e8bc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Zowe Common C Changelog +## `3.1.0` +- Bugfix: removed "ByteOutputStream" debug message, which was part of the `zwe` command output (#4??) + ## `3.0.0` - Feature: added javascript `zos.getStatvfs(path)` function to obtain file system information (#482). - Add support for LE 64-bit in isgenq.c (#422). diff --git a/c/yaml2json.c b/c/yaml2json.c index 9af3e5239..09331570a 100644 --- a/c/yaml2json.c +++ b/c/yaml2json.c @@ -731,8 +731,10 @@ ByteOutputStream *makeByteOutputStream(int chunkSize){ int bosWrite(ByteOutputStream *bos, char *data, int dataSize){ if (bos->size+dataSize > bos->capacity){ int extendSize = (bos->chunkSize > dataSize) ? bos->chunkSize : dataSize; +#ifdef NDEBUG printf("bos extend currSize=0x%x dataSize=0x%x chunk=0x%x extend=0x%x\n", bos->size,dataSize,bos->chunkSize,extendSize); +#endif int newCapacity = bos->capacity + extendSize; char *newData = safeMalloc(newCapacity,"BOS extend"); memcpy(newData,bos->data,bos->size);