User forums > Help

Problem with a call to ar

<< < (2/4) > >>

oBFusCATed:
Alpha: Can you look at this problem?

Alpha:

--- Quote from: oBFusCATed on February 01, 2013, 12:27:10 am ---Alpha: Can you look at this problem?

--- End quote ---
Will do, as time permits.

Alpha:

--- Quote from: Alpha on February 01, 2013, 04:05:23 am ---[...] as time permits.

--- End quote ---
... Might take a little longer than expected.  I seem to have killed my package manager.  (If anyone happens to know what to do when update-initramfs: Generating /boot/initrd.img-3.2.0-37-generic-pae hangs indefinitely, you could save me a reinstall.)

oBFusCATed:
Probably you can use a rescue-cd

Alpha:
Sorry, I have not yet been able to test, however, this seems to be the section that is causing the problem.

--- Code: ---Index: src/sdk/compiler.cpp
===================================================================
--- src/sdk/compiler.cpp        (revision 8834)
+++ src/sdk/compiler.cpp        (working copy)
@@ -960,7 +960,9 @@
         else if (node->GetName() == wxT("Command"))
         {
             wxString cmd = node->GetAttribute(wxT("name"), wxEmptyString);
-            CompilerTool tool(value, node->GetAttribute(wxT("ext"), wxEmptyString),
+            wxString unEscape = value;
+            unEscape.Replace(wxT("\\n"), wxT("\n")); // a single tool can support multiple commands
+            CompilerTool tool(unEscape, node->GetAttribute(wxT("ext"), wxEmptyString),
                               node->GetAttribute(wxT("gen"), wxEmptyString));
             CommandType cmdTp = ctCount;
             if (cmd == wxT("CompileObject"))


--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version