<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle">
    <title>gmane.comp.version-control.coccinelle</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3137"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3136"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3135"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3134"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3133"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3132"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3129"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3128"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3127"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3126"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3125"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3124"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3123"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3122"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3121"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3120"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3119"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3118"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3117"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3116"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3137">
    <title>Re: isomorphism with unlikely</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3137</link>
    <description>&lt;pre&gt;
But for some reason it does not. With --verbose-match I can see that it
generates the correct isomorphisms (both for the case that r is a pointer or
that r is an integer), but for some reason they don't seem to match.

The testcase is simple:

cocci file:

&amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
expression *r;
statement S;
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
*if(!r) S

c file:

int foo(struct resource *r)
{
if (r == NULL)
return 0;
return 1;
}

- Lars
&lt;/pre&gt;</description>
    <dc:creator>Lars-Peter Clausen</dc:creator>
    <dc:date>2013-05-20T19:13:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3136">
    <title>Re: isomorphism with unlikely</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3136</link>
    <description>&lt;pre&gt;

It should work if r has pointer type.  Otherwise, if r is not a pointer, 
then !r should become r == 0.

julia
&lt;/pre&gt;</description>
    <dc:creator>Julia Lawall</dc:creator>
    <dc:date>2013-05-20T18:51:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3135">
    <title>Re: isomorphism with unlikely</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3135</link>
    <description>&lt;pre&gt;
No, just unlikley(r == NULL) also matches !r (and unlikely(!r)). This should
also work for unlikely(!r) matching unlikely(r == NULL) but for some reason
it doesn't. I just did a quick test and it looks as if even 'if(!r) ..."
doesn't match 'if(r == NULL) ...' either.

- Lars
&lt;/pre&gt;</description>
    <dc:creator>Lars-Peter Clausen</dc:creator>
    <dc:date>2013-05-20T18:26:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3134">
    <title>Re: isomorphism with unlikely</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3134</link>
    <description>&lt;pre&gt;

Okay, but I would then still need 'unlikely(!r)' and 'unlikely(r ==
NULL)' because the !r isomorphisms won't apply. I'd like to have both :)


True, thanks! Slowly getting back to it...

&lt;/pre&gt;</description>
    <dc:creator>Wolfram Sang</dc:creator>
    <dc:date>2013-05-20T18:24:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3133">
    <title>Re: isomorphism with unlikely</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3133</link>
    <description>&lt;pre&gt;
There is already an isomorphism for unlikely. But it is in one direction
only, so 'unlikely(E)' in your cocci script will also match 'E', but 'E'
wont match 'unlikely(E)'.

So in your case the script could be reduced to:


Btw. if you use 'statement S;' and 'if(...) S' instead of '{ ... }' you'll
also be able to match if there is only a single statement without brackets
after the if.

- Lars
&lt;/pre&gt;</description>
    <dc:creator>Lars-Peter Clausen</dc:creator>
    <dc:date>2013-05-20T17:47:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3132">
    <title>isomorphism with unlikely</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3132</link>
    <description>&lt;pre&gt;Hi,

using 1.0-rc16 from debian, I use the following semantic patch:

&amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
expression r, p, n;
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
r = platform_get_resource(p, IORESOURCE_MEM, n);
...
(
-if (!r) { ... }
|
-if (unlikely(!r)) { ... }
|
-if (unlikely(r == NULL)) { ... }
)

and running against the latest kernel tree (~3.10-rc1):

spatch --sp-file unlikely_iso.cocci ~/Kernel/linux/drivers/net/ethernet/renesas/sh_eth.c

gives me a match:

