SL-10153: Review and rationalize fetching paths from environment.
Use LLStringUtil::getenv() or getoptenv() whenever we fetch a string that will be used as a pathname. Use LLFile::tmpdir() instead of getenv("TEMP"). As an added extra-special bonus, finally clean up $TMP/llcontrol-test-zzzzzz directories that have been accumulating every time we run a local build!
Showing
- indra/llcommon/llfile.cpp 9 additions, 10 deletionsindra/llcommon/llfile.cpp
- indra/llcommon/tests/llleap_test.cpp 3 additions, 4 deletionsindra/llcommon/tests/llleap_test.cpp
- indra/llcommon/tests/llprocess_test.cpp 3 additions, 2 deletionsindra/llcommon/tests/llprocess_test.cpp
- indra/llcommon/tests/llsdserialize_test.cpp 4 additions, 3 deletionsindra/llcommon/tests/llsdserialize_test.cpp
- indra/llmessage/tests/commtest.h 2 additions, 6 deletionsindra/llmessage/tests/commtest.h
- indra/llmessage/tests/llhttpclient_test.cpp 5 additions, 4 deletionsindra/llmessage/tests/llhttpclient_test.cpp
- indra/llrender/llfontgl.cpp 16 additions, 25 deletionsindra/llrender/llfontgl.cpp
- indra/llvfs/lldir_linux.cpp 15 additions, 18 deletionsindra/llvfs/lldir_linux.cpp
- indra/llvfs/lldir_solaris.cpp 24 additions, 36 deletionsindra/llvfs/lldir_solaris.cpp
- indra/llvfs/lldir_win32.cpp 12 additions, 14 deletionsindra/llvfs/lldir_win32.cpp
- indra/llxml/tests/llcontrol_test.cpp 17 additions, 22 deletionsindra/llxml/tests/llcontrol_test.cpp
- indra/newview/llexternaleditor.cpp 4 additions, 3 deletionsindra/newview/llexternaleditor.cpp
- indra/newview/llwebprofile.cpp 2 additions, 2 deletionsindra/newview/llwebprofile.cpp
Loading
Please register or sign in to comment