VirtualBox

Changeset 2703 in kBuild for trunk/src/lib/nt/nthlpcore.c


Ignore:
Timestamp:
Nov 21, 2013 12:26:35 AM (11 years ago)
Author:
bird
Message:

NDEBUG and other adjustments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/nt/nthlpcore.c

    r2702 r2703  
    3434#include <errno.h>
    3535#include "nthlp.h"
    36 #if 1
     36#ifndef NDEBUG
    3737# include <stdio.h>
    3838#endif
     
    223223            return EEXIST;
    224224        /* EXDEV            = 18 */
     225        case STATUS_NOT_SAME_DEVICE:
     226            return EXDEV;
    225227        /* ENODEV           = 19 */
    226228        /* ENOTDIR          = 20 */
     
    344346    }
    345347
    346 #if 1
     348#ifndef NDEBUG
    347349    __debugbreak();
    348350    fprintf(stderr, "rcNt=%#x (%d)\n", rcNt, rcNt);
     
    410412        case ERROR_TOO_MANY_LINKS:          errno = EMLINK; break;
    411413#endif
     414
     415        case ERROR_SHARING_VIOLATION:
     416            errno = ETXTBSY;
     417            break;
    412418    }
    413419
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette