Changeset 3656


Ignore:
Timestamp:
Sep 26, 2009, 7:34:50 PM (16 years ago)
Author:
bird
Message:

os2ddk/unixfsctl.h: renamed ALLOW_DELETE to ALLOW_DEL_AND_REN as we want to be able to rename open files as well as delete them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libc/include/os2ddk/unixfsctl.h

    r3655 r3656  
    8989/** When set, a child process will inherit the parents credentials if set. */
    9090#define UNXFSCTL_CAP_PROCESS_CRED_INHERITANCE   (1UL << 11)
    91 /** Suppports using UTF-8 instead of the process code page. */
     91/** Supports using UTF-8 instead of the process code page. */
    9292#define UNXFSCTL_CAP_PROCESS_UTF_8              (1UL << 12)
    93 /** Supports the allow delete handle flag / unlinking open files. */
    94 #define UNXFSCTL_CAP_ALLOW_DELETE               (1UL << 14)
     93/** Supports the allow rename-and-delete handle flags.
     94 * When all clients opening a file sets this flag it is possible to relinking
     95 * (rename) and unlinking (deleting) it. */
     96#define UNXFSCTL_CAP_ALLOW_DEL_AND_REN          (1UL << 14)
    9597/** @} */
    9698
     
    548550
    549551
    550 /** @name Allows deleting of the open file.
    551  * This function is not applicable to FSCTL_PATHNAME..
    552  *
    553  * Mandatory when UNXFSCTL_CAP_ALLOW_DELETE is set.
    554  *
    555  * @todo Check if DosDelete does internal checks against open files before
    556  *       calling down into the IFS. If it does, we might need to add a function
    557  *       for unlinking files as well.
    558  * @{
    559  */
    560 #define UNX_FSCTL_ALLOW_DELETE          (UNX_FSCTL_BASE + 17UL)
     552/** @name Allows relinking of the open file.
     553 * This function is not applicable to FSCTL_PATHNAME.  The idea is that this is
     554 * going to be somewhat similar to the
     555 *
     556 * Mandatory when UNXFSCTL_CAP_ALLOW_DEL_AND_REN is set.
     557 *
     558 * @todo Check if DosDelete and DosMove do any internal checking against open
     559 *       files before calling down into the IFS.  If they do, we might need to
     560 *       add functions for renaming and unlinking files as well.
     561 * @{
     562 */
     563#define UNX_FSCTL_ALLOW_DEL_AND_REN     (UNX_FSCTL_BASE + 17UL)
    561564/** @} */
    562565
Note: See TracChangeset for help on using the changeset viewer.