From 67d13b25961f9bad873d59f92044b473f9a484ee Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 20 Jun 2005 15:15:24 +0000 Subject: *** empty log message *** --- src/file.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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 ++; -- cgit v1.2.3