* [Cocci] [PATCH] Support for systems without [gs]etitimer API
@ 2014-01-02 20:36 Eugeniy Meshcheryakov
2014-01-02 21:25 ` Julia Lawall
0 siblings, 1 reply; 2+ messages in thread
From: Eugeniy Meshcheryakov @ 2014-01-02 20:36 UTC (permalink / raw)
To: cocci
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Cocci] [PATCH] Support for systems without [gs]etitimer API
2014-01-02 20:36 [Cocci] [PATCH] Support for systems without [gs]etitimer API Eugeniy Meshcheryakov
@ 2014-01-02 21:25 ` Julia Lawall
0 siblings, 0 replies; 2+ messages in thread
From: Julia Lawall @ 2014-01-02 21:25 UTC (permalink / raw)
To: cocci
On Thu, 2 Jan 2014, Eugeniy Meshcheryakov wrote:
> 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).
Applied. Thanks!
julia
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-02 21:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-02 20:36 [Cocci] [PATCH] Support for systems without [gs]etitimer API Eugeniy Meshcheryakov
2014-01-02 21:25 ` Julia Lawall
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.