From 53444d394fd4b95b9465c4517b3714bb0ce3e0ce Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Wed, 9 Jun 2010 09:53:11 +0000 Subject: A few more minor fixes. llvm-svn: 105721 --- lldb/source/Core/DataBufferMemoryMap.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lldb/source/Core/DataBufferMemoryMap.cpp') diff --git a/lldb/source/Core/DataBufferMemoryMap.cpp b/lldb/source/Core/DataBufferMemoryMap.cpp index c8ad5492f51..9c63bf134db 100644 --- a/lldb/source/Core/DataBufferMemoryMap.cpp +++ b/lldb/source/Core/DataBufferMemoryMap.cpp @@ -97,7 +97,7 @@ DataBufferMemoryMap::GetError() const //---------------------------------------------------------------------- // Memory map "length" bytes from "file" starting "offset" -// bytes into the file. If "length" is set to SIZE_T_MAX, then +// bytes into the file. If "length" is set to SIZE_MAX, then // map as many bytes as possible. // // Returns the number of bytes mapped starting from the requested @@ -137,7 +137,7 @@ DataBufferMemoryMap::MemoryMapFromFileSpec (const FileSpec* file, off_t offset, // containing valid data from a call to stat(). // // Memory map FILE_LENGTH bytes in FILE starting FILE_OFFSET bytes into -// the file. If FILE_LENGTH is set to SIZE_T_MAX, then map as many bytes +// the file. If FILE_LENGTH is set to SIZE_MAX, then map as many bytes // as possible. // // RETURNS @@ -154,7 +154,7 @@ DataBufferMemoryMap::MemoryMapFromFileDescriptor (int fd, off_t offset, size_t l { if ((stat.st_mode & S_IFREG) && (stat.st_size > offset)) { - if (length == SIZE_T_MAX) + if (length == SIZE_MAX) length = stat.st_size - offset; // Cap the length if too much data was requested -- cgit v1.2.3