Changeset 3726


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libc/src/kNIX/os2/b_nativeSymlinkCreate.c

    r3070 r3726  
    126126    HFILE   hf = -1;
    127127    ULONG   ul = 0;
    128     int rc = DosOpen((PCSZ)pszNativePath, &hf, &ul, cchTarget + 1, FILE_NORMAL,
     128    int rc = DosOpen((PCSZ)pszNativePath, &hf, &ul, cchTarget, FILE_NORMAL,
    129129                     OPEN_ACTION_CREATE_IF_NEW | OPEN_ACTION_FAIL_IF_EXISTS,
    130130                     OPEN_FLAGS_NOINHERIT | OPEN_SHARE_DENYNONE | OPEN_ACCESS_READWRITE,
Note: See TracChangeset for help on using the changeset viewer.