diff options
Diffstat (limited to 'src/file.cc')
-rw-r--r-- | src/file.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/file.cc b/src/file.cc index 49b9bb5..a9da5ba 100644 --- a/src/file.cc +++ b/src/file.cc @@ -31,6 +31,9 @@ /* * $Log$ + * Revision 1.7 2005/06/20 15:15:24 deva + * *** empty log message *** + * * Revision 1.6 2005/06/19 20:04:43 deva * ImgEncoder now uses the file class for output, through jpeg_mem_dest. * @@ -117,7 +120,7 @@ int File::Open() // A sequence number of 0 sprintf(fname, "%s%.3d.%s", filename, num, extension); } - fd = open(fname, O_CREAT | O_WRONLY | O_SYNC | O_EXCL, //| O_LARGEFILE + fd = open(fname, O_CREAT | O_WRONLY | O_ASYNC | O_EXCL, //| O_LARGEFILE S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); if(fd == -1) num ++; |