Skip to content

Commit d6e33c8

Browse files
committed
Rename MAP_FILE to USERMAP_FILE for Digital Unix.
1 parent d489fdf commit d6e33c8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/backend/libpq/hba.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* wherein you authenticate a user by seeing what IP address the system
66
* says he comes from and possibly using ident).
77
*
8-
* $Id: hba.c,v 1.41 1999/05/09 00:54:30 tgl Exp $
8+
* $Id: hba.c,v 1.42 1999/05/10 15:17:16 momjian Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -785,9 +785,9 @@ verify_against_usermap(const char *pguser,
785785
int bufsize;
786786

787787
/* put together the full pathname to the map file */
788-
bufsize = (strlen(DataDir) + strlen(MAP_FILE) + 2) * sizeof(char);
788+
bufsize = (strlen(DataDir) + strlen(USERMAP_FILE) + 2) * sizeof(char);
789789
map_file = (char *) palloc(bufsize);
790-
snprintf(map_file, bufsize, "%s/%s", DataDir, MAP_FILE);
790+
snprintf(map_file, bufsize, "%s/%s", DataDir, USERMAP_FILE);
791791

792792
#ifndef __CYGWIN32__
793793
file = AllocateFile(map_file, "r");

src/include/libpq/hba.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Interface to hba.c
55
*
66
*
7-
* $Id: hba.h,v 1.12 1999/02/13 23:21:35 momjian Exp $
7+
* $Id: hba.h,v 1.13 1999/05/10 15:17:17 momjian Exp $
88
*
99
*-------------------------------------------------------------------------
1010
*/
@@ -19,7 +19,7 @@
1919
#define CONF_FILE "pg_hba.conf"
2020
/* Name of the config file */
2121

22-
#define MAP_FILE "pg_ident.conf"
22+
#define USERMAP_FILE "pg_ident.conf"
2323
/* Name of the usermap file */
2424

2525
#define OLD_CONF_FILE "pg_hba"

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