Problem compiling guc-file.l in current CVS sources.

Started by Billy G. Allieover 25 years ago2 messages
#1Billy G. Allie
Bill.Allie@mug.org

The definition for "ProcessConfigFile()" in guc-file.l does not match the
prototype in guc.h. The following patch corrects that.

--------------------------8< CUT HERE >8--------------------------------
*** src/backend/utils/misc/guc-file.l.orig	Wed May 31 16:46:43 2000
--- src/backend/utils/misc/guc-file.l	Wed May 31 16:47:08 2000
***************
*** 124,130 ****
   * values will be changed.
   */
  void
! ProcessConfigFile(unsigned int context)
  {
  	int token, parse_state;
  	char *opt_name, *opt_value;
--- 124,130 ----
   * values will be changed.
   */
  void
! ProcessConfigFile(GucContext context)
  {
  	int token, parse_state;
  	char *opt_name, *opt_value;
--------------------------8< CUT HERE >8--------------------------------
#2Bruce Momjian
pgman@candle.pha.pa.us
In reply to: Billy G. Allie (#1)
Re: Problem compiling guc-file.l in current CVS sources.

Applied.

The definition for "ProcessConfigFile()" in guc-file.l does not match the
prototype in guc.h. The following patch corrects that.

--------------------------8< CUT HERE >8--------------------------------
*** src/backend/utils/misc/guc-file.l.orig	Wed May 31 16:46:43 2000
--- src/backend/utils/misc/guc-file.l	Wed May 31 16:47:08 2000
***************
*** 124,130 ****
* values will be changed.
*/
void
! ProcessConfigFile(unsigned int context)
{
int token, parse_state;
char *opt_name, *opt_value;
--- 124,130 ----
* values will be changed.
*/
void
! ProcessConfigFile(GucContext context)
{
int token, parse_state;
char *opt_name, *opt_value;
--------------------------8< CUT HERE >8--------------------------------
-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026