[BACK]Return to file.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/file.c between version 1.11 and 1.12

version 1.11, 2021/06/10 07:51:43 version 1.12, 2021/08/22 13:48:29
Line 558 
Line 558 
         log_debug("open write file %d %s", msg->stream, path);          log_debug("open write file %d %s", msg->stream, path);
   
         find.stream = msg->stream;          find.stream = msg->stream;
         if ((cf = RB_FIND(client_files, files, &find)) != NULL) {          if (RB_FIND(client_files, files, &find) != NULL) {
                 error = EBADF;                  error = EBADF;
                 goto reply;                  goto reply;
         }          }
Line 717 
Line 717 
         log_debug("open read file %d %s", msg->stream, path);          log_debug("open read file %d %s", msg->stream, path);
   
         find.stream = msg->stream;          find.stream = msg->stream;
         if ((cf = RB_FIND(client_files, files, &find)) != NULL) {          if (RB_FIND(client_files, files, &find) != NULL) {
                 error = EBADF;                  error = EBADF;
                 goto reply;                  goto reply;
         }          }

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12