Changeset 6312


Ignore:
Timestamp:
May 4, 2016 11:27:22 AM (7 years ago)
Author:
gah
Message:

fixes for binary data in putFile, defer loader setting default value

Location:
branches/1.6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.6/gui/scripts/loader.tcl

    r6311 r6312  
    330330#   set up by the loader will be overwritten by the various widgets
    331331#   themselves when they try to set their default values.
    332 #
    333 #   This is called from a <Map> event to the loader (combobox).  This will
    334 #   get trigger the first time the loader is displayed.  The binding is
    335 #   then removed.
    336332#
    337333itcl::body Rappture::Loader::SetDefaultValue { value } {
  • branches/1.6/src/core/RpLibrary.cc

    r6311 r6312  
    20512051        putData(path, fileBuf.bytes(), fileBuf.size(), append);
    20522052    } else {
     2053        /* Always append a NUL-byte to the end of ASCII strings. */
    20532054        fileBuf.append("\0", 1);
    20542055        put(path, fileBuf.bytes(), "", append, RPLIB_TRANSLATE);
Note: See TracChangeset for help on using the changeset viewer.