VirtualBox

Changeset 89262 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
May 25, 2021 10:35:51 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
144605
Message:

AudioTest: Can't have ':' from the timestamp in a filename on windows. duh. bugref:10008

File:
1 edited

Legend:

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

    r89230 r89262  
    311311    if (!RTTimeSpecToString(RTTimeNow(&time), szTime, sizeof(szTime)))
    312312        return VERR_BUFFER_UNDERFLOW;
     313
     314    /* Colons aren't allowed in windows filenames, so change to dashes. */
     315    char *pszColon;
     316    while ((pszColon = strchr(szTime, ':')) != NULL)
     317        *pszColon = '-';
    313318
    314319    rc = RTPathAppend(pszPath, cbPath, szTime);
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