Skip to content

Commit 90c3ebe

Browse files
committed
Fix HAVE_OPTRESET to be HAVE_INT_OPTRESET. Typos spotted by Lorne Sunley.
1 parent 77ab476 commit 90c3ebe

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

contrib/pg_dumplo/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* -------------------------------------------------------------------------
22
* pg_dumplo
33
*
4-
* $PostgreSQL: pgsql/contrib/pg_dumplo/main.c,v 1.20 2004/10/25 02:15:00 tgl Exp $
4+
* $PostgreSQL: pgsql/contrib/pg_dumplo/main.c,v 1.21 2004/11/27 18:51:04 tgl Exp $
55
*
66
* Karel Zak 1999-2000
77
* -------------------------------------------------------------------------
@@ -23,7 +23,7 @@
2323

2424
#include "getopt_long.h"
2525

26-
#ifndef HAVE_OPTRESET
26+
#ifndef HAVE_INT_OPTRESET
2727
int optreset;
2828
#endif
2929

src/bin/initdb/initdb.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* Portions Copyright (c) 1994, Regents of the University of California
4040
* Portions taken from FreeBSD.
4141
*
42-
* $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.67 2004/11/14 23:36:53 tgl Exp $
42+
* $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.68 2004/11/27 18:51:05 tgl Exp $
4343
*
4444
*-------------------------------------------------------------------------
4545
*/
@@ -60,7 +60,7 @@
6060
#include "mb/pg_wchar.h"
6161
#include "getopt_long.h"
6262

63-
#ifndef HAVE_OPTRESET
63+
#ifndef HAVE_INT_OPTRESET
6464
int optreset;
6565
#endif
6666

src/bin/pg_ctl/pg_ctl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
66
*
7-
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.47 2004/11/17 17:46:12 tgl Exp $
7+
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.48 2004/11/27 18:51:05 tgl Exp $
88
*
99
*-------------------------------------------------------------------------
1010
*/
@@ -28,7 +28,7 @@
2828
#undef WIN32
2929
#endif
3030

31-
#ifndef HAVE_OPTRESET
31+
#ifndef HAVE_INT_OPTRESET
3232
int optreset;
3333
#endif
3434

src/bin/pg_dump/pg_dump.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* by PostgreSQL
1313
*
1414
* IDENTIFICATION
15-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.392 2004/11/06 19:36:02 tgl Exp $
15+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.393 2004/11/27 18:51:06 tgl Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -40,7 +40,7 @@
4040

4141
#include "getopt_long.h"
4242

43-
#ifndef HAVE_OPTRESET
43+
#ifndef HAVE_INT_OPTRESET
4444
int optreset;
4545
#endif
4646

src/bin/pg_dump/pg_dumpall.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1994, Regents of the University of California
77
*
88
*
9-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.54 2004/10/16 03:10:15 momjian Exp $
9+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.55 2004/11/27 18:51:06 tgl Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -25,7 +25,7 @@
2525

2626
#include "getopt_long.h"
2727

28-
#ifndef HAVE_OPTRESET
28+
#ifndef HAVE_INT_OPTRESET
2929
int optreset;
3030
#endif
3131

src/bin/pg_dump/pg_restore.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*
3535
*
3636
* IDENTIFICATION
37-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_restore.c,v 1.66 2004/11/11 17:06:46 momjian Exp $
37+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_restore.c,v 1.67 2004/11/27 18:51:06 tgl Exp $
3838
*
3939
*-------------------------------------------------------------------------
4040
*/
@@ -57,7 +57,7 @@
5757

5858
#include "getopt_long.h"
5959

60-
#ifndef HAVE_OPTRESET
60+
#ifndef HAVE_INT_OPTRESET
6161
int optreset;
6262
#endif
6363

src/bin/psql/startup.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.105 2004/11/01 19:21:50 momjian Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.106 2004/11/27 18:51:07 tgl Exp $
77
*/
88
#include "postgres_fe.h"
99

@@ -18,7 +18,7 @@
1818

1919
#include "getopt_long.h"
2020

21-
#ifndef HAVE_OPTRESET
21+
#ifndef HAVE_INT_OPTRESET
2222
int optreset;
2323
#endif
2424

src/bin/scripts/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include "pqexpbuffer.h"
55
#include "getopt_long.h"
66

7-
#ifndef HAVE_OPTRESET
7+
#ifndef HAVE_INT_OPTRESET
88
int optreset;
99
#endif
1010

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy