OSDN Git Service

Change addlit() to not assume its input is null-terminated, so that we
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 7 Sep 2001 23:17:14 +0000 (23:17 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 7 Sep 2001 23:17:14 +0000 (23:17 +0000)
commit09e99a10827e4300daf733a57748405e22e51181
tree79fe70365b8a4c6ed2151e603825668e045a0919
parentb6385efb7907e1aefe65a699bb1fcc115d98ee23
Change addlit() to not assume its input is null-terminated, so that we
don't have more bugs like the quote-quote-quote-quote one.  Propagate
fix into ecpg lexer, too.
src/backend/parser/scan.l
src/interfaces/ecpg/preproc/pgc.l