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
commit5754542b5db870db69527c51e5c7a81ee3328721 (patch)
tree61c739700043429e820c198c489f726dcea82525 /sal
parent0ff37f46d3fe1f4d7e3789feb6b8b8c88007a820 (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 fcdee3db204b..0da59a7bd866 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;