mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Move tzset() from log_open to main.
This commit is contained in:
		
							
								
								
									
										2
									
								
								log.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								log.c
									
									
									
									
									
								
							@@ -48,8 +48,6 @@ log_open(const char *path)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	setvbuf(log_file, NULL, _IOLBF, 0);
 | 
						setvbuf(log_file, NULL, _IOLBF, 0);
 | 
				
			||||||
	event_set_log_callback(log_event_cb);
 | 
						event_set_log_callback(log_event_cb);
 | 
				
			||||||
 | 
					 | 
				
			||||||
	tzset();
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Close logging. */
 | 
					/* Close logging. */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user