mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
- Fix error check for aio_error
- Bump PORTREVISION Obtained from: https://www.virtualbox.org/changeset/38332 Feature safe: yes
This commit is contained in:
parent
7312f3a176
commit
71895d7045
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286767
@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
PORTNAME= virtualbox-ose
|
PORTNAME= virtualbox-ose
|
||||||
DISTVERSION= 4.0.12
|
DISTVERSION= 4.0.12
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= emulators
|
CATEGORIES= emulators
|
||||||
MASTER_SITES= http://tmp.chruetertee.ch/ \
|
MASTER_SITES= http://tmp.chruetertee.ch/ \
|
||||||
http://freebsd.unixfreunde.de/sources/ \
|
http://freebsd.unixfreunde.de/sources/ \
|
||||||
|
@ -0,0 +1,16 @@
|
|||||||
|
Runtime/fileaio-freebsd: Fix error check for aio_error
|
||||||
|
|
||||||
|
Obtained-from: https://www.virtualbox.org/changeset/38332
|
||||||
|
|
||||||
|
--- src/VBox/Runtime/r3/freebsd/fileaio-freebsd.cpp.orig 2011-07-15 17:34:34.000000000 +0200
|
||||||
|
+++ src/VBox/Runtime/r3/freebsd/fileaio-freebsd.cpp 2011-11-21 09:33:26.155092865 +0100
|
||||||
|
@@ -416,7 +416,8 @@
|
||||||
|
{
|
||||||
|
pReqInt = pahReqs[i];
|
||||||
|
rcBSD = aio_error(&pReqInt->AioCB);
|
||||||
|
- if (rcBSD == EINVAL || rcBSD == EAGAIN)
|
||||||
|
+ if ( rcBSD == -1
|
||||||
|
+ && errno == EINVAL)
|
||||||
|
{
|
||||||
|
/* Was not submitted. */
|
||||||
|
RTFILEAIOREQ_SET_STATE(pReqInt, PREPARED);
|
Loading…
Reference in New Issue
Block a user