From 4032ef18d06aa7a3db515926ddebe8af04e533fe Mon Sep 17 00:00:00 2001 From: Michael Meskes Date: Thu, 22 Dec 2016 08:28:13 +0100 Subject: Fix buffer overflow on particularly named files and clarify documentation about output file naming. Patch by Tsunakawa, Takayuki --- doc/src/sgml/ref/ecpg-ref.sgml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/ecpg-ref.sgml b/doc/src/sgml/ref/ecpg-ref.sgml index 029bd4a4d22..8bfb47c4d79 100644 --- a/doc/src/sgml/ref/ecpg-ref.sgml +++ b/doc/src/sgml/ref/ecpg-ref.sgml @@ -42,11 +42,9 @@ PostgreSQL documentation ecpg will convert each input file given on the command line to the corresponding C output file. Input files - preferably have the extension .pgc, in which - case the extension will be replaced by .c to - determine the output file name. If the extension of the input file - is not .pgc, then the output file name is - computed by appending .c to the full file name. + preferably have the extension .pgc. + The extension will be replaced by .c to + determine the output file name. The output file name can also be overridden using the option. -- cgit v1.2.3