Ticket #65128: patch-filetree.diff

File patch-filetree.diff, 645 bytes (added by barracuda156, 3 years ago)

Like this?

  • lib/filetree.c

    old new  
    740740        size_t fspath1_size = 0, fspath2_size = 0;
    741741        size_t ns1_size = 0, ns2_size = 0;
    742742        const struct __xar_file_t * child1 = NULL, * child2 = NULL;
    743         const uint keys_to_ignore_count = 1;
    744         char * keys_to_ignore[keys_to_ignore_count] = { "id" }; // ID is allowed ot mismatch
     743//  const uint keys_to_ignore_count = 1;
     744    #define keys_to_ignore_count 1
     745    char * keys_to_ignore[keys_to_ignore_count] = { "id" }; // ID is allowed ot mismatch
    745746       
    746747        // If the two pointers match, call it the same.
    747748        if (f1 == f2)  {