diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/test/inventory.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/test/inventory.cpp b/linden/indra/test/inventory.cpp index 3899dfc..a4a4599 100644 --- a/linden/indra/test/inventory.cpp +++ b/linden/indra/test/inventory.cpp | |||
@@ -329,7 +329,7 @@ namespace tut | |||
329 | template<> template<> | 329 | template<> template<> |
330 | void inventory_object::test<7>() | 330 | void inventory_object::test<7>() |
331 | { | 331 | { |
332 | FILE* fp = fopen("linden_file.dat","w+"); | 332 | LLFILE* fp = LLFile::fopen("linden_file.dat","w+"); |
333 | if(!fp) | 333 | if(!fp) |
334 | { | 334 | { |
335 | llerrs << "file could not be opened\n" << llendl; | 335 | llerrs << "file could not be opened\n" << llendl; |
@@ -341,7 +341,7 @@ namespace tut | |||
341 | fclose(fp); | 341 | fclose(fp); |
342 | 342 | ||
343 | LLPointer<LLInventoryItem> src2 = new LLInventoryItem(); | 343 | LLPointer<LLInventoryItem> src2 = new LLInventoryItem(); |
344 | fp = fopen("linden_file.dat","r+"); | 344 | fp = LLFile::fopen("linden_file.dat","r+"); |
345 | if(!fp) | 345 | if(!fp) |
346 | { | 346 | { |
347 | llerrs << "file could not be opened\n" << llendl; | 347 | llerrs << "file could not be opened\n" << llendl; |
@@ -483,7 +483,7 @@ namespace tut | |||
483 | template<> template<> | 483 | template<> template<> |
484 | void inventory_object::test<13>() | 484 | void inventory_object::test<13>() |
485 | { | 485 | { |
486 | FILE* fp = fopen("linden_file.dat","w"); | 486 | LLFILE* fp = LLFile::fopen("linden_file.dat","w"); |
487 | if(!fp) | 487 | if(!fp) |
488 | { | 488 | { |
489 | llerrs << "file coudnt be opened\n" << llendl; | 489 | llerrs << "file coudnt be opened\n" << llendl; |
@@ -495,7 +495,7 @@ namespace tut | |||
495 | fclose(fp); | 495 | fclose(fp); |
496 | 496 | ||
497 | LLPointer<LLInventoryCategory> src2 = new LLInventoryCategory(); | 497 | LLPointer<LLInventoryCategory> src2 = new LLInventoryCategory(); |
498 | fp = fopen("linden_file.dat","r"); | 498 | fp = LLFile::fopen("linden_file.dat","r"); |
499 | if(!fp) | 499 | if(!fp) |
500 | { | 500 | { |
501 | llerrs << "file coudnt be opened\n" << llendl; | 501 | llerrs << "file coudnt be opened\n" << llendl; |