• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/libxmlrpc/0003-non-wchar-build.patch
Thomas PetazzoniThomas Petazzoni committed 56c7bb5760e27 Dec 2014
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
Disable wide-char specific code
2
​
3
The vast majority of the libxmlrpc code nicely handles the absence of
4
wide char support, except at one location, which is fixed by this
5
patch.
6
​
7
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8
​
9
Index: b/src/xmlrpc_decompose.c
10
===================================================================
11
--- a/src/xmlrpc_decompose.c
12
+++ b/src/xmlrpc_decompose.c
13
@@ -217,7 +217,11 @@
14
         xmlrpc_strfree(*decompRootP->store.Tstring.valueP);
15
         break;
16
     case 'w':
17
+#if HAVE_UNICODE_WCHAR
18
         free((void*)*decompRootP->store.TwideString.valueP);
19
+#else
20
+   XMLRPC_ASSERT(false);
21
+#endif
22
         break;
23
     case '6':
24
         free((void*)*decompRootP->store.TbitString.valueP);
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.