[Jifty-commit] r2021 - jifty/trunk/lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Thu Oct 12 17:34:45 EDT 2006
Author: nelhage
Date: Thu Oct 12 17:34:44 2006
New Revision: 2021
Modified:
jifty/trunk/lib/Jifty/YAML.pm
Log:
Reverting to dumping using YAML.pm *again* :/
Modified: jifty/trunk/lib/Jifty/YAML.pm
==============================================================================
--- jifty/trunk/lib/Jifty/YAML.pm (original)
+++ jifty/trunk/lib/Jifty/YAML.pm Thu Oct 12 17:34:44 2006
@@ -21,7 +21,14 @@
if ( eval { require YAML::Syck; YAML::Syck->VERSION(0.71) } ) {
*Load = *YAML::Syck::Load;
- *Dump = *YAML::Syck::Dump;
+
+
+ require YAML;
+ # Use YAML::Dump for the moment since YAML.pm segfaults on
+ # reading stupidly long (~20K characters) double-quoted
+ # strings, and we need to produce YAML.pm-readable output.
+ *Dump = *YAML::Dump;
+ #*Dump = *YAML::Syck::Dump;
*LoadFile = *YAML::Syck::LoadFile;
*DumpFile = *YAML::Syck::DumpFile;
More information about the Jifty-commit
mailing list