VirtualBox

Changeset 40979 in vbox


Ignore:
Timestamp:
Apr 18, 2012 6:14:03 PM (12 years ago)
Author:
vboxsync
Message:

Corrected two really old sins.

Location:
trunk
Files:
3 edited
2 moved

Legend:

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

    r40966 r40979  
    906906# define RTPathGetCurrent                               RT_MANGLER(RTPathGetCurrent)
    907907# define RTPathGetMode                                  RT_MANGLER(RTPathGetMode)
    908 # define RTPathHaveExt                                  RT_MANGLER(RTPathHaveExt)
    909 # define RTPathHavePath                                 RT_MANGLER(RTPathHavePath)
     908# define RTPathHasExt                                   RT_MANGLER(RTPathHasExt)
     909# define RTPathHasPath                                  RT_MANGLER(RTPathHasPath)
    910910# define RTPathJoin                                     RT_MANGLER(RTPathJoin)
    911911# define RTPathJoinA                                    RT_MANGLER(RTPathJoinA)
  • trunk/include/iprt/path.h

    r40826 r40979  
    332332
    333333/**
    334  * Checks if a path have an extension.
     334 * Checks if a path has an extension.
    335335 *
    336336 * @returns true if extension present.
     
    339339 */
    340340RTDECL(bool) RTPathHaveExt(const char *pszPath);
     341/** Misspelled, don't use.  */
     342#define RTPathHaveExt   RTPathHasExt
    341343
    342344/**
     
    347349 * @param   pszPath     Path to check.
    348350 */
    349 RTDECL(bool) RTPathHavePath(const char *pszPath);
     351RTDECL(bool) RTPathHasPath(const char *pszPath);
     352/** Misspelled, don't use.  */
     353#define RTPathHavePath  RTPathHasPath
    350354
    351355/**
  • trunk/src/VBox/Runtime/Makefile.kmk

    r40969 r40979  
    347347        common/path/RTPathExt.cpp \
    348348        common/path/RTPathFilename.cpp \
    349         common/path/RTPathHaveExt.cpp \
    350         common/path/RTPathHavePath.cpp \
     349        common/path/RTPathHasExt.cpp \
     350        common/path/RTPathHasPath.cpp \
    351351        common/path/RTPathJoin.cpp \
    352352        common/path/RTPathJoinA.cpp \
     
    11291129        common/path/RTPathExt.cpp \
    11301130        common/path/RTPathFilename.cpp \
    1131         common/path/RTPathHaveExt.cpp \
    1132         common/path/RTPathHavePath.cpp \
     1131        common/path/RTPathHasExt.cpp \
     1132        common/path/RTPathHasPath.cpp \
    11331133        common/path/RTPathJoin.cpp \
    11341134        common/path/RTPathJoinA.cpp \
     
    16371637        common/path/RTPathExt.cpp \
    16381638        common/path/RTPathFilename.cpp \
    1639         common/path/RTPathHaveExt.cpp \
    1640         common/path/RTPathHavePath.cpp \
     1639        common/path/RTPathHasExt.cpp \
     1640        common/path/RTPathHasPath.cpp \
    16411641        common/path/RTPathParse.cpp \
    16421642        common/path/RTPathRealDup.cpp \
  • trunk/src/VBox/Runtime/common/path/RTPathHasExt.cpp

    r40978 r40979  
    11/* $Id$ */
    22/** @file
    3  * IPRT - RTPathHaveExt
     3 * IPRT - RTPathHasExt
    44 */
    55
    66/*
    7  * Copyright (C) 2006-2007 Oracle Corporation
     7 * Copyright (C) 2006-2012 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    4141 * @param   pszPath     Path to check.
    4242 */
    43 RTDECL(bool) RTPathHaveExt(const char *pszPath)
     43RTDECL(bool) RTPathHasExt(const char *pszPath)
    4444{
    4545    return RTPathExt(pszPath) != NULL;
  • trunk/src/VBox/Runtime/common/path/RTPathHasPath.cpp

    r40978 r40979  
    11/* $Id$ */
    22/** @file
    3  * IPRT - RTPathHavePath
     3 * IPRT - RTPathHasPath
    44 */
    55
    66/*
    7  * Copyright (C) 2006-2007 Oracle Corporation
     7 * Copyright (C) 2006-2012 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    4141 * @param   pszPath     Path to check.
    4242 */
    43 RTDECL(bool) RTPathHavePath(const char *pszPath)
     43RTDECL(bool) RTPathHasPath(const char *pszPath)
    4444{
    4545#if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2)
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