jsiicckk / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

Failed to compile on Solaris #347

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
google-breakpad/src/common/solaris/dump_symbols.cc",
line 654: Error: Unexpected ")" -- Check for matching parenthesis.

Patch:

svn diff ./src/common/solaris/dump_symbols.cc
Index: src/common/solaris/dump_symbols.cc
===================================================================
--- src/common/solaris/dump_symbols.cc  (revision 428)
+++ src/common/solaris/dump_symbols.cc  (working copy)
@@ -651,7 +651,7 @@
     return false;
   void *obj_base = mmap(NULL, st.st_size,
                         PROT_READ, MAP_PRIVATE, obj_fd, 0);
-  if (obj_base == MAP_FAILED))
+  if (obj_base == MAP_FAILED)
     return false;
   MmapWrapper map_wrapper(obj_base, st.st_size);
   GElf_Ehdr elf_header;

Original issue reported on code.google.com by ginnc...@gmail.com on 12 Nov 2009 at 6:40

GoogleCodeExporter commented 9 years ago
Commited(revision 476).  Thanks and sorry for the bad checkin last time.

Original comment by neal...@gmail.com on 8 Jan 2010 at 11:04