Diff

Differences From Artifact [5b32138d43]:

To Artifact [c5ca9c2598]:


   639    639   	} else {
   640    640   		/* The file must already exist */
   641    641   		if (gpi_ret != 0) {
   642    642   			return(gpi_ret);
   643    643   		}
   644    644   
   645    645   		mode = "";
          646  +
          647  +		if ((fi->flags & O_WRONLY) == O_WRONLY) {
          648  +			mode = "write";
          649  +		}
   646    650   	}
   647    651   
   648    652   	if (pathinfo.type == APPFS_PATHTYPE_DIRECTORY) {
   649    653   		return(-EISDIR);
   650    654   	}
   651    655   
   652    656   	interp = appfs_TclInterp();