VirtualBox

vbox的更動 65237 路徑 trunk/src/bldprogs


忽略:
時間撮記:
2017-1-11 上午09:15:06 (8 年 以前)
作者:
vboxsync
訊息:

filesplitter.cpp: More error info on windows (had a weird EINVAL failure).

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/bldprogs/filesplitter.cpp

    r62537 r65237  
    9696    FILE *pFile= fopen(pcszPath, "w");
    9797    if (!pFile)
    98         return printErr("Failed to open \"%s\" for writing the file list");
     98#ifdef _MSC_VER
     99        return printErr("Failed to open \"%s\" for writing the file list: %s (win32: %d)\n",
     100                        pcszPath, strerror(errno), _doserrno);
     101#else
     102        return printErr("Failed to open \"%s\" for writing the file list: %s\n", pcszPath, strerror(errno));
     103#endif
    99104
    100105    if (fprintf(pFile, "%s := \\\n", pcszVariableName) <= 0)
     
    241246    FILE   *pFile = fopen(pcszFilename, "w");
    242247    if (!pFile)
     248#ifdef _MSC_VER
     249        return printErr("Failed to open \"%s\" for writing: %s (win32: %d)\n", pcszFilename, strerror(errno), _doserrno);
     250#else
    243251        return printErr("Failed to open \"%s\" for writing: %s\n", pcszFilename, strerror(errno));
     252#endif
    244253
    245254    errno = 0;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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