From: eugen@debian.org (Eugeniy Meshcheryakov)
To: cocci@systeme.lip6.fr
Subject: [Cocci] [PATCH] Support for systems without [gs]etitimer API
Date: Thu, 2 Jan 2014 21:36:45 +0100 [thread overview]
Message-ID: <20140102203645.GA26767@localhost.localdomain> (raw)
Hi,
After enabling the testsuite execution when building Debian packages I
noticed that the testsuite fails on Debian/Hurd. Every testcase was
failing with Unix_error exception, because while Hurd has getitimer
function, it just returns ENOSYS error there.
The attached patch detects whether the system has working getitimer
function, and if not, makes coccinelle use alarm() API instead.
With this patch coccinelle builds fine on all Debian architectures with
386 successful test cases (expected: 377).
Regards,
Eugeniy Meshcheryakov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: detect-itimer.diff
Type: text/x-diff
Size: 369 bytes
Desc: not available
URL: <https://systeme.lip6.fr/pipermail/cocci/attachments/20140102/a1b7f518/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://systeme.lip6.fr/pipermail/cocci/attachments/20140102/a1b7f518/attachment.asc>
next reply other threads:[~2014-01-02 20:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-02 20:36 Eugeniy Meshcheryakov [this message]
2014-01-02 21:25 ` [Cocci] [PATCH] Support for systems without [gs]etitimer API Julia Lawall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140102203645.GA26767@localhost.localdomain \
--to=eugen@debian.org \
--cc=cocci@systeme.lip6.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.