More SEEK_* usage
That coccinelle script works better without the semicolons (duh): @rule0@ expression A,B; @@ - lseek(A, B, 0) + lseek(A, B, SEEK_SET) @rule1@ expression A,B; @@ - lseek(A, B, 1) + lseek(A, B, SEEK_CUR) @rule2@ expression A,B; @@ - lseek(A, B, 2) + lseek(A, B, SEEK_END)
Loading
Please register or sign in to comment