diff options
author | deva <deva> | 2005-06-20 15:15:24 +0000 |
---|---|---|
committer | deva <deva> | 2005-06-20 15:15:24 +0000 |
commit | 67d13b25961f9bad873d59f92044b473f9a484ee (patch) | |
tree | 55797762df236d83e1f4b15aa3cf3039fb95b47a /src | |
parent | a77703e1c987de6ef258826642e0c4a5b86b66a4 (diff) |
*** empty log message ***
Diffstat (limited to 'src')
-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 ++; |