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

Comparing ray/src/rt/RdataShareMap.cpp (file contents):
Revision 2.5 by greg, Mon Oct 27 18:38:32 2025 UTC vs.
Revision 2.6 by greg, Wed Nov 12 20:51:14 2025 UTC

# Line 141 | Line 141 | RdataShareMap::Resize(size_t new_siz)
141                  new_siz = sbuf.st_size;
142          }
143          if (new_siz > osiz) {           // need to extend & remap
144 <                int     fd = open(chName, mode&RDSread ? O_RDWR : O_WRONLY);
144 >                int     fd = open(chName, O_RDWR);
145                  if (fd < 0) {
146                          sprintf(errmsg, "cannot reopen '%s'", chName);
147                          error(SYSTEM, errmsg);

Diff Legend

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