VirtualBox

Ignore:
Timestamp:
Oct 28, 2010 9:27:05 AM (14 years ago)
Author:
vboxsync
Message:

*: spelling fixes, thanks Timeless!

Location:
trunk/src/VBox/Runtime/common/misc
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/cidr.cpp

    r29845 r33540  
    6464        if (   RT_FAILURE(rc)
    6565            || cBits > 32
    66             || rc != VINF_SUCCESS) /* No trailing symbols are accptable after the digit */
     66            || rc != VINF_SUCCESS) /* No trailing symbols are acceptable after the digit */
    6767            return VERR_INVALID_PARAMETER;
    6868    }
  • trunk/src/VBox/Runtime/common/misc/getopt.cpp

    r28800 r33540  
    699699    /*
    700700     * Not a known option argument. If it starts with a switch char (-) we'll
    701      * fail with unkown option, and if it doesn't we'll return it as a non-option.
     701     * fail with unknown option, and if it doesn't we'll return it as a non-option.
    702702     */
    703703    if (*pszArgThis == '-')
  • trunk/src/VBox/Runtime/common/misc/getoptargv.cpp

    r28800 r33540  
    4545 *
    4646 * We include some extra stuff here that the corresponding shell would normally
    47  * require qouting of.
     47 * require quoting of.
    4848 */
    4949static uint8_t const g_abmQuoteChars[RTGETOPTARGV_CNV_QUOTE_MASK + 1][128/8] =
  • trunk/src/VBox/Runtime/common/misc/handle.cpp

    r28800 r33540  
    11/* $Id$ */
    22/** @file
    3  * IPRT - Generic Handle Manipluation.
     3 * IPRT - Generic Handle Manipulation.
    44 */
    55
  • trunk/src/VBox/Runtime/common/misc/handletable.cpp

    r28800 r33540  
    132132
    133133    /*
    134      * Validate input, quitely ignore the NIL handle.
     134     * Validate input, quietly ignore the NIL handle.
    135135     */
    136136    if (hHandleTable == NIL_RTHANDLETABLE)
  • trunk/src/VBox/Runtime/common/misc/lockvalidator.cpp

    r33269 r33540  
    128128    RTLOCKVALDDENTRY        a[32];
    129129} RTLOCKVALDDSTACK;
    130 /** Pointer to a deadlock detction stack. */
     130/** Pointer to a deadlock detection stack. */
    131131typedef RTLOCKVALDDSTACK *PRTLOCKVALDDSTACK;
    132132
     
    159159{
    160160    /** Array of refs. */
    161 #if 0 /** @todo for testing alloction of new chunks. */
     161#if 0 /** @todo for testing allocation of new chunks. */
    162162    RTLOCKVALCLASSREF       aRefs[ARCH_BITS == 32 ? 10 : 8];
    163163#else
     
    14071407 * @param   pClass              The class to work on.
    14081408 * @param   pPriorClass         The class to add.
    1409  * @param   fAutodidacticism    Whether we're teaching ourselfs (true) or
     1409 * @param   fAutodidacticism    Whether we're teaching ourselves (true) or
    14101410 *                              somebody is teaching us via the API (false).
    14111411 * @param   pSrcPos             Where this rule was added (optional).
     
    18721872 *
    18731873 * @returns true / false.
    1874  * @param   pThreadSelf         The curren thread.
     1874 * @param   pThreadSelf         The current thread.
    18751875 * @param   pRec                The lock record.
    18761876 */
     
    20142014 * @param   pThreadSelf         The current thread.
    20152015 * @param   pRec                The lock record.
    2016  * @param   pSrcPos             Where the recursion occured.
     2016 * @param   pSrcPos             Where the recursion occurred.
    20172017 */
    20182018static void rtLockValidatorStackPushRecursion(PRTTHREADINT pThreadSelf, PRTLOCKVALRECUNION pRec, PCRTLOCKVALSRCPOS pSrcPos)
  • trunk/src/VBox/Runtime/common/misc/req.cpp

    r30111 r33540  
    5050
    5151/**
    52  * Create a request packet queueu
     52 * Create a request packet queue
    5353 *
    5454 * @returns iprt status code.
     
    7474
    7575/**
    76  * Destroy a request packet queueu
     76 * Destroy a request packet queue
    7777 *
    7878 * @returns iprt status code.
     
    120120     * Process loop.
    121121     *
    122      * We do not repeat the outer loop if we've got an informationtional status code
     122     * We do not repeat the outer loop if we've got an informational status code
    123123     * since that code needs processing by our caller.
    124124     */
     
    187187 *
    188188 * If it's desired to poll on the completion of the request set cMillies
    189  * to 0 and use RTReqWait() to check for completation. In the other case
     189 * to 0 and use RTReqWait() to check for completion. In the other case
    190190 * use RT_INDEFINITE_WAIT.
    191191 * The returned request packet must be freed using RTReqFree().
     
    222222 *
    223223 * If it's desired to poll on the completion of the request set cMillies
    224  * to 0 and use RTReqWait() to check for completation. In the other case
     224 * to 0 and use RTReqWait() to check for completion. In the other case
    225225 * use RT_INDEFINITE_WAIT.
    226226 * The returned request packet must be freed using RTReqFree().
     
    232232 * @param   pQueue          The request queue.
    233233 * @param   ppReq           Where to store the pointer to the request.
    234  *                          This will be NULL or a valid request pointer not matter what happends.
     234 *                          This will be NULL or a valid request pointer not matter what happens.
    235235 * @param   cMillies        Number of milliseconds to wait for the request to
    236236 *                          be completed. Use RT_INDEFINITE_WAIT to only
     
    257257 *
    258258 * If it's desired to poll on the completion of the request set cMillies
    259  * to 0 and use RTReqWait() to check for completation. In the other case
     259 * to 0 and use RTReqWait() to check for completion. In the other case
    260260 * use RT_INDEFINITE_WAIT.
    261261 * The returned request packet must be freed using RTReqFree().
     
    267267 * @param   pQueue          The request queue.
    268268 * @param   ppReq           Where to store the pointer to the request.
    269  *                          This will be NULL or a valid request pointer not matter what happends, unless fFlags
     269 *                          This will be NULL or a valid request pointer not matter what happens, unless fFlags
    270270 *                          contains RTREQFLAGS_NO_WAIT when it will be optional and always NULL.
    271271 * @param   cMillies        Number of milliseconds to wait for the request to
     
    294294 *
    295295 * If it's desired to poll on the completion of the request set cMillies
    296  * to 0 and use RTReqWait() to check for completation. In the other case
     296 * to 0 and use RTReqWait() to check for completion. In the other case
    297297 * use RT_INDEFINITE_WAIT.
    298298 * The returned request packet must be freed using RTReqFree().
     
    304304 * @param   pQueue          The request queue.
    305305 * @param   ppReq           Where to store the pointer to the request.
    306  *                          This will be NULL or a valid request pointer not matter what happends, unless fFlags
     306 *                          This will be NULL or a valid request pointer not matter what happens, unless fFlags
    307307 *                          contains RTREQFLAGS_NO_WAIT when it will be optional and always NULL.
    308308 * @param   cMillies        Number of milliseconds to wait for the request to
     
    639639 * The quest must be allocated using RTReqAlloc() and contain
    640640 * all the required data.
    641  * If it's disired to poll on the completion of the request set cMillies
    642  * to 0 and use RTReqWait() to check for completation. In the other case
     641 * If it's desired to poll on the completion of the request set cMillies
     642 * to 0 and use RTReqWait() to check for completion. In the other case
    643643 * use RT_INDEFINITE_WAIT.
    644644 *
  • trunk/src/VBox/Runtime/common/misc/s3.cpp

    r28800 r33540  
    768768
    769769    RTS3TMPMEMCHUNK chunk = { NULL, 0 };
    770     /* Set the callback which recieve the content */
     770    /* Set the callback which receive the content */
    771771    curl_easy_setopt(pS3Int->pCurl, CURLOPT_WRITEFUNCTION, rtS3WriteMemoryCallback);
    772772    curl_easy_setopt(pS3Int->pCurl, CURLOPT_WRITEDATA, (void *)&chunk);
     
    795795        }
    796796    }
    797     /* Free the tempory memory */
     797    /* Free the temporary memory */
    798798    RTMemFree(chunk.pszMem);
    799799
  • trunk/src/VBox/Runtime/common/misc/tar.cpp

    r33484 r33540  
    541541                if (RT_FAILURE(rc))
    542542                    break;
    543                 /* Seek back, to positionate the file pointer at the start of the header. */
     543                /* Seek back, to position the file pointer at the start of the header. */
    544544                rc = RTFileSeek(hFile, -(int64_t)sizeof(RTTARRECORD), RTFILE_SEEK_CURRENT, puOffset);
    545545                fFound = true;
     
    11261126
    11271127    /* This is done by internal methods, cause we didn't have a RTTARDIR
    1128      * interface, yet. This should be fixed somedays. */
     1128     * interface, yet. This should be fixed someday. */
    11291129
    11301130    PRTTARINTERNAL pInt = hTar;
  • trunk/src/VBox/Runtime/common/misc/term.cpp

    r28800 r33540  
    203203
    204204    /*
    205      * Run the callback list. This is a bit paranoid in order to guard aginst
     205     * Run the callback list. This is a bit paranoid in order to guard against
    206206     * recursive calls to RTTermRunCallbacks.
    207207     */
  • trunk/src/VBox/Runtime/common/misc/zip.cpp

    r31847 r33540  
    151151        struct
    152152        {
    153             /** Current buffer postition. (where to start write) */
     153            /** Current buffer position. (where to start write) */
    154154            uint8_t    *pb;
    155155        } Store;
     
    167167        struct
    168168        {
    169             /** Current output buffer postition. */
     169            /** Current output buffer position. */
    170170            uint8_t    *pbOutput;
    171171            /** The input buffer position. */
     
    214214        struct
    215215        {
    216             /** Current buffer postition. (where to start read) */
     216            /** Current buffer position. (where to start read) */
    217217            uint8_t    *pb;
    218218            /** Number of bytes left in the buffer. */
     
    233233        {
    234234# ifndef RTZIP_LZF_BLOCK_BY_BLOCK
    235             /** Current input buffer postition. */
     235            /** Current input buffer position. */
    236236            uint8_t    *pbInput;
    237237            /** The number of bytes left in the input buffer. */
     
    424424static int zipErrConvertFromZlib(int rc)
    425425{
    426     /** @todo proper zlib error convertion. */
     426    /** @todo proper zlib error conversion. */
    427427    switch (rc)
    428428    {
     
    644644static int zipErrConvertFromBZlib(int rc)
    645645{
    646     /** @todo proper bzlib error convertion. */
     646    /** @todo proper bzlib error conversion. */
    647647    switch (rc)
    648648    {
     
    940940
    941941        /*
    942          * Upate the header and advance the input buffer.
     942         * Update the header and advance the input buffer.
    943943         */
    944944        pHdr->cbData = cbOutput;
     
    12971297
    12981298/**
    1299  * Initalize the decompressor instance.
     1299 * Initialize the decompressor instance.
    13001300 * @returns iprt status code.
    13011301 * @param   pZip        The decompressor instance.
     
    13471347
    13481348    /*
    1349      * Determin auto type.
     1349     * Determine auto type.
    13501350     */
    13511351    if (enmType == RTZIPTYPE_AUTO)
     
    15401540{
    15411541    /*
    1542      * Read the first byte from the stream so we can determin the type.
     1542     * Read the first byte from the stream so we can determine the type.
    15431543     */
    15441544    uint8_t u8Type;
     
    15481548
    15491549    /*
    1550      * Determin type and do type specific init.
     1550     * Determine type and do type specific init.
    15511551     */
    15521552    pZip->enmType = (RTZIPTYPE)u8Type;
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