Changeset 3727 for branches/libc-0.6/src


Ignore:
Timestamp:
Mar 17, 2011, 11:26:41 PM (14 years ago)
Author:
bird
Message:

0.6: Backported r3726: b_nativeSymlinkCreate.c: Symlinks were created on byte to long. References #200.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/libc-0.6/src/emx/src/lib/sys/b_nativeSymlinkCreate.c

    r3069 r3727  
    142142    HFILE   hf = -1;
    143143    ULONG   ul = 0;
    144     int rc = DosOpen((PCSZ)pszNativePath, &hf, &ul, cchTarget + 1, FILE_NORMAL,
     144    int rc = DosOpen((PCSZ)pszNativePath, &hf, &ul, cchTarget, FILE_NORMAL,
    145145                     OPEN_ACTION_CREATE_IF_NEW | OPEN_ACTION_FAIL_IF_EXISTS,
    146146                     OPEN_FLAGS_NOINHERIT | OPEN_SHARE_DENYNONE | OPEN_ACCESS_READWRITE,
Note: See TracChangeset for help on using the changeset viewer.