ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/Development/ray/src/rt/RdataShareFile.cpp
(Generate patch)

Comparing ray/src/rt/RdataShareFile.cpp (file contents):
Revision 2.3 by greg, Mon Dec 9 22:26:01 2024 UTC vs.
Revision 2.4 by greg, Mon Oct 27 18:38:32 2025 UTC

# Line 153 | Line 153 | RdataShareFile::Resize(size_t new_siz)
153                  return osiz = sbuf.st_size;
154          }                               // else attempt to resize file
155          if (ftruncate(fd, new_siz) < 0) {
156 <                sprintf(errmsg, "cannot truncate '%s'", chName);
156 >                sprintf(errmsg, "cannot resize '%s'", chName);
157                  return 0;
158          }
159          return osiz = new_siz;

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)