Always the same ecpg bug - please (re)apply patch 
Author Message
 Always the same ecpg bug - please (re)apply patch

Your patch has been added to the PostgreSQL unapplied patches list at:


I will try to apply it within the next 48 hours.



> Here is the description:

> When a macro is replaced by the preprocessor, pgc.l reaches a end of file, which is not the actual end of the file. One side effect of that is that if you are in a ifdef block, you get a wrong error telling you that a endif is missing.

> This patch corrects pgc.l and also adds a test of this problem to test1.pgc. To convince you apply the patch to test1.pgc first then try to compile the test then apply the patch to pgc.l.

> The patch moves the test of the scope of an ifdef block to the end of the file beeing parsed, including all includes files, ... .

> For the record, this patch was applied a first time by bruce then overwritten by Micheal and reapplied by him. But the big mystery is that there is no trace of that in CVS ????

> Nicolas

[ Attachment, skipping... ]

  Bruce Momjian                        |   http://www.***.com/

  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?


Mon, 20 Sep 2004 14:37:54 GMT
 [ 1 post ] 

 Relevant Pages 

1. Additional fixes to ecpg - please apply patch

2. ecpg bug and patch

3. Please, apply patch

4. Please, apply patch for contrib/tsearch

5. please apply patch - build on Unixware with GCC

6. Please, apply patch for 7.3.1 and current CVS

7. Please, apply another patch to contrib/ltree

8. please apply patch to CVS ( 7.3 and 7.4dev)

9. please apply patch to current CVS

10. Please, apply patch for ltree

11. please apply patch - build on Unixware with GCC

12. Please apply patch

Powered by phpBB® Forum Software