Author: pluto
Date: Tue Sep  5 17:02:43 2006
New Revision: 7718

Modified:
   backtracexx/backtracexx.cpp
Log:
- handle empty dli_fname.


Modified: backtracexx/backtracexx.cpp
==============================================================================
--- backtracexx/backtracexx.cpp (original)
+++ backtracexx/backtracexx.cpp Tue Sep  5 17:02:43 2006
@@ -90,7 +90,8 @@
                                                        free( demangled );
                                        }
                                }
-                               os << " from " << info.dli_fname;
+                               if ( info.dli_fname && strlen( info.dli_fname ) 
)
+                                       os << " from " << info.dli_fname;
                        }
                        else
                                os << "??";
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to