-if (unlikely(res == NULL)) {
...

Note that I have two alternations with 'unlikely' because using '!r'
alone will not give me a match. I guess the isomorphism is skipped for
some reason when used as an argument of unlikely. If so, is it possible
to enforce it somehow? Or would it be even better to make 'unlikely' an
isomorphism itself, so that the semantic patch doesn't need to know
anything about 'unlikely'?

Thanks,

   Wolfram

&lt;/pre&gt;</description>
    <dc:creator>Wolfram Sang</dc:creator>
    <dc:date>2013-05-20T17:34:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3129">
    <title>Re: 1.0.0-rc17: Further fine-tuning for the build system?</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3129</link>
    <description>&lt;pre&gt;

Which build system do you use for this software in Fedora?
http://pkgs.fedoraproject.org/cgit/coccinelle.git/

Regards,
Markus
&lt;/pre&gt;</description>
    <dc:creator>SF Markus Elfring</dc:creator>
    <dc:date>2013-04-29T09:52:58</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3128">
    <title>Re: Coccinelle question</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3128</link>
    <description>&lt;pre&gt;

Specific points are that it follows the control-flow graph, via the ...
operator, it lets you match against metavariables that accumulate
properties from other matches, so you can make generic specifications, and
it is (mostly) aware of type information.


Only somewhat.  Within a given rule, links to where C variables are bound
are taken into account.  But when a metavariable is inherited from one
rule to the next, all of this information is dropped.  This is in part
because Coccinelle supports transformation as well as matching, and you
could transform the variable declaration itself.  For example, you could
decide that you don't like variables being declared in the branches of an
if statement, and move the declarations up to top level.  The same
variables are still attached to the same binder, but by the way Coccinelle
is constructed (added code is not really interpreted) it would be hard to
detect this.

This may seem like a bug, but in practice, at least on Linux code, it can
be more of a feature.  Li&lt;/pre&gt;</description>
    <dc:creator>Julia Lawall</dc:creator>
    <dc:date>2013-04-29T02:52:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3127">
    <title>Coccinelle question</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3127</link>
    <description>&lt;pre&gt;Hello,

last night i saw your website and projects from google search im really
interested in what Coccinelle doing as i understand its kind of open source
c parser library that follow in source code for variables and trace all
source and headers for it,Right?

now i have some questions:
Are you take care of Variable Scopes when you are searching the source code?

Thanks
&lt;/pre&gt;</description>
    <dc:creator>Majid Java</dc:creator>
    <dc:date>2013-04-24T10:03:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3126">
    <title>Re: junk output</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3126</link>
    <description>&lt;pre&gt;

Sorry about that.  I'm glad that the problem is already fixed :)

julia
&lt;/pre&gt;</description>
    <dc:creator>Julia Lawall</dc:creator>
    <dc:date>2013-04-26T14:45:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3125">
    <title>Re: junk output</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3125</link>
    <description>&lt;pre&gt;
Oh, many thanks Richard for looking at this so quickly and creating a
bug!

&lt;/pre&gt;</description>
    <dc:creator>Artem Bityutskiy</dc:creator>
    <dc:date>2013-04-26T14:04:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3124">
    <title>Re: junk output</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3124</link>
    <description>&lt;pre&gt;
I don't know why it happens, but updating to -rc17 fixes it,
so I'll get an update in soon.

Rich.

&lt;/pre&gt;</description>
    <dc:creator>Richard W.M. Jones</dc:creator>
    <dc:date>2013-04-26T14:07:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3123">
    <title>junk output</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3123</link>
    <description>&lt;pre&gt;Hi Julia, Richard,

not sure if this was already reported, but the latest Fedora 18
coccinelle produces a lot of junk. Just an example using the linux
kernel scripts:

$ spatch -sp_file ./scripts/coccinelle/free/clk_put.cocci drivers/gpio/gpio-sch.c

init_defs_builtins: /usr/share/coccinelle/standard.h
HANDLING: drivers/gpio/gpio-sch.c
No matches found for clk_get clk_put
Skipping:drivers/gpio/gpio-sch.c
left
left
left
left
left
left
left
right
right
right
right
right
right
left
left
left
left
left
left
left
left
left
left

Notice these lefts and rights.

$ rpm -q coccinelle 
coccinelle-1.0.0-0.rc14.6.fc18.x86_64

Any suggestions?

Thanks!

&lt;/pre&gt;</description>
    <dc:creator>Artem Bityutskiy</dc:creator>
    <dc:date>2013-04-26T13:52:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3122">
    <title>Re: junk output</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3122</link>
    <description>&lt;pre&gt;[...]

I can confirm this happens.  I have filed a bug:

https://bugzilla.redhat.com/show_bug.cgi?id=957169

Rich.

&lt;/pre&gt;</description>
    <dc:creator>Richard W.M. Jones</dc:creator>
    <dc:date>2013-04-26T13:57:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3121">
    <title>Re: 1.0.0-rc16: Further fine-tuning for the build system?</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3121</link>
    <description>&lt;pre&gt;

That is a pity. But I thank you very much for this feedback.



It seems that it is hard to find more software developers and reviewers 
who dare to fiddle with the build setup here.

Regards,
Markus
&lt;/pre&gt;</description>
    <dc:creator>SF Markus Elfring</dc:creator>
    <dc:date>2013-04-26T11:28:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3120">
    <title>Re: 1.0.0-rc16: Further fine-tuning for the build system?</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3120</link>
    <description>&lt;pre&gt;Hello Markus,

I'm following this topic since your first message. I'm sure it is not
your intention, but to me, your tone is not friendly. You are adding
little and complaining a lot. I can see your frustration, but I have
the impression that you do not care about how people feel about your
E-mails. The problem is that when you want something and you are not
friendly, people will not want to help you. By the tone in your
E-mails, I do not want to help you.

The people involved, including Julia, are busy, and they know exactly
what the project goals are. So if something is going wrong with your
patches / requests, your first reaction should be always to understand
why it is going wrong. Your current approach will not get you very far
and you will not be happy with the results.

Coccinelle is a great project, and I can ensure you that all patches
that add to Coccinelle will be seriously considered to be applied.
This means that Julia and other people will consider the pros and cons
of the patch and decide if i&lt;/pre&gt;</description>
    <dc:creator>Peter Senna Tschudin</dc:creator>
    <dc:date>2013-04-26T11:03:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3119">
    <title>Re: 1.0.0-rc16: Further fine-tuning for the build system?</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3119</link>
    <description>&lt;pre&gt;

My point of view regarding the build system is that, on the one hand, at
the moment, I don't have any local resources with expertise in build
systems and on the other hand the build setup is extremely critical.
So I am not currently willing to make changes without an actual need from
a user.  An actual need would be a case where it is impossible to build
Coccinelle in any way on a given machine.  It is not a case where eg out
of tree builds don't work or parallel builds don't work.  In those cases,
one can easily avoid the problem by building in another way.

If several people want to work on and validate any solution that adds some
such inessential functionality, then I might consider integrating the
change.  But I don't have the expertise to evaluate such patches myself,
so I won't integrate such patches if they have only been tested by the
submitter.

This doesn't apply to ML patches.  I have received several patches adding
support for various strange C extensions, and I have no problem with
integrating&lt;/pre&gt;</description>
    <dc:creator>Julia Lawall</dc:creator>
    <dc:date>2013-04-26T10:25:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3118">
    <title>Re: 1.0.0-rc16: Further fine-tuning for the build system?</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3118</link>
    <description>&lt;pre&gt;

If Julia will show more willingness to handle patches for the build 
system, I am going also to invest more efforts into concrete fixes.



I do not want that, too. But other software developers might have got a 
higher reputation so that their update suggestions or source code review 
advices get easier accepted than change requests from me.

Regards,
Markus
&lt;/pre&gt;</description>
    <dc:creator>SF Markus Elfring</dc:creator>
    <dc:date>2013-04-26T10:15:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3117">
    <title>Re: 1.0.0-rc16: Further fine-tuning for the build system?</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3117</link>
    <description>&lt;pre&gt;
If you'd read what I linked to:

http://people.redhat.com/rjones/how-to-supply-code-to-open-source-projects/

then you'd see how to proceed.  It's NOT by badgering Coccinelle
upstream and trying to get other people to argue your case for you.

Rich.

&lt;/pre&gt;</description>
    <dc:creator>Richard W.M. Jones</dc:creator>
    <dc:date>2013-04-26T09:52:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3116">
    <title>Re: 1.0.0-rc16: Further fine-tuning for the build system?</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3116</link>
    <description>&lt;pre&gt;

I will not provide long explanations and concrete patches if I get clear 
responses from the project leader that she does not want to decide on 
them so far.
When will any pull request become acceptable from an other Git repository?

Regards,
Markus
&lt;/pre&gt;</description>
    <dc:creator>SF Markus Elfring</dc:creator>
    <dc:date>2013-04-26T09:36:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3115">
    <title>Re: 1.0.0-rc16: Further fine-tuning for the build system?</title>
    <link>http://permalink.gmane.org/gmane.comp.version-control.coccinelle/3115</link>
    <description>&lt;pre&gt;

I am trying to find more software developers and packagers who know the 
Autotools good enough. I hope that corresponding updates can be reviewed 
in a constructive way then.



Are you used to conditions which should be considered for the topic 
"out-of-source builds / parallel build trees"?

I pointed out some open issues to make the build configuration 
consistent again.
https://systeme.lip6.fr/pipermail/cocci/2013-March/000220.html
http://article.gmane.org/gmane.comp.version-control.coccinelle/3054



I got responses from Julia that she is not in the mood for the 
integration of fixes for the current build setup so far.

Regards,
Markus
&lt;/pre&gt;</description>
    <dc:creator>SF Markus Elfring</dc:creator>
    <dc:date>2013-04-26T09:10:45</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.version-control.coccinelle">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.version-control.coccinelle</link>
  </textinput>
</rdf:RDF>
