• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

daviddrysdale / c-ares / 219
89%

Build:
DEFAULT BRANCH: master
Ran 31 Jul 2016 02:51PM UTC
Jobs 1
Files 174
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
219

push

travis-ci

daviddrysdale
ares_init_options: only propagate ENOMEM error

Commit 46bb820be3a8 ("ares_init_options: don't lose init failure")
changed init behaviour so that earlier errors in initialization
weren't lost.  In particular, if the user passes in specific
options but they are not applied because of an allocation failure,
that failure needs to be reported back to the user; this also
applies when duplicating a channel with ares_dup().

However, if init_by_resolv_conf() fails with a different error than
ARES_ENOMEM (typically ARES_EFILE), the previous behaviour of
overwriting and forgetting about that earlier failure is still OK.

So restore the previous status-overwriting behaviour, but only if
there is no pending ENOMEM error.

Fixes issue 60.

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

Jobs
ID Job ID Ran Files Coverage
3 219.3 (BUILD_TYPE=coverage) 31 Jul 2016 02:51PM UTC 0
0.0
Travis Job 219.3
Source Files on build 219
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #219
  • 431e10cb on github
  • Prev Build on master (#218)
  • Next Build on master (#220)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc