diff options
author | Hennes Rohling <hro@openoffice.org> | 2001-02-20 12:03:22 +0000 |
---|---|---|
committer | Hennes Rohling <hro@openoffice.org> | 2001-02-20 12:03:22 +0000 |
commit | c23e94edd1363da92ca70e2ce635d9e6ea32307e (patch) | |
tree | 901b6aa0b8dc4c1530c032254ccc2f60363d3206 /sal | |
parent | c4b2ed0d5b5690d2752adf3fff42776603e5e0ca (diff) |
#84153# Retrieve system dependend path before calling Windows API
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/process.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sal/osl/w32/process.c b/sal/osl/w32/process.c index a15b2cff3005..20383dc80646 100644 --- a/sal/osl/w32/process.c +++ b/sal/osl/w32/process.c @@ -2,9 +2,9 @@ * * $RCSfile: process.c,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: dic $ $Date: 2001-02-12 18:12:11 $ + * last change: $Author: hro $ $Date: 2001-02-20 13:03:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -301,7 +301,10 @@ oslProcessError SAL_CALL osl_executeProcess(rtl_uString *strImageName, (osl_searchNormalizedPath( strImageName, NULL, &strPath) != osl_Process_E_None)) { rtl_uString_newFromString( &strPath, strImageName); + osl_getSystemPathFromNormalizedPath( strPath, &strPath ); } + else + return osl_Process_E_NotFound; n = rtl_uString_getLength(strPath) + 1; |