- Timestamp:
- Aug 7, 2016 6:08:40 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
-
trunk/src/core/RpLibrary.cc
r5673 r6473 1791 1791 1792 1792 // check for binary data 1793 // FIXME: I've already appended a NUL-byte ofthis assuming that1793 // FIXME: I've already appended a NUL-byte to this assuming that 1794 1794 // it's a ASCII string. This test must come before. 1795 1795 if (Rappture::encoding::isBinary(value.c_str(), value.length())) { … … 2047 2047 return *this; 2048 2048 } 2049 if (compress == RPLIB_COMPRESS) { 2049 if ((compress == RPLIB_COMPRESS) || 2050 (Rappture::encoding::isBinary(fileBuf.bytes(), fileBuf.size()))) { 2050 2051 putData(path, fileBuf.bytes(), fileBuf.size(), append); 2051 2052 } else {
Note: See TracChangeset
for help on using the changeset viewer.