VirtualBox

Changeset 24010 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 23, 2009 8:28:33 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53849
Message:

don't use <ctype.h> on UTF-8.

Location:
trunk/src/VBox/Devices
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevSB16.cpp

    r23970 r24010  
    15651565    s->port=qemu_get_be32 (f);
    15661566    s->ver=qemu_get_be32 (f);
     1567
    15671568    s->in_index=qemu_get_be32 (f);
    15681569    s->out_data_len=qemu_get_be32 (f);
  • trunk/src/VBox/Devices/Network/DrvTAP.cpp

    r22277 r24010  
    2828
    2929#include <iprt/assert.h>
     30#include <iprt/ctype.h>
    3031#include <iprt/file.h>
    3132#include <iprt/string.h>
     
    5758# include <stropts.h>
    5859# include <fcntl.h>
    59 # include <ctype.h>
    6060# include <stdlib.h>
    6161# include <stdio.h>
     
    647647    {
    648648        size_t cch = strlen(pThis->pszDeviceName);
    649         if (cch > 1 && isdigit(pThis->pszDeviceName[cch - 1]) != 0)
     649        if (cch > 1 && RT_C_IS_DIGIT(pThis->pszDeviceName[cch - 1]) != 0)
    650650            iPPA = pThis->pszDeviceName[cch - 1] - '0';
    651651    }
     
    921921     * Check that no-one is attached to us.
    922922     */
    923     AssertMsgReturn(PDMDrvHlpNoAttach(pDrvIns) == VERR_PDM_NO_ATTACHED_DRIVER, 
     923    AssertMsgReturn(PDMDrvHlpNoAttach(pDrvIns) == VERR_PDM_NO_ATTACHED_DRIVER,
    924924                    ("Configuration error: Not possible to attach anything to this driver!\n"),
    925925                    VERR_PDM_DRVINS_NO_ATTACH);
     
    10941094    NULL,
    10951095    /* pfnDetach */
    1096     NULL, 
     1096    NULL,
    10971097    /* pfnPowerOff */
    1098     NULL, 
     1098    NULL,
    10991099    /* pfnSoftReset */
    11001100    NULL,
Note: See TracChangeset for help on using the changeset viewer.

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