[Lldb-commits] [lldb] r105782 - /lldb/trunk/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
Eli Friedman
eli.friedman at gmail.com
Wed Jun 9 21:56:01 PDT 2010
Author: efriedma
Date: Wed Jun 9 23:56:00 2010
New Revision: 105782
URL: http://llvm.org/viewvc/llvm-project?rev=105782&view=rev
Log:
Expand AR_EFMT1 because the define is not present on Linux (and possibly
other systems).
Modified:
lldb/trunk/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
Modified: lldb/trunk/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp?rev=105782&r1=105781&r2=105782&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp (original)
+++ lldb/trunk/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp Wed Jun 9 23:56:00 2010
@@ -56,7 +56,7 @@
std::string str;
char *err;
str.assign ((const char *)data.GetData(&offset, 16), 16);
- if (str.find(AR_EFMT1) == 0)
+ if (str.find("#1/") == 0)
{
// If the name is longer than 16 bytes, or contains an embedded space
// then it will use this format where the length of the name is
More information about the lldb-commits
mailing list