VirtualBox

Changeset 16808 in vbox for trunk/src


Ignore:
Timestamp:
Feb 17, 2009 1:28:43 AM (16 years ago)
Author:
vboxsync
Message:

RTErrConvertFromErrno: @todos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/err/RTErrConvertFromErrno.cpp

    r9931 r16808  
    5858     * and OSes. So we let the compiler switch optimizer handle speed issues.)
    5959     *
    60      * This switch is arranged like the Linux i386 errno.h!
     60     * This switch is arranged like the Linux i386 errno.h! This switch is mirrored
     61     * by RTErrConvertToErrno.
    6162     */
    6263    switch (uNativeCode)
     
    7879#endif
    7980#ifdef ENXIO
    80         case ENXIO:             return VERR_DEV_IO_ERROR;
     81        case ENXIO:             return VERR_DEV_IO_ERROR; /**@todo fix this duplicate error */
    8182#endif
    8283#ifdef E2BIG
     
    9091#endif
    9192#ifdef ECHILD
    92         case ECHILD:            return VERR_PROCESS_NOT_FOUND; //...            /*  10 */
     93        case ECHILD:            return VERR_PROCESS_NOT_FOUND;                  /*  10 */ /**@todo fix duplicate error */
    9394#endif
    9495#ifdef EAGAIN
     
    99100#endif
    100101#ifdef EACCES
    101         case EACCES:            return VERR_ACCESS_DENIED;
     102        case EACCES:            return VERR_ACCESS_DENIED; /**@todo fix duplicate error */
    102103#endif
    103104#ifdef EFAULT
     
    108109#endif
    109110#ifdef EBUSY
    110         case EBUSY:             return VERR_DEV_IO_ERROR;
     111        case EBUSY:             return VERR_DEV_IO_ERROR; /**@todo fix duplicate error */
    111112#endif
    112113#ifdef EEXIST
     
    117118#endif
    118119#ifdef ENODEV
    119         case ENODEV:            return VERR_NOT_SUPPORTED;
     120        case ENODEV:            return VERR_NOT_SUPPORTED; /**@todo fix duplicate error */
    120121#endif
    121122#ifdef ENOTDIR
     
    129130#endif
    130131#ifdef ENFILE
    131         case ENFILE:            return VERR_TOO_MANY_OPEN_FILES;
     132        case ENFILE:            return VERR_TOO_MANY_OPEN_FILES; /**@Todo fix duplicate error */
    132133#endif
    133134#ifdef EMFILE
     
    159160#endif
    160161#ifdef EDOM
    161         case EDOM:              return VERR_INVALID_PARAMETER;
     162        case EDOM:              return VERR_INVALID_PARAMETER;  /**@todo fix duplicate error */
    162163#endif
    163164#ifdef ERANGE
    164         case ERANGE:            return VERR_INVALID_PARAMETER;
     165        case ERANGE:            return VERR_INVALID_PARAMETER;  /**@todo fix duplicate error */
    165166#endif
    166167#ifdef EDEADLK
     
    281282#endif
    282283#ifdef EOVERFLOW
    283         case EOVERFLOW:         return VERR_TOO_MUCH_DATA;
     284        case EOVERFLOW:         return VERR_TOO_MUCH_DATA;   /**@todo fix duplicate error */
    284285#endif
    285286#ifdef ENOTUNIQ
     
    287288#endif
    288289#ifdef EBADFD
    289         case EBADFD:            return VERR_INVALID_HANDLE;
     290        case EBADFD:            return VERR_INVALID_HANDLE; /**@todo fix duplicate error? */
    290291#endif
    291292#ifdef EREMCHG
     
    311312#endif
    312313#ifdef ERESTART
    313         case ERESTART:          return VERR_INTERRUPTED;
     314        case ERESTART:          return VERR_INTERRUPTED;/**@todo fix duplicate error?*/
    314315#endif
    315316#ifdef ESTRPIPE
     
    422423#endif
    423424#ifdef EDQUOT
    424         case EDQUOT:            return VERR_DISK_FULL;
     425        case EDQUOT:            return VERR_DISK_FULL; /**@todo fix duplicate error */
    425426#endif
    426427#ifdef ENOMEDIUM
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