summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2005-05-23 14:52:37 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2005-05-23 14:52:37 +0000
commitae115107b6f64d142ae3e45363594564feb55161 (patch)
treea4cec4b15042f8afaf18e673c10d517fc1455cac /sal
parent8ef13a978a35a11f9d2b9205f6f0c4d2a6c01e1f (diff)
#i47940# Add terminating slash to directory component of stack frames
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/signal.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sal/osl/unx/signal.c b/sal/osl/unx/signal.c
index 2329e471e..4f6f5ac27 100644
--- a/sal/osl/unx/signal.c
+++ b/sal/osl/unx/signal.c
@@ -2,9 +2,9 @@
*
* $RCSfile: signal.c,v $
*
- * $Revision: 1.26 $
+ * $Revision: 1.27 $
*
- * last change: $Author: rt $ $Date: 2005-05-13 07:28:58 $
+ * last change: $Author: rt $ $Date: 2005-05-23 15:52:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -554,6 +554,9 @@ static int ReportCrash( int Signal )
szDirectory[dli_fname - dl_info.dli_fname] = 0;
dli_fdir = realpath( szDirectory, szCanonicDirectory ) ? szCanonicDirectory : szDirectory;
+
+ if ( *dli_fdir && dli_fdir[ strlen(dli_fdir) - 1 ] != '/' )
+ strcat( dli_fdir, "/" );
}
else
dli_fname = dl_info.dli_fname;