fix end-of-buffer error in tccpp.c
commit2e04fa8872f38aea4eb96fd3424c3d6762b5262d
authorPhilip <pipcet@gmail.com>
Thu, 30 Apr 2015 19:07:44 +0000 (30 19:07 +0000)
committerPhilip <pipcet@gmail.com>
Thu, 30 Apr 2015 19:27:43 +0000 (30 19:27 +0000)
treebf59bda2e9f117ea65a7fed7fdc87947f9ddc488
parent4126056fbe62dfc7897b0b2c52abf9fdfbfbffda
fix end-of-buffer error in tccpp.c

Quick fix for
http://lists.nongnu.org/archive/html/tinycc-devel/2015-04/msg00160.html.

I don't fully understand the intended semantics of when file->buf_ptr[0]
is valid, but the rest of the code doesn't have any obvious spots with
the same bug.

Feel free to revert this if I'm mistaken or we need to discuss this
change further.
tccpp.c