VirtualBox

Changeset 41670 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Jun 12, 2012 2:26:17 PM (12 years ago)
Author:
vboxsync
Message:

RTEnvClone: don't return an error if we found elements without a proper translation (xtracker 5667)

Location:
trunk/include/iprt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/env.h

    r28800 r41670  
    5555 * environment array.
    5656 *
    57  * @returns IPRT status code. Typical error is VERR_NO_MEMORY.
     57 * @returns IPRT status code. Typical error is VERR_NO_MEMORY. Another
     58 * possible return code is VWRN_NO_TRANSLATION if EnvToClone is RTENV_DEFAULT
     59 * and there was no translation available for one environment variable. In
     60 * that case, the resulting environment will contain fewer elements than the
     61 * original environment.
    5862 *
    5963 * @param   pEnv        Where to store the handle of the new environment block.
  • trunk/include/iprt/err.h

    r40372 r41670  
    757757/** Error while characters translation (unicode and so). */
    758758#define VERR_NO_TRANSLATION                 (-58)
     759/** Error while characters translation (unicode and so). */
     760#define VWRN_NO_TRANSLATION                 58
    759761/** Encountered unicode code point which is reserved for use as endian indicator (0xffff or 0xfffe). */
    760762#define VERR_CODE_POINT_ENDIAN_INDICATOR    (-59)
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