Merge branch 'libreoffice-3-4' of ssh://git.freedesktop.org/git/libreoffice/libs-core into libreoffice-3-4

This commit is contained in:
Petr Mladek 2011-04-06 14:07:52 +02:00
commit b768aff762

View file

@ -216,12 +216,12 @@ get_app_path( const char *pAppExec )
char pRealPath[PATH_MAX];
rtl_uString *pResult;
char *pPath = strdup( pAppExec );
pPath = dirname( pPath );
char *pOrigPath = strdup( pAppExec );
char *pPath = dirname( pOrigPath );
realpath( pPath, pRealPath );
pResult = charp_to_ustr( pRealPath );
free( pPath );
free( pOrigPath );
return pResult;
}