Commit af099c90 authored by Michael Schumacher's avatar Michael Schumacher

removed debug output. Define O_BINARY if it isn't defined yet.

* gegl/buffer/gegl-tile-disk.c (disk_entry_read): removed debug	output.	Define O_BINARY if it isn't defined yet.

svn path=/trunk/; revision=2054
parent 5d3d72a6
2008-02-18 Michael Schumacher <schumaml@cvs.gnome.org>
* gegl/buffer/gegl-tile-disk.c (disk_entry_read): removed debug
output. Define O_BINARY if it isn't defined yet.
2008-02-18 Michael Schumacher <schumaml@cvs.gnome.org>
* gegl/buffer/gegl-tile-disk.c (gegl_tile_disk_constructor): open
......
......@@ -25,6 +25,15 @@
#define O_DIRECT 0
#endif
/* Microsoft Windows does distinguish between binary and text files.
* We deal with binary files here and have to tell it to open them
* as binary files. Unortunately the O_BINARY flag used for this is
* specific to this platform, so we define it for others.
*/
#ifndef O_BINARY
#define O_BINARY 0
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
......@@ -105,13 +114,6 @@ disk_entry_read (GeglTileDisk *disk,
g_strerror (errno), err, nleft);
return;
}
else
{
g_message ("read tile data from disk: "
"%s (%d/%d bytes read)",
g_strerror (errno), err, nleft);
}
nleft -= err;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment