Changeset 2325


Ignore:
Timestamp:
Sep 26, 2005, 2:10:21 AM (20 years ago)
Author:
bird
Message:

Fixed symlink problem in the resolver.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/lib/sys/fs.c

    • Property cvs2svn:cvs-rev changed from 1.24 to 1.25
    r2324 r2325  
    10541054                    int cchSymlink = fsCleanPath(pszSymlink, fFlags, NULL);
    10551055
    1056                     /* Merge symlink with the path. */
     1056                    /* Merge the symlink with the path. */
    10571057                    int cchLeft = cchNativePath - (psz - pszNativePath);
    10581058                    if (*pszSymlink == '/' || *pszSymlink == '\\' || pszSymlink[1] == ':')
     
    10951095                        }
    10961096                        memcpy(pszPrev, pszSymlink, cchSymlink + 1);
    1097 
     1097                        cchNativePath += cchSymlink - (psz - pszPrev);
     1098
     1099                        /* restart this component. */
    10981100                        psz = pszPrev;
    10991101                        while (*psz != '/')
Note: See TracChangeset for help on using the changeset viewer.