VirtualBox

Ignore:
Timestamp:
Jul 20, 2012 1:27:47 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
79316
Message:

enabled shared clipboard support for Linux hosts (guest=>host only)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/ApplianceImplIO.cpp

    r40329 r42261  
    66
    77/*
    8  * Copyright (C) 2010 Oracle Corporation
     8 * Copyright (C) 2010-2012 Oracle Corporation
    99 *
    1010 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    298298         */
    299299        bool fFound = false;
    300         for(;;)
     300        for (;;)
    301301        {
    302302            char *pszFilename = 0;
     
    314314                        break;
    315315                }
    316             }else
     316            }
     317            else
    317318                break;
    318319        }
     
    500501                /* First loop over all the free memory in the circular
    501502                 * memory buffer (could be turn around at the end). */
    502                 for(;;)
     503                for (;;)
    503504                {
    504505                    if (   cbMemAllRead == cbAvail
     
    514515                     * method could also split the writes up into to smaller
    515516                     * parts. */
    516                     for(;;)
     517                    for (;;)
    517518                    {
    518519                        if (cbAllWritten == cbMemRead)
     
    557558                /* First loop over all the available memory in the circular
    558559                 * memory buffer (could be turn around at the end). */
    559                 for(;;)
     560                for (;;)
    560561                {
    561562                    if (   cbMemAllWrite == cbAvail
     
    571572                     * smaller parts. */
    572573                    size_t cbAllRead = 0;
    573                     for(;;)
     574                    for (;;)
    574575                    {
    575576                        if (cbAllRead == cbMemWrite)
     
    638639//    RTPrintf("start\n");
    639640    int rc = VINF_SUCCESS;
    640     for(;;)
     641    for (;;)
    641642    {
    642643//        RTPrintf(" wait\n");
     
    981982        size_t cbSize = (size_t)(uOffset - pInt->cbCurAll);
    982983        size_t cbAllWritten = 0;
    983         for(;;)
     984        for (;;)
    984985        {
    985986            /* Finished? */
     
    10001001
    10011002    size_t cbAllWritten = 0;
    1002     for(;;)
     1003    for (;;)
    10031004    {
    10041005        /* Finished? */
     
    10821083
    10831084    size_t cbAllRead = 0;
    1084     for(;;)
     1085    for (;;)
    10851086    {
    10861087        /* Finished? */
     
    12561257        }
    12571258
    1258         for(;;)
     1259        for (;;)
    12591260        {
    12601261            size_t cbRead = 0;
     
    12861287        *ppvBuf = pvBuf;
    12871288        *pcbSize = cbAllRead;
    1288     }else
     1289    }
     1290    else
    12891291    {
    12901292        if (pvBuf)
     
    13101312
    13111313    size_t cbAllWritten = 0;
    1312     for(;;)
     1314    for (;;)
    13131315    {
    13141316        if (cbAllWritten >= cbSize)
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