Re: pgsql: Added files containing changes between gram.y and preproc.y.

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pgsql: Added files containing changes between gram.y and preproc.y.
Дата
Msg-id 20081114121620.GB3830@alvh.no-ip.org
обсуждение исходный текст
Ответ на pgsql: Added files containing changes between gram.y and preproc.y.  (meskes@postgresql.org (Michael Meskes))
Ответы Re: pgsql: Added files containing changes between gram.y and preproc.y.  (Michael Meskes <meskes@postgresql.org>)
Список 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

В списке pgsql-committers по дате отправления:

Предыдущее
От: heikki@postgresql.org (Heikki Linnakangas)
Дата:
Сообщение: pgsql: Fix oversight in previous error-reporting patch; mustn't pfree
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: pgsql: Added files containing changes between gram.y and preproc.y.