/[svn]/libgig/trunk/src/Akai.cpp
ViewVC logotype

Diff of /libgig/trunk/src/Akai.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2586 by schoenebeck, Thu May 22 15:54:02 2014 UTC revision 2587 by schoenebeck, Sun Jun 1 00:28:46 2014 UTC
# Line 1877  bool DiskImage::WriteImage(const char* p Line 1877  bool DiskImage::WriteImage(const char* p
1877  {  {
1878  #if defined(_CARBON_) || defined(__APPLE__) || LINUX  #if defined(_CARBON_) || defined(__APPLE__) || LINUX
1879    const uint bufferSize = 524288; // 512 kB    const uint bufferSize = 524288; // 512 kB
1880    int fOut = open(path, O_WRONLY | O_NONBLOCK | O_CREAT | O_TRUNC);    int fOut = open(path, O_WRONLY | O_NONBLOCK | O_CREAT | O_TRUNC,
1881                      S_IRUSR | S_IWUSR | S_IRGRP);
1882    if (mFile <= 0) {    if (mFile <= 0) {
1883      printf("Can't open output file %s\n", path);      printf("Can't open output file %s\n", path);
1884      return false;      return false;

Legend:
Removed from v.2586  
changed lines
  Added in v.2587

  ViewVC Help
Powered by ViewVC