On Fri, 14 Oct 2016, SF Markus Elfring wrote:

> > But that should be fine for detecting eg if a string has only one character.
>
> Did you come along similar change possibilities at other places already?
>
> http://lxr.free-electrons.com/source/include/linux/seq_file.h?v=4.8#L114
>
> ╔══════════════════╤════════════════╤════════════════╗
> ║ update candidate │ 1. replacement │ 2. replacement ║
> ╠══════════════════╪════════════════╪════════════════╣
> ║ seq_printf       │ seq_puts       │ seq_putc       ║
> ╚══════════════════╧════════════════╧════════════════╝
>
>
> Would it make sense to consider any more source code search patterns here?

I'm not familiar with the details of this issue.

julia
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to