Ignore:
Timestamp:
Nov 24, 2002, 9:45:05 PM (23 years ago)
Author:
umoeller
Message:

Sources as of 1.0.0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/dosh2.c

    r222 r229  
    412412 *
    413413 *@@added V0.9.16 (2001-10-08) [umoeller]
    414  */
    415 
    416 APIRET doshSearchPath(const char *pcszPath,     // in: path variable name (e.g. "PATH")
     414 *@@changed V1.0.0 (2002-11-23) [umoeller]: allowing NULL pcszPath to search for "PATH"
     415 */
     416
     417APIRET doshSearchPath(const char *pcszPath,     // in: path variable name; if NULL, we use "PATH"
    417418                      const char *pcszFile,     // in: file to look for (e.g. "LVM.EXE")
    418419                      PSZ pszExecutable,        // out: full path (e.g. "F:\os2\lvm.exe")
     
    423424    // get the PATH value
    424425    PCSZ pcszPathValue;
     426
     427    if (!pcszPath)
     428        pcszPath = "PATH";      // V1.0.0 (2002-11-23) [umoeller]
     429
    425430    if (!(arc = DosScanEnv((PSZ)pcszPath,
    426431#if __cplusplus
Note: See TracChangeset for help on using the changeset viewer.