pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/51666: www/seamonkey with also audio wants EBADFD (from patch)
The following reply was made to PR pkg/51666; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/51666: www/seamonkey with also audio wants EBADFD (from patch)
Date: Sun, 27 Nov 2016 22:09:02 +0700
Date: Sun, 27 Nov 2016 13:55:01 +0000 (UTC)
From: coypu%SDF.ORG@localhost
Message-ID: <20161127135501.A36367A33E%mollari.NetBSD.org@localhost>
| #ifndef EBADFD
| #define EBADFD EBADF
| #endif
|
| Will probably work. I can't test now, unfortunately.
That is more or less what I did (had done before I sent the PR) - it
compiles and runs OK, but is not really the correct solution.
No correct program ever gets EBADF in a situation like that, so checking
for it is really just wasting time (may as well check for EFAULT as well,
that is just as likely...). What EBADFD really is supposed to mean, and
why it could actually occur are something only linux people understand I
assume.
kre
Home |
Main Index |
Thread Index |
Old Index