sysutils/openipmi: update 2.0.28 to 2.0.29
* sourceforge.net/p/openipmi/code/commit_browser - 2.0.28 == 1666c8d5a4ee8874 - 2.0.29 == 7a1d1ce556ce5d3d files/patch-unix_selector.c: - upstream reworked previous patch changes, we removed those changes; - patch was updated to handle the non-existing 'EBADFD' errno; - 'EBADFD' is Solaris/Linux specific, as per "bsm/audit_errno.h"
This commit is contained in:
parent
5c0779c39b
commit
72a95d640f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553185
3 changed files with 16 additions and 18 deletions
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= openipmi
|
||||
PORTVERSION= 2.0.28
|
||||
PORTVERSION= 2.0.29
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= SF/${PORTNAME}/OpenIPMI%202.0%20Library
|
||||
DISTNAME= OpenIPMI-${PORTVERSION}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1578057982
|
||||
SHA256 (OpenIPMI-2.0.28.tar.gz) = 8e8b1de2a9a041b419133ecb21f956e999841cf2e759e973eeba9a36f8b40996
|
||||
SIZE (OpenIPMI-2.0.28.tar.gz) = 3118911
|
||||
TIMESTAMP = 1603534455
|
||||
SHA256 (OpenIPMI-2.0.29.tar.gz) = 2244124579afb14e569f34393e9ac61e658a28b6ffa8e5c0d2c1c12a8ce695cd
|
||||
SIZE (OpenIPMI-2.0.29.tar.gz) = 3119530
|
||||
|
|
|
@ -1,16 +1,14 @@
|
|||
--- unix/selector.c.orig 2018-12-28 13:36:00 UTC
|
||||
--- unix/selector.c.orig 2020-10-24 10:59:38 UTC
|
||||
+++ unix/selector.c
|
||||
@@ -459,7 +459,13 @@ i_sel_clear_fd_handler(struct selector_s
|
||||
fdc->state = NULL;
|
||||
|
||||
sel_update_epoll(sel, fd, EPOLL_CTL_DEL, 0);
|
||||
+ /* We do not set HAVE_EPOLL_PWAIT, so 'fd_control_s' will never
|
||||
+ * have 'saved_events', and sel_update_epoll() will always return 1.
|
||||
+ *
|
||||
+ * See lines 340 (HAVE_EPOLL_PWAIT), and 369 (no HAVE_EPOLL_PWAIT).
|
||||
+ *
|
||||
fdc->saved_events = 0;
|
||||
@@ -1030,7 +1030,10 @@ process_fds(struct selector_s *sel,
|
||||
&tmp_except_set,
|
||||
&ts, &sigmask);
|
||||
if (err < 0) {
|
||||
- if (errno == EBADF || errno == EBADFD)
|
||||
+ /* We do not have EBADFD, as it is Solaris and Linux specific;
|
||||
+ * if (errno == EBADF || errno == EBADFD)
|
||||
+ */
|
||||
}
|
||||
|
||||
init_fd(fdc);
|
||||
+ if (errno == EBADF)
|
||||
/* We raced, just retry it. */
|
||||
goto retry;
|
||||
goto out;
|
||||
|
|
Loading…
Reference in a new issue