mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Merge branch 'obsd-master'
This commit is contained in:
		@@ -105,6 +105,8 @@ cmd_save_buffer_exec(struct cmd *self, struct cmdq_item *item)
 | 
			
		||||
		flags = "ab";
 | 
			
		||||
 | 
			
		||||
	file = server_client_get_path(c, path);
 | 
			
		||||
	free(path);
 | 
			
		||||
 | 
			
		||||
	f = fopen(file, flags);
 | 
			
		||||
	if (f == NULL) {
 | 
			
		||||
		cmdq_error(item, "%s: %s", file, strerror(errno));
 | 
			
		||||
@@ -121,7 +123,6 @@ cmd_save_buffer_exec(struct cmd *self, struct cmdq_item *item)
 | 
			
		||||
 | 
			
		||||
	fclose(f);
 | 
			
		||||
	free(file);
 | 
			
		||||
	free(path);
 | 
			
		||||
 | 
			
		||||
	return (CMD_RETURN_NORMAL);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user