summaryrefslogtreecommitdiff
path: root/indra/llvfs
diff options
context:
space:
mode:
authorAaron Brashears <aaronb@lindenlab.com>2007-01-03 21:05:41 +0000
committerAaron Brashears <aaronb@lindenlab.com>2007-01-03 21:05:41 +0000
commit4617a37edfc291a0942027231691bdbf6109b9cb (patch)
tree5745c5e3dee0568be67d48242814d2654d80c9de /indra/llvfs
parent2b291c2732b583911c0d98c30dbfedfd4022babb (diff)
corrected, removed, and updated comments throughout the code to be more useful. no code changes. SL-13762
Diffstat (limited to 'indra/llvfs')
-rw-r--r--indra/llvfs/lldir_linux.cpp6
-rw-r--r--indra/llvfs/llvfile.cpp4
2 files changed, 6 insertions, 4 deletions
diff --git a/indra/llvfs/lldir_linux.cpp b/indra/llvfs/lldir_linux.cpp
index 6e50f9f239..c72587b9b5 100644
--- a/indra/llvfs/lldir_linux.cpp
+++ b/indra/llvfs/lldir_linux.cpp
@@ -68,7 +68,9 @@ LLDir_Linux::LLDir_Linux()
char path [32];
- // !!! FIXME: /proc/%d/exe doesn't work on FreeBSD.
+ // *NOTE: /proc/%d/exe doesn't work on FreeBSD. But that's ok,
+ // because this is the linux implementation.
+
sprintf (path, "/proc/%d/exe", (int) getpid ());
int rc = readlink (path, tmp_str, sizeof (tmp_str)-1);
if ( (rc != -1) && (rc <= ((int) sizeof (tmp_str)-1)) )
@@ -89,7 +91,7 @@ LLDir_Linux::LLDir_Linux()
}
}
- // !!! FIXME: don't use /tmp, use $HOME/.secondlife/tmp or something.
+ // *TODO: don't use /tmp, use $HOME/.secondlife/tmp or something.
mTempDir = "/tmp";
}
diff --git a/indra/llvfs/llvfile.cpp b/indra/llvfs/llvfile.cpp
index 36ac569d02..ad26b44916 100644
--- a/indra/llvfs/llvfile.cpp
+++ b/indra/llvfs/llvfile.cpp
@@ -83,7 +83,7 @@ BOOL LLVFile::read(U8 *buffer, S32 bytes, BOOL async, F32 priority)
// We can't do a read while there are pending async writes
waitForLock(VFSLOCK_APPEND);
- // FIXME
+ // *FIX: (???)
if (async)
{
mHandle = sVFSThread->read(mVFS, mFileID, mFileType, buffer, mPosition, bytes, threadPri());
@@ -186,7 +186,7 @@ BOOL LLVFile::write(const U8 *buffer, S32 bytes)
}
BOOL success = TRUE;
- // FIXME: allow async writes? potential problem wit mPosition...
+ // *FIX: allow async writes? potential problem wit mPosition...
if (mMode == APPEND) // all appends are async (but WRITEs are not)
{
U8* writebuf = new U8[bytes];