From e4b7a113fded192d2ad31b68a87cf444f206a04e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 25 Jul 2010 11:09:13 +0200 Subject: database, ...: remove EINTR checks after stdio calls MPD doesn't have child processes anymore, and thus we're not expecting to receive SIGCHLD very often. Since hard disk access isn't interrupted by signals anyway, we don't need those excessive checks. --- src/output/oss_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/output/oss_plugin.c') diff --git a/src/output/oss_plugin.c b/src/output/oss_plugin.c index cb50954cc..bb4164990 100644 --- a/src/output/oss_plugin.c +++ b/src/output/oss_plugin.c @@ -202,7 +202,7 @@ static void oss_close(struct oss_data *od) { if (od->fd >= 0) - while (close(od->fd) && errno == EINTR) ; + close(od->fd); od->fd = -1; } -- cgit v1.2.3