summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/autoload.rb
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2011-02-01 16:48:09 -0800
committerMarkus Roberts <Markus@reality.com>2011-02-01 16:48:09 -0800
commit392504a1eb49820711fe605e795fff897b5f5fcf (patch)
treecd494dafb3df1cb13ed77fcca45eee6a64a72f8f /lib/puppet/util/autoload.rb
parentadb8c7994ea7d2d30aaea698fbe08727ed553fef (diff)
downloadpuppet-392504a1eb49820711fe605e795fff897b5f5fcf.tar.gz
puppet-392504a1eb49820711fe605e795fff897b5f5fcf.tar.xz
puppet-392504a1eb49820711fe605e795fff897b5f5fcf.zip
Fix to fix for #5755 -- backref serialization issues in zaml
This commit addresses the original issue that the change reverted in the previous commit for #5755 was intended to fix by removing the special case on labels in emit (lables, even if they are never generated, are not "new lines" and thus @recent_nl should always be set to false when one is emitted). It also partially addresses a related issue wherein temporary strings generated when field names are constructed recycle their object_id (they are temporary) and thus cause incorrect back references. This commit "fixes" the problem by never generating backrefs to strings (treating them as immutable). It does not address other suspected issues such as thread safety durring serialization due to the use of class variables to store the seen-object hash or the use of object ids as "permanently unique" identifiers. Paired with: Daniel Pittman Advice & Commiseration: Jesse Wolfe
Diffstat (limited to 'lib/puppet/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions