mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Ignore interrupted system calls (bug #3831)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		
							
								
								
									
										3
									
								
								file.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								file.c
									
									
									
									
									
								
							| @@ -1081,6 +1081,9 @@ char ast_waitstream_full(struct ast_channel *c, const char *breakon, int audiofd | ||||
| 			ms = 1000; | ||||
| 		rchan = ast_waitfor_nandfds(&c, 1, &cmdfd, (cmdfd > -1) ? 1 : 0, NULL, &outfd, &ms); | ||||
| 		if (!rchan && (outfd < 0) && (ms)) { | ||||
| 			/* Continue */ | ||||
| 			if (errno == EINTR) | ||||
| 				continue; | ||||
| 			ast_log(LOG_WARNING, "Wait failed (%s)\n", strerror(errno)); | ||||
| 			return -1; | ||||
| 		} else if (outfd > -1) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user