Dr. Werner Fink 2014-07-01 09:04:15 +00:00 committed by Git OBS Bridge
parent 4f24633fad
commit c898064f3d

View File

@ -1,4 +1,4 @@
From 14cb733684d3c3f50d088a3a370ddf8e8894dfa4 Mon Sep 17 00:00:00 2001 Based on 14cb733684d3c3f50d088a3a370ddf8e8894dfa4 Mon Sep 17 00:00:00 2001
From: Kay Sievers <kay@vrfy.org> From: Kay Sievers <kay@vrfy.org>
Date: Fri, 27 Jun 2014 17:42:44 +0200 Date: Fri, 27 Jun 2014 17:42:44 +0200
Subject: [PATCH] libudev: queue provide file descriptor to watch busy event Subject: [PATCH] libudev: queue provide file descriptor to watch busy event
@ -57,7 +57,7 @@ index c32a7ef..d4334b4 100644
if (udev_queue->refcount > 0) if (udev_queue->refcount > 0)
return NULL; return NULL;
+ safe_close(udev_queue->fd); + close_nointr_nofail(udev_queue->fd);
+ +
free(udev_queue); free(udev_queue);
return NULL; return NULL;