All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cocci] What is the spatch file for this change and the corresponding spatch command line invocation
@ 2014-12-03 17:29 Francois Berenger
  2014-12-03 17:34 ` Luis R. Rodriguez
  2014-12-03 18:13 ` Julia Lawall
  0 siblings, 2 replies; 13+ messages in thread
From: Francois Berenger @ 2014-12-03 17:29 UTC (permalink / raw)
  To: cocci

Hello,

I give up trying to write the spatch myself:

Before file:
---
int i;

for ( ; ; ++i ) {
   if (1) {
     continue;
   }
}
---

After file:
---
int i;

for ( ; ; ) {
   if (1) {
     ++i;
     continue;
   }
   ++i;
}
---

All my trials don't work, not any change in the file appears
if I try --in-place and -o fails because
"-o can not be applied because there are no modified files"

Thanks a lot,
Francois.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-12-04 17:31 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-03 17:29 [Cocci] What is the spatch file for this change and the corresponding spatch command line invocation Francois Berenger
2014-12-03 17:34 ` Luis R. Rodriguez
2014-12-04 12:49   ` Francois Berenger
2014-12-04 12:56     ` Julia Lawall
2014-12-04 13:00       ` Francois Berenger
2014-12-04 17:31         ` Luis R. Rodriguez
2014-12-04 14:31       ` Francois Berenger
2014-12-03 18:13 ` Julia Lawall
2014-12-04 10:17   ` Francois Berenger
2014-12-04 10:29     ` Julia Lawall
2014-12-04 10:40       ` Francois Berenger
2014-12-04 11:00         ` Francois Berenger
2014-12-04 11:22         ` 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.