Modify

Ticket #150 (closed defect: invalid)

Opened 4 years ago

Last modified 3 days ago

Typo in emitter.c

Reported by: spitzak@… Owned by: xi
Priority: normal Component: libyaml
Severity: normal Keywords:
Cc:

Description (last modified by xi) (diff)

In libyaml stable branch there appears to be a typo, here is a patch:

--- src/emitter.c       (revision 369)
+++ src/emitter.c       (working copy)
@@ -1154,7 +1154,7 @@
             break;

         case YAML_MAPPING_START_EVENT:
-            if (!yaml_emitter_check_empty_sequence(emitter))
+            if (!yaml_emitter_check_empty_mapping(emitter))
                 return 0;
             length += emitter->anchor_data.anchor_length
                 + emitter->tag_data.handle_length

Attachments

Change History

comment:1 Changed 4 years ago by spitzak@…

  • Component changed from pyyaml to libyaml

comment:2 Changed 4 years ago by xi

  • Description modified (diff)

comment:3 Changed 4 years ago by xi

  • Status changed from new to closed
  • Resolution set to fixed

Thank you for the patch, applied in [370].

comment:4 Changed 3 days ago by simas <kerdos@…>

 Cipto Junaedy is a customer research expert. "There are plenty of safe, effective HCA nutritional supplement out there. Finding one with  Unit Link Terbaik di Indonesia Commonwealth Life Investra Link 60% HCA with no food additives is vital."

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.