Larry Rosenman <ler@lerctr.org> writes:
>> Where does it leave the "ptr" pointing to?
> $ ./test3
> ptr=8049682, points to N
> ptr=8049686, points to f
Indeed, they found an original new way to get it wrong. Please point
out to them that the ptr is supposed to be advanced *past* the input.
Not to the last character of the input.
regards, tom lane