aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/llfile.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:50 -0500
committerJacek Antonelli2008-08-15 23:45:50 -0500
commit2a4dea528f670b9bb1f77ef27a8a1dd16603d114 (patch)
tree95c68e362703c9099d571ecbdc6142b1cda1e005 /linden/indra/llcommon/llfile.cpp
parentSecond Life viewer sources 1.20.6 (diff)
downloadmeta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.zip
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.gz
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.bz2
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.xz
Second Life viewer sources 1.20.7
Diffstat (limited to '')
-rw-r--r--linden/indra/llcommon/llfile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/llcommon/llfile.cpp b/linden/indra/llcommon/llfile.cpp
index 32e9622..fc0d481 100644
--- a/linden/indra/llcommon/llfile.cpp
+++ b/linden/indra/llcommon/llfile.cpp
@@ -160,7 +160,7 @@ LLFILE * LLFile::_Fiopen(const char *filename, std::ios::openmode mode,int) // p
160 | ios_base::binary, 160 | ios_base::binary,
161 0}; 161 0};
162 162
163 FILE *fp = 0; 163 LLFILE *fp = 0;
164 int n; 164 int n;
165 ios_base::openmode atendflag = mode & ios_base::ate; 165 ios_base::openmode atendflag = mode & ios_base::ate;
166 ios_base::openmode norepflag = mode & ios_base::_Noreplace; 166 ios_base::openmode norepflag = mode & ios_base::_Noreplace;
@@ -207,7 +207,7 @@ void llifstream::open(const char* _Filename, /* Flawfinder: ignore */
207 int _Prot) 207 int _Prot)
208{ // open a C stream with specified mode 208{ // open a C stream with specified mode
209 209
210 FILE* filep = LLFile::_Fiopen(_Filename,_Mode | ios_base::in, _Prot); 210 LLFILE* filep = LLFile::_Fiopen(_Filename,_Mode | ios_base::in, _Prot);
211 if(filep == NULL) 211 if(filep == NULL)
212 { 212 {
213 _Myios::setstate(ios_base::failbit); /*Flawfinder: ignore*/ 213 _Myios::setstate(ios_base::failbit); /*Flawfinder: ignore*/
@@ -258,7 +258,7 @@ void llofstream::open(const char* _Filename, /* Flawfinder: ignore */
258 int _Prot) 258 int _Prot)
259{ // open a C stream with specified mode 259{ // open a C stream with specified mode
260 260
261 FILE* filep = LLFile::_Fiopen(_Filename,_Mode | ios_base::out, _Prot); 261 LLFILE* filep = LLFile::_Fiopen(_Filename,_Mode | ios_base::out, _Prot);
262 if(filep == NULL) 262 if(filep == NULL)
263 { 263 {
264 _Myios::setstate(ios_base::failbit); /*Flawfinder: ignore*/ 264 _Myios::setstate(ios_base::failbit); /*Flawfinder: ignore*/