Skip to content

Commit

Permalink
Tweaks to library
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebenezer-group committed Oct 12, 2024
1 parent a6de46c commit 9bd41cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmwBuffer.hh
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ template<class R,class Z>class ReceiveBuffer{
int giveFile (auto nm){
int sz=give<::uint32_t>();
checkLen(sz);
int fd=openWrapper(nm,O_CREAT|O_WRONLY|O_TRUNC|O_DIRECT|O_SYNC
int fd=openWrapper(nm,O_CREAT|O_WRONLY|O_TRUNC
,S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
do{
int r=::write(fd,rbuf+subTotal+rindex,sz);
Expand Down

0 comments on commit 9bd41cb

Please sign in to comment.