> 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? Regards, Markus _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
