From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Michael Meskes <meskes(at)postgresql(dot)org> |
Cc: | pgsql-committers(at)postgresql(dot)org |
Subject: | Re: pgsql: Added files containing changes between gram.y and preproc.y. |
Date: | 2008-11-14 12:16:20 |
Message-ID: | 20081114121620.GB3830@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Michael Meskes wrote:
> ecpg.header (r1.1)
> (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/preproc/ecpg.header?rev=1.1&content-type=text/x-cvsweb-markup)
I stumbled upon this
+ case ET_FATAL:
+ if (yyin)
+ fclose(yyin);
+ if (yyout)
+ fclose(yyout);
+ if (unlink(output_filename) != 0 && *output_filename != '-')
+ fprintf(stderr, _("could not remove output file \"%s\"\n"), output_filename);
and wondered if this works when you have an output file named
"-foobar.c" or something like that ...
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Meskes | 2008-11-14 13:04:39 | Re: pgsql: Added files containing changes between gram.y and preproc.y. |
Previous Message | Heikki Linnakangas | 2008-11-14 11:09:50 | pgsql: Fix oversight in previous error-reporting patch; mustn't pfree |