diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2005-05-23 14:52:37 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2005-05-23 14:52:37 +0000 |
commit | ae115107b6f64d142ae3e45363594564feb55161 (patch) | |
tree | a4cec4b15042f8afaf18e673c10d517fc1455cac /sal | |
parent | 8ef13a978a35a11f9d2b9205f6f0c4d2a6c01e1f (diff) |
#i47940# Add terminating slash to directory component of stack frames
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/signal.c | 7 |
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; |