diff options
author | jxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-06-05 04:00:35 +0000 |
---|---|---|
committer | jxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-06-05 04:00:35 +0000 |
commit | aebeae098f565c214a380a9a44c265303b460ac9 (patch) | |
tree | a3c438b8ef2a58a15264bc07585556867bf8ecdd /apps | |
parent | 3495fc86e7ca7fe7592dcc8a92a5a182fd523a8e (diff) | |
download | ATCD-aebeae098f565c214a380a9a44c265303b460ac9.tar.gz |
Fixed a bug where JAWS_File wanted the file to have write permissions
before openning it. This is now only true if the file is to be
written to.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/JAWS/server/JAWS_File.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/JAWS/server/JAWS_File.cpp b/apps/JAWS/server/JAWS_File.cpp index 1a147e89ce0..e043e234a97 100644 --- a/apps/JAWS/server/JAWS_File.cpp +++ b/apps/JAWS/server/JAWS_File.cpp @@ -305,7 +305,7 @@ JAWS_File::JAWS_File (const char * filename) ACE_OS::strcpy (this->filename_, filename); this->action (JAWS_File::IDLE); - if (ACE_OS::access (this->filename_, R_OK|W_OK) == -1) + if (ACE_OS::access (this->filename_, R_OK) == -1) { this->error (JAWS_File::ACCESS_FAILED); return; |