Changeset 3224


Ignore:
Timestamp:
Apr 29, 2007, 8:32:02 PM (18 years ago)
Author:
bird
Message:

Resolve the path before attempting to load anything.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/essentials/dev-lang/perl/os2/dl_os2.c

    r3220 r3224  
    113113            return 0;
    114114        }
    115         if ((rc = DosLoadModule(fail, sizeof fail, (char*)path, &handle)) == 0)
     115        beg = tmp;
     116        if (!_realrealpath(path, tmp, sizeof(tmp)))
     117            beg = path;
     118        if ((rc = DosLoadModule(fail, sizeof fail, (char *)beg, &handle)) == 0)
    116119                goto ret;
    117120
Note: See TracChangeset for help on using the changeset viewer.